How to have IE7 detect your RSS feed

Published on Feb 22, 2007   //  Development
Off

RSS ButtonIf you are using IE7 then you have may have noticed that some sites you visit that the icon like the picture to the right lights up. This means that IE7 has detected an RSS feed on the site. If it has detected that RSS feed you can then subscribe to the feed.

So lets say you have a blog with an RSS feed or you just made your own . Now you want to let people know it is there. To have IE7 detect it you need to add a bit of code into your header. That code looks like this:

<link rel=”alternate” type=”application/rss+xml” title=”BlueFur.com – Blog” href=”http://feeds.feedburner.com/Bluefurcom?format=xml” mce_href=”http://feeds.feedburner.com/Bluefurcom?format=xml”>

This will make your RSS button in IE7 light up. You can also add multiple RSS feeds to your page if you have more then one by adding the same code above but by changing the title and href.

I suggest that if you have a blog that is an extension of your main site that you add this code to your main page to increase the number of RSS readers to your blog.