PDA

View Full Version : RSS feed fields description


quincyy
12-03-2014, 07:40 PM
Hi, I'm looking for details on the RSS feed template tags in VB4. I searched the forums and the manual for VB4 but I didn't see it specifically address the definition of these, only as a list of allowable tags.

{feed:description} - provides description/summary provided by RSS feed provider
{feed:content:link} - ?
{feed:content:id} - ?
{feed:content:date} - date of feed or content?
{feed:content:enclosure_href} - ?
{feed:content:encoded} - provides description/summary provided by RSS feed provider

Thanks for your help.

kh99
12-03-2014, 08:30 PM
I believe those refer to tags and attributes in the rss feed xml, which is described here: http://validator.w3.org/feed/docs/rss2.html

Also, looking at the vbulletin code that reads an rss feed, id is the same as guid (which is just a string that's unique to that item), date is the same as pubDate (the date it was published), and enclosure:href is the url attribute of the enclosure tag.

There's also a couple others you didn't list above, title and author. Actually, I think you may be able to use feed:tag or feed:tag:attribute to access the value of any tag or attribute from the rss feed xml.

I hope this makes sense - I'm not an expert on the subject, I'm piecing it together by looking at the rss spec and the vb code.

quincyy
12-03-2014, 09:05 PM
awesome! thanks for the quick reply and the reference to visit.