[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: The type attribute and HTTP content negotiation.
I think both types should be advertised, but I'm not sure HTTP conneg can
help much here as (if I understand correctly) it's the content type within
the feed that changes.
Putting both types of content inline in a single feed sounds a bit clunky.
Autodiscovery needs to be richer? e.g.
<link rel="alternate text/html" type="application/atom+xml"
href="http://example.com/atom.xml" />
<link rel="alternate application/xhtml+xml" type="application/atom+xml"
href="http://example.com/atom.xml" />
Cheers,
Danny.
> -----Original Message-----
> From: owner-atom-syntax@xxxxxxxxxxxx
> [mailto:owner-atom-syntax@xxxxxxxxxxxx]On Behalf Of Dare Obasanjo
> Sent: 30 December 2003 02:39
> To: atom-syntax@xxxxxxx
> Subject: The type attribute and HTTP content negotiation.
>
>
>
> How does ATOM deal with the following issue originally
> posted at http://www.dionidium.com/2003/12/atom-03
>
> "One particular change to Atom has left us perplexed.
> Previously, Atom <link> tags contained only a
> resource's address, with no attributes, like this:
>
> <link>http://www.example.com/</link>
>
> The new format requires the type attribute, which
> lists the target document's media type, like this:
>
> <link rel="alternate" type="text/html"
> href="http://www.example.com/"/>
>
> As regular readers know, we're serving our documents
> as 'application/xhtml+xml' to browsers that support it
> and 'text/html' to those that don't. There's no way to
> tell from our Atom feed which media type your browser
> will get. As a result, we're not sure which media type
> to use in our feed's <link> tags (or if it even
> matters). Let us know what you think.".
>
>
> =====
> THINGS TO DO IF I BECOME AN EVIL OVERLORD #95
> My dungeon will have its own qualified medical staff complete
> with bodyguards. That way if a prisoner becomes sick and his
> cellmate tells the guard it's an emergency, the guard will fetch
> a trauma team instead of opening up the cell for a look.
>
> __________________________________
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing.
> http://photos.yahoo.com/