LWN.net Logo

RDFa exists in regular HTML as well

RDFa exists in regular HTML as well

Posted Apr 21, 2011 17:46 UTC (Thu) by Simetrical (guest, #53439)
Parent article: Drupal Government Days: Drupal and the semantic web

Nitpick:

"The other way to publish RDF is to embed it in XHTML, in the form of RDFa. This W3C recommendation specifies a set of attributes that can be used to carry metadata in an XHTML document. In essence, RDFa maps RDF triples to XHTML attributes."

RDFa can be output in HTML 4 and 5, not just XHTML. The relevant standard is here:

http://dev.w3.org/html5/rdfa/

A competing standard for outputting semantic info in HTML is microdata:

http://dev.w3.org/html5/md/

It's newer and has a lot less buy-in than RDFa, but its proponents consider it a lot simpler.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds