Refinance now before rates go up! Get multiple rate quotes at GetMyLender.com.

Simple Way of Building And Using Really Simple Syndication (RSS) Feed Part-II

Simple Way of Building And Using Really Simple Syndication (RSS) Feed Part-I

Vocabulary

  • Feed. It is a set of "item" tags, a set of infos or news.
  • RDF. RDF stands for Resource Description Framework.
  • Syndicated. Published through an RSS feed.
  • Syndication. Publishing data by RSS feeds.

Main RSS tags

rss. The global container.
channel. A distributing channel. It has several descriptive tags and holds one or several items.
<rss version="2.0"> <channel> ... </channel> </rss>

Required tags for the channel

  • title. The title of the channel. Should contains the name.
  • link. URL of the website that provides this channel.
  • description. Summary of what the provider is.
  • one item tag at least, for the content.
<rss version="2.0"> <channel> <title>ShivajiSoft</title> <link>http://www.shivajisoft.com</link> <description></description> <item> ... </item> </channel> </rss>

Optional tags for the channel

  • language. The human language used for the text.
  • docs. Where to find the doc for the format of the file, may be Harvard.
  • webMaster. E-mail.
  • pubDate. Publishing date.
  • etc. See in the specification for more.

Items of the channel

Each item tag must hold these tags:

  • title. Title of the article.
  • link. The URL of the page.
  • description. Summary of the article.
<item> <title>ShivajiSoft History</title> <link>http://www.shivajisoft.com/history.html</link> <description>... some text...</description> </item>

And some optional info for this article

  • pubDate. Publishing date.
  • guid. A string of character that is unique to designate this item.
  • category. The category of the article.
  • etc.

Click here to learn basic building blocks of RSS as well as overall structure of RSS file..


Conclusion :

I hope that this article would have helped you to learn about RSS, its usage and simple way to publish that for websites. Your feedback and constructive contributions are always welcome.


No comments:

Post a Comment