I want to create rss feeds for my website. Can any one plz guide me how does it work and how it can be implemented.
There are two steps:
- Create the RSS feed itself. This is a specially formatted XML file. You can either create this by hand with a text-editor, or use software that will create it for you.
- Add a link to the RSS feed in the
headsection of the website. The format for this is:
<link rel="alternate" type="application/rss+xml" title="Site Updates" href="path/to/rss.xml">
for Doug's #1 above, assuming you use MySQL & PHP for your website, it's pretty simple. I found a good copy-paste site yesterday here: http://www.plus2net.com/php_tutorial/php_rss2.php and then created a special "feed" table that's written to whenever we update certain parts of our website; then a function runs to query the feed table and write the XML file.
and then #2 gets that RSS icon in your browser's address bar.
hope that helps.