Your site has an RSS feed, right? If so you’ll have some form of link to the feed on your page. But you can go one step further with auto-discovery.

Adding a RSS feed auto-discovery to your web site is essentially a usability feature. It allows modern browsers capable of RSS auto discovery such as Firefox or Safari, and the next version of Internet Explorer, to display a nice RSS icon RSS. Your visitors can then click on the icon to subscribe to the site’s RSS feed within the browsers.

In addition, various RSS tools such as RSS:Forward, can use the auto-discovery feature of your site to easily find the URL of your feed.

Does my site have auto-discovery enabled?

The easiest way to see if your site already has auto-discovery enables is to surf to your home page using a suitable browser. Depending on the specific version of the browser, you will see an icon in either the status bar or location bar similar to what you see below.

How to enable auto-discovery

All you need to do is add the following line of code to the <head> section of your page or template.

<link rel="alternate" type="application/rss+xml"
title="YOUR_RSS_FEED_TITLE_HERE"
href="YOUR_RSS_FEED_URL_HERE" />

  • Obviously replace the portion of the above code to include your own feed title and URL.
  • If the RSS your web site publishes is in a different format, you will need to change the type as well. For example, ATOM feeds’ type should be set to type="application/atom+xml"
  • Lastly if you publish multiple feeds, you can just add as many link tags as needed.

And you’re done. Now load your web site in Firefox or Safari and you should see a RSS feed icon in the address bar like this:

Addressbar

Action plan

If you are your own webmaster, plan to add this snippet of code to your site as soon as possible. Otherwise, send a link to this article to your webmaster requesting that he or she adds auto-discovery to your site.