Thanks for the comments. There is also another option at http://martin.atkins.me.uk/specs/atommedia
It is a simple problem - an Atom entry could be routed between several different device types. It would be a problem if a handset attempted to play an HD video, but there is no way to know the media format. If the media format was part of the link, the end device would immediately know if it could decode the media. Brett -----Original Message----- From: Dmitri Popov [mailto:[email protected]] Sent: Thursday, December 10, 2009 7:05 AM To: Lindsley Brett-ABL001 Cc: atom-syntax Syntax Subject: Re: Media Attributes For Links On Tue, 2009-12-08 at 10:51 -0500, Lindsley Brett-ABL001 wrote: > This is an old topic - was there any closure on adding additional > media attributes to links? > For example, a link to an image may want to specify its length/height. > An MD5 would also be useful. Are there any recommended practices? I've adopted Media RSS (http://video.search.yahoo.com/mrss) - using XML::Atom::Ext::Media perl module. It works for me, but I don't serve Atom to users yet and using it for internal communication only, so any sane approach would work for me - I don't worry too much if it standard or not yet. Media information is included into Entry element, but yes, I embed this info in links. Using In-lining extension for Atom which is RFC draft. http://tools.ietf.org/html/draft-mehta-atom-inline-01 so I've got something like <link> <ae:inline xmlns:ae="http://purl.org/atom/ext/"> <entry> <media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="640" width="400"/> </entry> </ae:inline> </link> Here is XML::Atom extension I've made for In-lining support: http://github.com/pin/xml-atom-ext-inline/blob/master/lib/XML/Atom/Ext/I nline.pm Sorry for so perlish point of view. And I'm not sure if it relevant for you, but hope this helps... -- Dmitri Popov
