W3C home > Mailing lists > Public > public-html@w3.org > January 2010

Re: Suggestion for Microdata to RDF conversion

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 28 Jan 2010 01:06:07 +0000 (UTC)
To: Benjamin Nowack <bnowack@semsol.com>
Cc: Philip Jägenstedt <philipj@opera.com>, Tantek Celik <tantek@cs.stanford.edu>, public-html@w3.org
Message-ID: <Pine.LNX.4.64.1001280104200.22027@ps20323.dreamhostps.com>
On Mon, 25 Jan 2010, Benjamin Nowack wrote:
> >
> >How does one identify an RDF class? Is there an RDF class in the below?
> >
> ><div itemscope itemtype="http://microformats.org/profile/hcard">
> >   My name is <span itemprop="fn">Alec Tronnick</span>
> >   <img itemprop="photo" src="mypic.jpg" alt="">
> ></div>
>
> What Tantek said[1]. And you spotted a bug in the current Microdata
> spec: "http://microformats.org/profile/hcard" is not the item*type*
> for a vcard, it's the URI of the whole vocabulary. The itemtype value
> should be "http://microformats.org/profile/hcard#vcard" to be in line
> with the XMDP at "http://microformats.org/profile/hcard".

The URL used by the spec is the one Tantek recommended.

"http://microformats.org/profile/hcard" is already pretty obscenely long. 
Adding "#vcard" on the end really isn't going to help matters.

If "http://microformats.org/profile/hcard" isn't correct, then I'd much 
rather go for something much simpler, e.g. "http://n.whatwg.org/vcard", 
than make it even longer.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 28 January 2010 01:06:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:00 GMT