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

[whatwg] PaceEntryMediatype

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 1 Dec 2006 20:30:42 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0612012028280.4460@dhalsim.dreamhost.com>
On Fri, 1 Dec 2006, James M Snell wrote:
> You're right that the differentiation in the content-type is of less 
> importance but without it there's no way for me to unambiguously 
> indicate that a resource has both an Atom Feed representation and an 
> Atom Entry representation.

Assuming that an "atom feed" is a feed, and an "atom entry" is an 
alternative format representation of the same document:

   <link rel=feed href=feed.xml>
   <link rel=alternate href=entry.xml>

...does what you are asking for according to HTML5, as does:

   <link rel=alternate href=feed.xml type=application/atom+xml>
   <link rel=alternate href=entry.xml>

If an "entry" is something more special (e.g. if it is actually an edit 
interface), then register a new rel="" value for it, e.g. rel=edit:

   <link rel=feed href=feed.xml>
   <link rel=edit href=entry.xml>

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 1 December 2006 12:30:42 UTC

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