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

Re: Microdata: itemid attribute (feedback)

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 27 Oct 2009 18:53:38 +0000 (UTC)
To: Martin McEvoy <martin@weborganics.co.uk>
Cc: Jonas Sicking <jonas@sicking.cc>, John Giannandrea <jg@metaweb.com>, public-html@w3.org
Message-ID: <Pine.LNX.4.62.0910271850160.25616@hixie.dreamhostps.com>
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

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:45:01 UTC