1
votes

I wanted to know how RSS/ATOM Feeds work. Do the feed readers connect regularly to websites to fetch data or do the websites send data to the feed reader. Also how can i include a feed reader in my website. How would it work on the server side any rough idea would be appreciated..

2

2 Answers

2
votes

RSS is an XML format. Feed readers regularly connect to the address of the RSS feed and parse that XML file. I assume you are thinking about Google Reader, which uses AJAX to poll the RSS feed and see if there are any updates.

There are already many existing RSS frameworks for Java, including Rome.

0
votes

Check this website - http://www.whatisrss.com/ it explains most of your questions. This website will explain you how to put rss feed on your website - http://webdesign.about.com/od/rss/a/rss_whats_new.htm. There is a wide range of feed readers, if you want one for your website it would depend what technology you are most familiar with. Then you can either look for one in this technology or try to code on your own. Examples - http://www.labnol.org/internet/tools/embed-rss-feeds-add-html-websites-javascript/2515/, http://www.zazar.net/developers/jquery/zrssfeed/

Hope it helps.