tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Allison (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-1674) Add example to show how to extract embedded files
Date Tue, 07 Jul 2015 14:26:05 GMT

    [ https://issues.apache.org/jira/browse/TIKA-1674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14616777#comment-14616777

Tim Allison commented on TIKA-1674:


With r1689690, I added an example of how to pull out embedded documents.  However, I can't
figure out how to get the EmbeddedDocumentExtractor to work recursively beyond the children
of the initial document. 

I confirmed that tika-server has similar behavior:

    public void testFullRecursion() throws Exception {
        Response response = WebClient.create(endPoint + UNPACKER_PATH)

        Map<String, String> data = readZipArchive((InputStream) response.getEntity());
        assertEquals(2, data.size());

Is this expected behavior, or am I not setting up the parser/embedded document extractor properly?
 Do I need to reset the stream at some point?

Thank you.

> Add example to show how to extract embedded files
> -------------------------------------------------
>                 Key: TIKA-1674
>                 URL: https://issues.apache.org/jira/browse/TIKA-1674
>             Project: Tika
>          Issue Type: New Feature
>            Reporter: Tim Allison
>            Priority: Minor
>             Fix For: 1.10
> On tika-user, we received a question on how to extract embedded files.  Let's add an

This message was sent by Atlassian JIRA

View raw message