On Sep 23, 2011, at 3:24am, Jukka Zitting wrote: > Hi, > > On Fri, Sep 23, 2011 at 2:23 AM, Ken Krugler > <kkrugler_li...@transpac.com> wrote: >> The reason why is that Open Graph uses RDFa > > Instead of mapping the RDFa <meta> tags to Tika's Metadata and then > back to normal XHTML <meta> tags, we might want to consider switching > from plain XHTML to XHTML-with-RDFa as Tika's output format. That > should make it easier to support more descriptive metadata and content > annotations down the line. > > In any case it would still be good to mapRDFa <meta> tags also to the > Metadata object. To do that properly (and to open the way to better > XMP integration, my favourite TODO item :-), we'll probably need to > extend the Metadata class to handle things like namespaces and > structured values.
That's what I was afraid of :) My head starts to hurt when I have to deal with namespaces and RDF. So I think I'll just patch my local copy to do the Q&D thing, and wait for someone with more XML/RDF-fu to deal with it properly. -- Ken -------------------------- Ken Krugler +1 530-210-6378 http://bixolabs.com custom big data solutions & training Hadoop, Cascading, Mahout & Solr