Wer sich viel mit Microformats beschäftigt, ist sicher schon öfters über den Begriff RDFa gestolpert. Die Idee, (X)HTML semantischer zu machen, ist bei beiden Formaten gleich, der Unterschied liegt hauptsächlich in der Syntax.
Während Microformats ausschließlich auf HTML 4.01 bzw. XHTML 1.0 validen Tags und Attributen basiert:
<div class="vcard">
<span class="fn">Max Mustermann</span>
<a class="email" href="mailto:max.mustermann@example.org">
max.mustermann@example.org
</a>
</div>
Beispiel hCard
…basiert RDFa auf dem klassischen RDF und mit XHTML 2.0 neu eingeführten Attributen wie z.B. property und about:
<body xmlns:contact="http://www.w3.org/2001/vcard-rdf/3.0#">
<span property="contact:fn">Max Mustermann</span>
<a rel="contact:email" href="mailto:max.mustermann@example.org">
max.mustermann@example.org
</a>
</body>
Eine gute Einführung in das Thema RDFa bietet das Video von Manu Sporny:
Rein Technisch gesehen ist RDFa, durch die Nutzung von Namespaces und die bessere Skalierbarkeit durch URIs, definitiv der bessere Standard. Ich denke trotzdem nicht dass RDFa die Microformats in näherer Zukunft ablösen wird, da RDFa nur unter XHTML 2.0 möglich ist und (meines Wissens) im Konkurrenz-Format (X)HTML 5.0 nicht angedacht wird. Es ist deshalb notwendig beide Formate weiter voranzutreiben und so weit wie möglich auf einem einheitlichen Standard, wie z.B. der vCard im oben beschriebenen Beispiel, aufzubauen. Während der Übergangsphase ist es so relativ einfach mit GRDDL zwischen den beiden Formaten zu transformieren.
In seinem Artikel “RDFa vs microformats” beschreibt Evan Prodromou die für ihn notwendigen Schritte für die Zukunft von RDFa:
- RDFa gets acknowledged and embraced by microformats.org as the future of semantic-data-in-XHTML
- The RDFa group makes an effort to encompass existing microformats with a minimum of changes
- microformats.org leaders join in on the RDFa authorship process
- microformats.org becomes a focus for developing real-world RDFa vocabularies
Mal schauen wie es wirklich kommt und was sich in Zukunft durchsetzen wird…
Wer sich für das Thema interessiert, kann ja mal Semantic Radar für Firefox ausprobieren. Semantic Radar macht (ähnlich wie Operator für Microformats) RDF und RDFa Inhalte in Webseiten sichtbar.






“OpenID ist ein dezentrales System zur Identifizierung” (



Writing Blog-Comments using an hCard
I wrote a small Plugin that allows your users to easily fill out the comment forms of your WordPress Blog using an hCard. I got this Idea from SignUp pages like bragster.com or getsatisfaction.com.
After the installation, you get a small (import hCard) link behind your URL field in the comment form (if not, use
<?php hcard_commenting_link() ?>).If you want to write a comment using this festure, you simply have to fill out the “Website” field with an URL to one of your hCards and to klick the “import hCard” link.
…and thats it.
To try out this plugin, you can use my comment form.
One of the next steps would be some kind of avatar feature using the hCard
photo(thanks to Brian Suda for the idea).You can download this version on the WordPress Plugin area: http://wordpress.org/extend/plugins/hcard-commenting/