[uf-new] Media Microformat

Toby A Inkster mail at tobyinkster.co.uk
Mon Nov 10 02:37:34 PST 2008


> I would like to inform you that the Media Examples Anyalisis has at 
> last
> been completed please see http://microformats.org/wiki/media-info- 
> examples.
> The full results and discovered schema for a Media Microformat is
> available here:
> http://microformats.org/wiki/media-info-brainstorming#Schema.

It strikes me that it's missing guidance on how to mark up thumbnails 
for images.
The "obvious" way would seem to be:
	<div class="hmedia">
	 <a class="full.jpeg" rel="enclosure" class="photo">
	 <img class="thumbnail" src="thumb.jpeg" alt="whatever">
	 </a>
	</div>
But, as class="photo" is used to provide a graphical preview for 
video and audio files, it seems that a better way would be to use 
class="photo" for the thumbnail and rel="enclosure" (but not 
class="photo") for the full sized image:
	<div class="hmedia">
	 <a class="full.jpeg" rel="enclosure">
	 <img class="photo" src="thumb.jpeg" alt="whatever">
	 </a>
	</div>
Though that is not immediately obvious, so I think it would benefit 
from explicit mention in any spec.
-- 
Toby A Inkster
<mailto:mail at tobyinkster.co.uk>
<http://tobyinkster.co.uk>


More information about the microformats-new mailing list

AltStyle によって変換されたページ (->オリジナル) /