[uf-discuss] using rel to point to remote meta-data resource for a url identified resource

Scott Reynen scott at randomchaos.com
Wed Dec 17 06:41:47 PST 2008


On [Dec 17], at [ Dec 17] 4:09 , adrian skardhamar wrote:

> <img src="http://someurl/photo_of_cow.jpg" rel="http://someurl/meta_data_about_photo_of_cow 
> ">
>
> what is actually held at http://someurl/meta_data_about_photo_of_cow  
> is still up for debate.


If you want to keep this link hidden from people and just use it as a  
signal to parsers (e.g. because your metadata is marked up in RDF/ 
XML), RDFa is probably your best bet.  But if you're making it open to  
people, you can do this with existing microformats, e.g.:

<div class="figure">
	<img class="image" src="http://someurl/photo_of_cow.jpg" alt="a cow" />
	<p class="legend"><a href="http://someurl/ 
meta_data_about_photo_of_cow" rel="help">more about this image</a></p>
</div>

See:

http://microformats.org/wiki/figure
http://microformats.org/wiki/existing-rel-values
http://www.w3.org/TR/html4/types.html#h-6.12

Peace,
Scott



More information about the microformats-discuss mailing list