List Info

Thread: marking up a rel-enclosure length




marking up a rel-enclosure length
user name
2008-05-11 10:30:00
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://mic
roformats.org/wiki/rel-enclosure

Many thanks in advance


Martin McEvoy

_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

Re: marking up a rel-enclosure length
user name
2008-05-11 10:45:36
I think some work was done a while back here [1] but it
didn't really
go anywhere. Obliquely, [2] may also by of interest.

Regards, etc...
David

[1] 
http://microformats.org/wiki/media-metadata-examples
[2] http://oembed.com/

On Sun, May 11, 2008 at 11:30 AM, Martin McEvoy <infoweborganics.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://mic
roformats.org/wiki/rel-enclosure
>
> Many thanks in advance
>
>
> Martin McEvoy
>
> _______________________________________________
> microformats-discuss mailing list
> microformats-discussmicroformats.org
> http://microformats.org/mailman/listinfo/microforma
ts-discuss
>



-- 
David Janes
Founder, BlogMatrix
http://www.blogmatrix.com
http://www.onaswarm.com
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

Re: marking up a rel-enclosure length
user name
2008-05-12 17:14:45
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
<infoweborganics.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://mic
roformats.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] htt
p://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-discussmicroformats.org
> http://microformats.org/mailman/listinfo/microforma
ts-discuss

_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )