[whatwg] PaceEntryMediatype

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