[whatwg] PaceEntryMediatype

Ian Hickson ian at hixie.ch
Thu Dec 7 14:31:25 PST 2006

On Thu, 7 Dec 2006, Alexey Feldgendler wrote:
>>>    <!DOCTYPE HTML>
>>>    <title>Feeds for this site</title>
>>>    <link rel=feed href=status.xml>
>>>    <link rel=feed href=news.xml>
>>>    <link rel=feed href=links.xml>
>>>    <p>This page links to the three feeds for this site.
>> status.xml is just a resource that provides a syndication feed. It is not
>> necessarily associated with a particular Web page.
> If there is no particular relation, then it should not be <link>. The 
> <link> element is for resources which are in specific typical relations 
> to the current document.

This is not how <link> is defined in HTML5.

> I would mark it up like this:
> <h1>Feeds for this site</h1>
> <ul>
>    <li><a href="status.xml" type="application/atom+xml">Status feed</a></li>
>    <li><a href="news.xml" type="application/atom+xml">News feed</a></li>
>    <li><a href="links.xml" type="application/atom+xml">Links feed</a></li>
> </ul>
> Note the absence of rel attribute on the <a>: there is no specific 
> typical relation between the current document and the referenced 
> resources.

Then the browser wouldn't take these links and make them available in a 
"list of feeds" interface, which is the problem we are trying to solve.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list