RSS/Atom autodiscovery
6/06/2005 07:05:00 AM, posted by anandHow does your RSS/Atom aggregator or even the Firefox browser recognize that a particular site supports RSS or Atom feeds? They use the autodiscovery mechanism that is present in the page itself. The combination of rel="alternate" and type="application/rss+xml" in a <link> defines this as a link to an RSS file. The <link> tag (as shown below) in the <head> section of the html page, the page/site declares that it also has an RSS/Atom feed option.
Sample autodiscovery link for RSS
<link rel="alternate" type="application/rss+xml" title="RSS" href="url/to/rss/file">
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://feeds.feedburner.com/simplesecurity">
Sample autodiscovery link for ATOM
<link rel="alternate" type="application/atom+xml" title="Notes on tech" href="http://www.ypjain.com/anand/atom.xml">
Rajesh Jain's emergic.org support XML feeds
<link rel="alternate" type="text/xml" title="XML" href="http://www.emergic.org//index.rdf">
I am adding RSS autodiscovery to my FooBar Search Alerts so had to do a bit of research and thought that I could share with others.
« Home