tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Jelsma (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TIKA-980) MicrodataContentHandler for Apache Tika
Date Wed, 03 Oct 2012 13:36:07 GMT

     [ https://issues.apache.org/jira/browse/TIKA-980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Markus Jelsma updated TIKA-980:
-------------------------------

    Attachment: TIKA-980-1.3-4.patch

Here's a new patch. It allows to find nested structures and still read the property content
from the correct location. Consider the following HTML:

{code}
<body itemscope="itemscope" itemtype="http://schema.org/WebPage">
        <ul itemprop="breadcrumb">
                <li><a itemprop="url" href="http://tika.apache.org/">Apache Tika</a></li>
                <li>Microdata</li>
        </ul>
</body>
{code}

The URL itemprop is nested in the breadcrumb itemprop and can be retrieved now.
                
> MicrodataContentHandler for Apache Tika
> ---------------------------------------
>
>                 Key: TIKA-980
>                 URL: https://issues.apache.org/jira/browse/TIKA-980
>             Project: Tika
>          Issue Type: New Feature
>          Components: parser
>            Reporter: Markus Jelsma
>            Assignee: Ken Krugler
>             Fix For: 1.3
>
>         Attachments: TIKA-980-1.3-1.patch, TIKA-980-1.3-2.patch, TIKA-980-1.3-3.patch,
TIKA-980-1.3-4.patch
>
>
> ContentHandler for Apache Tika capable of building a data structure containing Microdata
item scopes and item properties. The Item* classes are borrowed from the Apache Any23 project
and are slightly modified to accomodate this SAX-based extractor vs the original DOM-based
extractor.
> The provided unit test outputs two item scopes about the Europe and NA ApacheCon events
and each has a nested property.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message