AW: new itemscope or not?

So this one would be forbidden, because it has two itemids:

<div itemscope itemtype ="http://schema.org/Book"
itemid="http://dbpedia.org/resource/Hamlet urn:isbn:0-330-34032-8">
       <span itemprop="name">Hamlet</span>
</div>

Schema.org's "url" is a property of "Thing", i.e. everything can have one or
several urls. I understand its semantics as "URL where you can get a
document about this entity." So it is something different from an itemid.
Using the Hamlet example:

<div itemscope itemtype ="http://schema.org/Book"
itemid="http://dbpedia.org/resource/Hamlet">
   <a href="http://en.wikipedia.org/wiki/Hamlet" itemprop="url">Wikipedia
Page about Hamlet</a>
   <a
href="http://en.wikisource.org/wiki/The_Tragedy_of_Hamlet,_Prince_of_Denmark
" itemprop="url">The full text of Hamlet</a>
</div>

with:

Hamlet, the play:
http://dbpedia.org/resource/Hamlet
documents with info on Hamlet:   http://en.wikipedia.org/wiki/Hamlet
 
http://en.wikisource.org/wiki/The_Tragedy_of_Hamlet,_Prince_of_Denmark

-----Ursprüngliche Nachricht-----
Von: Jeni Tennison [mailto:jeni@jenitennison.com] 
Gesendet: Freitag, 7. September 2012 21:16
An: Ed Summers
Cc: Dawson, Laura; Thad Guidry; public-vocabs@w3.org
Betreff: Re: new itemscope or not?


On 7 Sep 2012, at 20:03, Ed Summers wrote:
> It would be interesting to know if the HTML spec allowed multiple 
> identifiers, similar to how other HTML attributes work:


"The itemid attribute, if specified, must have a value that is a valid URL
potentially surrounded by spaces."

http://www.w3.org/TR/microdata/#attr-itemid

So that would be 'no', not according to spec.

I've often wondered whether the schema.org 'url' property is meant to be
synonymous with itemid. I'm not sure what happens in schema.org interpreters
when you specify one/other/both/multiple urls...

Jeni
--
Jeni Tennison
http://www.jenitennison.com

Received on Saturday, 8 September 2012 01:30:16 UTC