[uf-discuss] marking up a rel-enclosure length

Martin McEvoy info at weborganics.co.uk
Mon May 12 14:50:09 PDT 2008


Hello Charles

On Mon, 2008-05-12 at 14:21 -0700, 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)?

Normally this would be ok, but I am trying to do this by just using
xhtml, xslt and GRDDL so it would require that class="length" (as in the
length of the stream in bytes) or something like be marked up explicitly
in the source xhtml document.

Thanks.

Martin
> 



More information about the microformats-discuss mailing list