Posted By admin on August 1, 2010
RDFa is a proposal for embedding RDF metadata directly into an XHTML page via special tags and attributes. It is quite similar to microformats with the difference that it brings all the complexity of RDF on board.
Here’s a quick example taken from RDFa Primer:
<h2 property="dc:title">The trouble with Bob</h2>
Similar to other SW technologies there are not too many applied examples of how RDFa can be actually useful. However, a notable and recent interesting case of Facebook Opengraph shows that it can be done, The Facebook way of using RDFa is to accompany the “Like” button with metadata that describes page content. Later when somebody presses the button Facebook can pull the metadata and categorize the content.
In case of GI2MO our first experiment involves a simple task to post GI2MO metadata for ideas described in blog posts. The concept is to have a simple plugin for WordPress that adds a button to post editor and allows to insert a special tag wrapping selected content. Later, during page display, the tag should be switched for RDFa metadata with the content inside being gi2mo:conent and add some other useful details (like creation date, title, author, etc.).
Examples ? Take a look at source code for the current post – you will find plenty
Practical use ? Apart of yet another way to publish idea metadata – non. Well, at least for now… because we have few ideas crawling in our heads so stay tuned for more news!
ps. In case this post made you interested in RDFa and embeddable metadata. You can check out plugins for web browsers that detect such data and allow to view them in detail. Eg. RDF Detective for Chrome or Semantic Radar for Firefox.