RSS and Atom feeds autodiscovery code

Posted on August 5, 2005 in Feed ReaderRSSAtom

I’ve now got all the RSS feeds working for my site.

You can subscribe to any of the following RSS feeds for this site:

Just an interesting tip. In order for browsers and feed readers to detect that you have RSS feeds available for subscription, you need to add some auto-discovery code to the header section of your web page. Here’s an example of what I added to the header section for this site:

<link rel=“alternate” type=“application/rss+xml” title=“RSS 1.0” href=”http://www.richardbyrom.com/index.php/weblog/rss_1.0” />
<link rel=“alternate” type=“application/rss+xml” title=“RSS 2.0” href=”http://www.richardbyrom.com/index.php/weblog/rss_2.0” />
<link rel=“alternate” type=“application/atom+xml” title=“Atom” href=”http://www.richardbyrom.com/index.php/weblog/rss_atom” />
<link rel=“alternate” type=“application/atom+xml” title=“del.icio.us for RichardByrom” href=”http://del.icio.us/rss/richardbyrom” />

A browser like Firefox will automatically discover your RSS feeds and display an orange icon on the bottom right of the screen to show you what feeds are available to subscribe to. If you read your feeds in bloglines (as I do), they have a useful extension for Firefox called Livelines which allows you to add a feed to bloglines using the Firefox RSS icon.

Microsoft’s Internet Explorer does not auto-detect RSS feeds but I understand this will be coming in IE7 as outlined on the IEBlog. Feeddemon, from version 1.6 shows a large orange RSS icon at the bottom right of the screen for web sites that have RSS autodiscovery support.


AddThis Social Bookmark Button · Email this article

Comments:

No comments yet.

Post a Comment:

Template by Sitelounge | Privacy

[XHTML 1.0] [CSS]