How to create RSS feed, Syntax

by Vinoth 2009-08-04 18:37:55


Hi,
RSS - Really Simple Syndication
RSS feeds are useful for frequently updated web sites like news, site changes, business sites.
It is an easy way to send news.
Simple three steps will be used to create RSS Feeds:
Step 1:

The bellow code is an example for creating RSS feed:

< ?xml version="1.0" encoding="ISO-8859-1" ? > < !-- XML Decleration-->
< rss version="2.0" > < !-- RSS Feed Decleration-->
< channel > < !-- data will pass through chanel-->
< title > Hiox- Scrap < /title >
< link > http://www.hiox.org < /link >
< description > Online knowledge Sharing media < /description >
< category > News < /category > < !-- optional field-->
< item >
< title > Politics News < /title >
< link > hyper link to the item < /link >
< pubDate > Tue, 04 Aug 2009 06:01:08 GMT < /pubDate >
< description > this item1 < /description >
< category > News- Politics < /category > < !-- optional field-- >
< /item >
< item >
< title > Sports News < /title >
< link > hyper link to the item < /link >
< pubDate > Tue, 04 Aug 2009 06:01:08 GMT < /pubDate >
< description > this item 2 < /description >
< category > News- Sports < /category> < !-- optional field-->
< /item >
< !-- and so on-->
< /channel >
< /rss >


Step 2:

Publish in to your website

Step 3:

Validate you RSS code.
Commonly used RSS validator http://www.feedvalidator.org/

Tagged in:

1872
like
0
dislike
0
mail
flag

You must LOGIN to add comments