Getting the RSS icon to show up in Firefox’s address bar

March 25th, 2008 at 09:24

I don’t use firefox, so I never really paid attention to that RSS hint that it gives you, but one of my readers mentioned that it would be way easier to find the feed for my site if I provided the right hints for firefox to pick up the feed. For those of you who don’t know what I’m talking about, see this screenshot. Google didn’t really provide much information, but I did manage to find some help from sponge and floffle on IRC.

You can use some code like this:

This is described in more detail by w3c’s link tag hints.

Also, IE7 is capable of picking up this hint, although it handles it slightly differently; it has a RSS icon in the toolbar instead of the address bar (which I suppose makes more sense to me), which can be seen in this screenshot. See a screenshot here. Epiphany handles it differently again, displaying the feed icon in the status bar, along with the padlock which indicates whether encryption is on. This makes the most sense to me, but I suppose I’m biased. Finally, here’s a screenshot of Epiphany’s handling of the RSS hint, this time provided by me.

Finally I’d like to thank Sang from nerdvana for their article “What is RSS?”, which is where I got the screenshots of IE7 and Firefox.