Re: microdata feedback

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 UTC