W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > August 2009

Re: microdata feedback

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 16 Aug 2009 03:20:26 +0000 (UTC)
To: Benjamin Nowack <bnowack@semsol.com>
Cc: public-rdf-in-xhtml-tf@w3.org
Message-ID: <Pine.LNX.4.62.0908160311570.6420@hixie.dreamhostps.com>
On Tue, 11 Aug 2009, Benjamin Nowack wrote:
> 
> The only thing I'm still missing is the ability to have plain literals 
> and also literals with markup. I don't need full datatyping, I just want 
> to efficiently create backups from my published posts, or possibly from 
> other sites, without losing links and formatting.

Interesting. That's the first use case that's really needed this.

We can probably easily add this in a future version using a new attribute 
that says whether the itemprop's value is the text, as now, or the 
child nodes. For example:

   <div itemprop="com.example.content" itempropvalueisxml>...</div>

Alternatively, we could have a decorator on the property name:

   <div itemprop="com.example.content*">...</div>

...or hardcode a particular item value:

   <div itemprop="com.example.content" item="tree">...</div>

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 16 August 2009 03:21:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 16 August 2009 03:21:06 GMT