Re: Microdata to RDFa

Very cool! Taking into account proposed @property/@typeof changes to RDFa, it might require even fewer markup changes.

Gregg

On Nov 9, 2011, at 8:08 AM, Toby Inkster wrote:

> Sent this earlier, but it didn't arrive...
> 
>> I've updated my Microdata to RDFa tool...
>> 
>> http://buzzword.org.uk/2010/md2rdfa/
>> 
>> Note that this is not the same sort of idea as tools like any23. It
>> tries to convert Microdata to RDFa using pure DOM manipulation, not by
>> generating a graph and then outputting that as RDFa.
>> 
>> There are probably still some improvements that can be made. For
>> example, it repeatedly sets @about and @xmlns attributes that could be
>> inferred from nesting. Right now it only outputs RDFa 1.0 - if some
>> features from RDFa 1.1 were employed, the output might be made more
>> concise.
>> 
>> Converting itemprops into predicate URIs, it's currently using my
>> heuristic algorithm.
> 
> -- 
> Toby A Inkster
> <mailto:mail@tobyinkster.co.uk>
> <http://tobyinkster.co.uk>
> 
> 

Received on Wednesday, 9 November 2011 16:57:07 UTC