W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2006

[whatwg] Rel alternate, stylesheet and feed

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 29 Nov 2006 15:42:14 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0611291537140.8094@dhalsim.dreamhost.com>
On Wed, 29 Nov 2006, Lachlan Hunt wrote:
>
> The spec defines special handling for rel="alternate stylesheet", but 
> also defines that "alternate" with type="application/atom+xml" or 
> type="application/rss+xml" implies the "feed" relationship.  Does this 
> represent an alternate stylesheet, a syndication feed or both?

If "alternate" and "stylesheet" are both specified, the "alternate" 
keyword doesn't imply "feed", because "the rest of this subsection doesn't 
apply" if it says both. So "feed" isn't implied.

In the case of "alternate stylesheet feed", the <link> element creates a 
hyperlink link (for feed) and an external resource link (for "stylesheet" 
and "alternate"). The feed would "the feed for the current document", 
though, since both "feed" and "alternate" are included.


> <link rel="alternate stylesheet" type="application/atom+xml" href="/feed"
> title="Blog Entries">
> 
> Firefox 2 and IE7 recognised it as a feed.  Opera 9 and and Safari 2 didn't.
> 
> (Though it should be noted that Opera and Safari have trouble with any 
> other value specified with alternate, not just stylesheet).

We could change this... it just seems bad, given how many pages use both 
those keywords together (even if few also have the type).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 29 November 2006 07:42:14 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:50 UTC