The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
RSS {feed:content} problem
Hi guys,
I would like to add a new RSS Feed onto my board but I have a problem. First of all, this is my feed : http://eu.battle.net/wow/fr/feed/news My RSS Feed doesn't have any tag like this : {feed:content:encoded} or {feed:description} I have only these tags : {feed:content} and {feed:title} and others but I don't care. My question is how can I replace content by content:encoded or content by description ? Thank you all for your help. KR Camille |
#2
|
|||
|
|||
I'm not sure what you're asking - is that link you posted a link to your site, or is it a site that you want to get the feed from?
You are asking about {feed:content:encoded} and {feed:description}, those are tags you use when you add a feed in the "RSS Feed Manager", so you can use whichever tags you need. (Probably I don't understand the question). |
#3
|
|||
|
|||
Yes, you don't understand the question
I would like to add this RSS Feed : http://eu.battle.net/wow/fr/feed/news I would like to catch every titles and content for every articles in this feed. If you look forward in this link you'll see this arborescence : HTML Code:
<?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr-fr"> <author> <name></name> </author> <title></title> <id></id> <updated></updated> <entry> <title></title> <published></published> <updated></updated> <id></id> <summary></summary> <content></content> </entry> </feed> HTML Code:
<entry> <title></title> <content></content> </entry> In title model field I put : {feed:title} => It works ! But when I add {feed:content} in body model field => Doesn't work ! More info here : http://i.imgur.com/nDnpJ.jpg The problem might by the attribute because Vbulletin allows only these followings :
You see, in my RSS Feed I have {feed:content} but not {feed:content:encoded}. How can I force vB to use {feed:content} instead of {feed:content:encoded} ? Thank you |
#4
|
|||
|
|||
Ok, I think I see the problem but I don't know what to do about it. It seems that if a feed is going to contain some html (of a forum article, for instance), then there are two basic ways it can be in the feed - as CDATA, in which case it's just a string to the xml parser, or else it can be part of the xml document, since html tags can be parsed like xml (I guess this is called xhtml). This second way is what's in your feed as the <content>, but I don't think the vbulletin feed reader can handle that option (or if it can, there's something about your feed that isn't working right). The result is that the value of feed:content is a big array containing the html data, and the rss poster doesn't know how to display that.
Sorry, I know this isn't very helpful. I might have more time to look for a solution later, if no one else comes up with anything. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|