Re: Microdata: itemid attribute (feedback)

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 UTC