If you were to create a company directory (one corporate entity per URL) from scratch and wanted to use structured data, would you use hCard or RDFa (v:organization)?
hCard is a flat data format, so isn't easily extensible, but on the plus side it seems well understood by Google. On the other hand, Google gives only a few examples of different v:organization properties on their organizations markup page: http://www.google.com/support/webmasters/bin/answer.py?answer=146861 Though W3C provides mapping between the two: http://www.w3.org/Submission/vcard-rdf/
So for a web directory resource, should I use hCard, RDFa, both, or something else?
asked 09 May '11, 17:12
I would choose RDFa. Consider the adoption of RDFa by the mega-corps via Google Rich Snippets, Yahoo Search Monkey and Facebook Open Graph Protocol. RDFa's adoption is really evident in this blog ( http://tripletalk.wordpress.com/2011/01/25/rdfa-deployment-across-the-web/ )
answered 09 May '11, 17:27
RDFa is far better if achievable. However since I think its better we are honest, a couple of points for consideration:
1, Quote RDFa primer:
They are working to get it into HTML5 so hopefully you won't have to break one standard to achieve another.
2, If you are concerned solely about Google's instruction/implementation/scewed view of the web, then you'll probably note that they are only concerned about literal values. They also consider RDFa as annotation for fragments of HTML, not as a way of publishing RDF. Their guidelines therefore state that RDFa should not be embedded in hidden HTML. Sometimes this might be difficult or not possible meaning that you may skimp on publishing full, complete or better quality data, which defeats the point of using a superior solution to microformats. In such circumstance one solution would be to use both. i.e hCard in visible fragments of HTML, RDFa in hidden fragements.