Nikolas 'Atrus' Coukouma wrote:
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 intent of the head element is to indicate a feed that serves as a substitute for the page you're currently viewing.

This other case is locating all feeds linked to from a page. For that,
the type attribute should be sufficient to indicate that you're linking
to a feed.

No, a hyperlink with a rel attribute means the same as a link element. The HTML spec describes the rel attribute on the a element thus:


This attribute describes the relationship from the current document to the anchor specified by the href attribute. The value of this attribute is a space-separated list of link types.

--
Sjoerd Visscher
http://w3future.com/weblog/



Reply via email to