Re: What You Can't Do with HTML5 Microdata

With the addition of one more attribute, the RDFa photo example could generate one more triple:

<img src="photo1.jpg" typeof="foaf:Image"
  rel="license" resource="http://creativecommons.org/licenses/by/2.0/"
  property="dc:creator" content="Mark Birbeck" />

Which results in:

  <photo1.jpg> a foaf:Image .
  <photo1.jpg> xhv:license <http://creativecommons.org/licenses/by/2.0/> .
  <photo1.jpg> dc:creator "Mark Birbeck" .

Three distinct facts from one element.

Reply

The content of this field is kept private and will not be shown publicly.