W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > March 2007

RDFa hCard Experiment

From: Ian Davis <iand@internetalchemy.org>
Date: Fri, 16 Mar 2007 14:31:42 +0000
Message-ID: <45FAAA4E.6000803@internetalchemy.org>
To: public-rdf-in-xhtml-tf@w3.org

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/
Received on Friday, 16 March 2007 14:31:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:15:03 GMT