Re: Suggestion for Microdata to RDF conversion

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 UTC