Mediafed Logo

RSS Auto-discovery code


Browsers such as Firefox and Internet Explorer 7 can detect RSS feeds related to a web page and allow users to subscribe quickly. To achieve this you need to place the following code in the <head> tag of your web pages. As visitors increasingly enter sites through routes other than the home page, it is important to add this code to as many pages as possible to maximise subscriber uptake.

<link rel="alternate" type="application/rss+xml" title="[YOUR RSS FEED TITLE]" href="[URL TO RSS FILE]">

Create an entry for each of your RSS feeds (or a selection of the most popular) e.g.

<link rel="alternate" title="mad.co.uk Breaking News RSS" href="http://rss.mad.co.uk/breakingnews" type="application/rss+xml">
<link rel="alternate" title="Arts Entertainment" href="http://rss.mad.co.uk/artsentertainment" type="application/rss+xml">
<link rel="alternate" title="Consumer Goods" href="http://rss.mad.co.uk/consumergoods" type="application/rss+xml" />
<link rel="alternate" title="Financial Services" href="http://rss.mad.co.uk/financialservices" type="application/rss+xml">
<link rel="alternate" title="Food Drink" href="http://rss.mad.co.uk/fooddrink" type="application/rss+xml">

When users browse to pages with this code the browsers RSS button will illuminate allowing them to select from a list of feeds and subscribe with one click :

Auto Discovery image