Adrian Skardhamar wrote:
<img src="http://someurl/photo_of_cow.jpg"
rel="http://someurl/meta_data_about_photo_of_cow">
Firstly, the rel attribute does not normally hold a URI. Although
placing a target URI in there is syntactically allowed, it is
semantically incorrect - the rel attribute is designed for indicating
the nature of a relationship, not the object of a relationship.
Secondly, the rel attribute is not valid on <img> using the usual
HTML 4 and XHTML 1.x doctypes, nor is it valid in HTML5. The only
published standard (that I'm aware of) that allows rel on <img> is RDFa.
Which brings me to the point that this is re-inventing something that
RDFa can already deal with very easily:
<img src="photo_of_cow.jpeg" rel="meta"
resource="metadata_about_photo_of_cow" />
This is already supported by many existing tools.
--
Toby A Inkster
<mailto:[email protected]>
<http://tobyinkster.co.uk>
_______________________________________________
microformats-discuss mailing list
[email protected]
http://microformats.org/mailman/listinfo/microformats-discuss