Rafael Garc í a Lepper wrote:
I'm using hatom to markup articles which have text and pictures with
different authors (hcard), but I haven't found how to indicate that
one of
them is for pictures. Is there a way to do this?
Three possibilities for you to consider:
1. Mark up the author of the text using hAtom and the pictures using
figure <http://microformats.org/wiki/figure>. You should beware that
figure is still a draft and might change in the future.
2. Use the hCard "role" property to indicate which person did which.
3. Consider RDFa - in RDFa when you say that someone is an author of
something, you also say what they authored. A basic example would be
something like this:
<div id="an-article" xmlns:dc="http://purl.org/dc/terms/">
<p>Blah, blah, blah.</p>
<img src="a-picture.jpeg" alt="...">
<p>Blah, blah, blah.</p>
<span about="#an-article" property="dc:creator">Alice</span>
<span about="a-picture.jpeg" property="dc:creator">Bob</span>
</div>
--
Toby A Inkster
<mailto:[email protected]>
<http://tobyinkster.co.uk>
_______________________________________________
microformats-discuss mailing list
[email protected]
http://microformats.org/mailman/listinfo/microformats-discuss