As an experiment, I took the hCard listed here:

http://microformats.org/wiki/hcard-examples#GEO_parsing

and made it into a well-formed XHTML document:

http://iandavis.com/2007/rdf-in-xhtml/sample-hcard.html

and copied the original vcard:

http://iandavis.com/2007/rdf-in-xhtml/sample.vcf

and hand-converted to the new vcard vocab:

http://iandavis.com/2007/rdf-in-xhtml/sample.ttl

Then I attempted to modify the hCard document to overlay/include RDFa, the results of which are here:

http://iandavis.com/2007/rdf-in-xhtml/sample-hcard-and-rdfa.html

Outcome: I was pleasantly surprised at how few changes I needed to make. I had to do some fiddling with about attributes on the URL and name parts because of the original HTML structure. I think it should work but I'd appreciate it if others could take a look. Also I'm not very sure about the way organisation is expressed, using class, rel and property on the same element.

Lots of positives. A few negatives still though. I'm unhappy with CURIEs in general, the layering of namespace declarations and the XMLLiteral default. I'll address those separately, this message is really about the markup changes needed and the compatibility with existing metadata embedding strategies.


Ian
--
http://purl.org/NET/iand
Blogging at... http://iandavis.com/blog
Working on... http://directory.talis.com/

Reply via email to