[uf-discuss] marking up a rel-enclosure length
Martin McEvoy
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"[1], If not, Is there a best practice? or has
> >> anyone any thoughts on how to do this?
> >>
> >> [1] 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 [1] 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 [1]
[1] http://microformats.org/wiki/file-format-examples
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
New.
Thanks anyway.
Martin
>
> --
> Sylvain Carle
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss
More information about the microformats-discuss
mailing list