How does firefox know what the RSS link for a site is?

1

1

If I go to a site like http://blogs.msdn.com/ashleyf/ with Firefox, it has a little RSS icon on the address bar that you can use to subscribe to the feed. Something like Google Chrome doesn't have that icon. How does Firefox know what to subscribe to? Right now the only way I can subscribe to these sites is to just open them in Firefox, since I use Chrome as my main browser.

user9430

Posted 2009-09-27T22:03:22.657

Reputation: 35

Answers

4

If you click the RSS icon, it offers you two choices (for the page you linked to) which are -not coincidentally- the same as the titles those offered in the <head> of the page:

<link rel="alternate" type="application/rss+xml" title="Code Monkey Have Fun (RSS 2.0)" href="http://blogs.msdn.com/ashleyf/rss.xml"  />
<link rel="alternate" type="application/atom+xml" title="Code Monkey Have Fun (Atom 1.0)" href="http://blogs.msdn.com/ashleyf/atom.xml"  />

I assume then, that Firefox takes note of these <link>s while Chrome does not (or does it in another -less obvious or intuitive- way).

David says reinstate Monica

Posted 2009-09-27T22:03:22.657

Reputation: 342

@Jody, indeed so; but look at the date I wrote that last comment. Nowadays, I use Chromium almost exclusively. :) – David says reinstate Monica – 2011-04-22T14:01:36.947

any clues on how Chrome does do it? would be annoying to view source and copy the link out myself – user9430 – 2009-09-27T22:50:10.660

I actually don't think Chrome supports RSS auto-discovery. – Josh Hunt – 2009-09-28T09:58:38.100

@unknown (yahoo), I haven't got a clue. I'm on 'buntu, so there isn't -as far as I'm aware- yet a version of Chrome available for me to play with (and at work I'm on Win, with IE only -I'm a hobbyist, not a pro). – David says reinstate Monica – 2009-09-28T20:11:36.543

3

Because it is specified in a link tag:

<link rel="alternate" type="application/atom+xml" title="Feed of recent questions" href="/feeds">

The process is called RSS Autodiscovery. More on it here.

John T

Posted 2009-09-27T22:03:22.657

Reputation: 149 037

1

Chrome handle it with an extension: RSS Subscription Extension

I suppose Google wants to keep Chrome minimal and offer extensions to enhance functionality.

Xbello

Posted 2009-09-27T22:03:22.657

Reputation: 11

1

Well, I used fidler, and when I deleted this line -

<link rel="alternate" type="application/atom+xml" title="Feed for question 'How does firefox know what the RSS link for a site is?'" href="/feeds/question/47636">

The button went from this page, so I guess this is what controls it!

William Hilsum

Posted 2009-09-27T22:03:22.657

Reputation: 111 572

See John T's comment. – Nathaniel – 2009-09-27T23:03:02.053

0

If you got to the source for that page, you'll see these lines up near the top:

<link rel="alternate" type="application/rss+xml" title="Code Monkey Have Fun (RSS 2.0)" href="http://blogs.msdn.com/ashleyf/rss.xml"  />
<link rel="alternate" type="application/atom+xml" title="Code Monkey Have Fun (Atom 1.0)" href="http://blogs.msdn.com/ashleyf/atom.xml"  />

The browser picks up on the link type and offers to subscribe you. I'm surprised to hear that Chrome doesn't recognize these. (Perhaps that's platform specific?)

Telemachus

Posted 2009-09-27T22:03:22.657

Reputation: 5 695