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.

  • This question is too general and can easily be Googled. Niels Bom over 8 years ago

3 answers

Doug 1095

There are two steps:

  1. 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.
  2. Add a link to the RSS feed in the head section of the website. The format for this is: <link rel="alternate" type="application/rss+xml" title="Site Updates" href="path/to/rss.xml">

Two example software packages that create RSS feeds are RSS Editor and WordPress.

Answered over 8 years ago by Doug
  • Thanks Doug. I have implemented your solution and i also included a link on the girl with rss icon image in my left sidebar to my xml file. When i click on this link, i am taken to another page with a few text and white background! This doesn't look like the rss. What is wrong? rodney oleshin over 8 years ago
  • Your RSS feed is working fine. It doesn't look like much on its own -- it's just a text file -- but it's used by other programs to notify people of updates, etc. Also, take a look at what the Feed Validator has to say. There are a few errors in your feed, though nothing that should prevent it from working: http://feedvalidator.org/ Doug over 8 years ago
  • I have fixed the errors in my rss file, and its indicated as a Valid RSS feed by http://feedvalidator.org/ However, i think something is still wrong! When i copy the rss link and add to Google reader, i see just some sample text from RSS Editor, instead of my site posts! What is wrong now? rodney oleshin over 8 years ago
  • Thanks for useful information. I would try it. I want to add <a href="http://phpforms.net/tutorial/html-basics/form-builder.html">form builder</a> as a nice site for creating any forms on your web site. salsan about 8 years ago

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.

Answered over 8 years ago by Stephan Hovnanian
salsan 0

Thanks for useful information. I would try it. I want to add form builder as a nice site for creating any forms on your web site

Answered about 8 years ago by salsan