Re: Microdata: itemid attribute (feedback)

On Tue, 27 Oct 2009, 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

On Tue, 27 Oct 2009, Martin McEvoy wrote:
>
> 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.

Yeah, fair enough. Done.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 27 October 2009 20:21:38 UTC