[uf-discuss] marking up a rel-enclosure length
info at weborganics.co.uk
Mon May 12 15:14:45 PDT 2008
On Mon, 2008-05-12 at 17:41 -0400, Sylvain Carle wrote:
> Charles Iliya Krempeaux wrote:
> > Hello Martin,
> > On Sun, May 11, 2008 at 8:30 AM, Martin McEvoy <info at weborganics.co.uk> wrote:
> >> Hello all,
> >> I have been wandering is there any way to mark up the file "length" or
> >> size of a rel="enclosure", If not, Is there a best practice? or has
> >> anyone any thoughts on how to do this?
> >>  http://microformats.org/wiki/rel-enclosure
> > Couldn't you just do an HTTP "HEAD" request on the URL (for the
> > rel-enclosure) to get the size of the file (if you really wanted to
> > know)?
> Maybe, but what if you wanted to "declare" it in your markup?
I do :)
> I know the format is a bit ugly, but MediaRSS  has interesting prior
> art for that, with filesize, bitrate (etc) attributes that could be used
> on an xhtml element (instead of the xml representation done in MediaRSS).
> 1. http://search.yahoo.com/mrss
Yes I looked into Media RSS some time ago, relevant to the discussion on
file format's or hFileFormat 
what I am thinking is maybe something much more simple like
<span class="size" title="3792105">3.6M</span>
Hmm.. looks like this discussion needs to be re-raised on Microformats
> Sylvain Carle
> microformats-discuss mailing list
> microformats-discuss at microformats.org
More information about the microformats-discuss