You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Ken Krugler (JIRA)" <ji...@apache.org> on 2011/09/23 16:24:26 UTC
[jira] [Commented] (TIKA-728) Return RDFa meta tags via Metadata
[ https://issues.apache.org/jira/browse/TIKA-728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113472#comment-13113472 ]
Ken Krugler commented on TIKA-728:
----------------------------------
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.
> Return RDFa meta tags via Metadata
> ----------------------------------
>
> Key: TIKA-728
> URL: https://issues.apache.org/jira/browse/TIKA-728
> Project: Tika
> Issue Type: Improvement
> Reporter: Ken Krugler
> Assignee: Ken Krugler
> Priority: Minor
>
> Open Graph <meta> tags currently get stripped out, and also aren't put into the metadata map.
> The reason why is that Open Graph uses RDFa:
> http://stackoverflow.com/questions/2704942/html-validation-error-for-property-attribute/2705090#2705090
> Since <meta property="xxx" content="yyy" /> isn't valid for XHTML 1.0, these tags can't be emitted.
> We could take a tag like:
> <meta property="og:url" content="http://www.imdb.com/title/tt0117500/" />
> and put it into the metadata map as "og:url" => "http://www.imdb.com/title/tt0117500/"
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira