[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
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/