W3C home > Mailing lists > Public > public-html@w3.org > October 2009

Re: Microdata: itemid attribute (feedback)

From: Martin McEvoy <martin@weborganics.co.uk>
Date: Tue, 27 Oct 2009 10:49:16 +0000
Message-ID: <4AE6D02C.8080803@weborganics.co.uk>
To: Ian Hickson <ian@hixie.ch>
CC: Jonas Sicking <jonas@sicking.cc>, John Giannandrea <jg@metaweb.com>, public-html@w3.org
Hello Ian, all

Martin McEvoy wrote:
>  .... You mentioned in an earlier email that @itemid is similar to 
> @about in RDFa, @about in RDFa also supports relative urls do you 
> think @itemid should too, I feel it would be useful in situations as I 
> described in my first email[1] where @id and @itemid identify the same 
> thing.
>
> [1] http://lists.w3.org/Archives/Public/public-html/2009Oct/0896.html

An after thought I have on why @itemid should allow relative urls is for 
the benefit of reducing fragility under copy and paste if the following 
example does get copied and reproduced somewhere else on the web, it may 
not seem *obvious* to an unsuspecting author to change the value of itemid.

<div id="a"
     itemid="http://organization.com/#a"
     itemscope
     itemtype="http://microformats.org/profile/hcard">
    <a itemprop="url fn org" href="http://organization.com/">
      Example Oranization
    </a>
</div>


@itemid is not visible data is is? imagine an author changing that 
snippet of code in a wysiwyg editor such as Dreamweaver, fragile it 
would seem. Allowing relative urls also would reduce/remove this risk.


Best wishes

-- 
Martin McEvoy

http://weborganics.co.uk/
Add to address book: http://transformr.co.uk/hcard/http://weborganics.co.uk/
Received on Tuesday, 27 October 2009 10:49:43 GMT

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