Sjoerd Visscher wrote:

Why not support hyperlinks too?

So besides:

<link rel="alternate" type="application/atom+xml" title="Main Atom feed" href="/xml/index.atom">

also:

<a rel="alternate" type="application/atom+xml" href="/xml/index.atom">Main Atom feed</a>

Most webpages already have a hyperlink to the feed, so they'd only need to add two attributes. It would be a waste to have to duplicate the information in the document head.

The difference between <link> and <a> is that - <link> applies to the document as a whole: it indicates a relationship between this document and the href destination. - <a> is a contextual link: it indicates a relationship between the linking context and the href destination.

They have different purposes. It is imho perfectly reasonable to limit
autodiscovery to <link>s only. It is also perfectly reasonable to link
to feeds with <a>, and expect that the UA will recognize it as a feed
rather than a generic XML document.

~fantasai



Reply via email to