[microformats-discuss] media/enclosure microformat

Joshua Kinberg jkinberg at gmail.com
Tue Sep 20 01:29:12 PDT 2005

Looked over some of the stuff on the wiki re: media microformats and
also rel-enclosure.

This page has a great comparison:
< http://microformats.org/wiki/media-metadata-examples >

I'd like to get the ball rolling and propose something... noticing the
way most people seem to be using MRSS, there seems to be a simple core
usage that isn't much different than an enclosure as <media:content>
(sometimes multiple with <media:group>) with a thumbnail image
(optional). All other metadata seems to be rarely used at best.

So, with a bent towards simplicity... here's a proposal for a
media/enclosure microformat that gets us most of the way there...
apologies if something like this exists already and I haven't
discovered it yet:

<ul class="enclosure">
<li><a href="http://path/to/file.mov" type="video/quicktime" title="my
awesome movie" rel="enclosure"><img src="http://path/to/thumbnail.jpg"
height="300" width="300" /></a></li>
<li>....multiple enclosures can go here.... </li>

This satisfies most of the basic needs. You can have multiple
enclosures and set a thumbnail image. You can also include titles for
media items and define the mime-type using basic HTML attributes
within the <a> tag.

Other microformat building blocks could be mixed in if you wanted to
get more complex... stuff like relTag for categories, relLicense,
hCard or XFN to credit specifc roles, etc... you could even include
Duration using a method similar to hCalendar, like this:

<abbr class="duration" title="00:27:35">27 minutes, 35 seconds</abbr>

above Duration example is added to comparison table:
< http://microformats.org/wiki/media-metadata-examples#Comparison_Table >

Just fishing for some advice/suggestions... I know this has been
discussed before, and I may be behind the conversation a little.


More information about the microformats-discuss mailing list