tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Skiba (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-1344) Ability to generate self-contained HTML with images
Date Thu, 19 Jun 2014 11:10:25 GMT

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

Andrew Skiba commented on TIKA-1344:
------------------------------------

Can you give an example in existing code for such recursing Parser? My familiarity with Tika
code base is not sufficient for fixing this patch.

> Ability to generate self-contained HTML with images
> ---------------------------------------------------
>
>                 Key: TIKA-1344
>                 URL: https://issues.apache.org/jira/browse/TIKA-1344
>             Project: Tika
>          Issue Type: Improvement
>          Components: parser
>            Reporter: Andrew Skiba
>              Labels: easyfix, patch
>         Attachments: word.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> n the current code, the images from Word documents are referenced by "embedded:xxx" links
in the generated HTML. This causes the browsers display "x" icon instead of the image.
> The proposed patch encodes the images using Data URI, if there is -Dtika.parsers.urlimages
system property. 
> http://en.wikipedia.org/wiki/Data_URI_scheme
> So the default behavior is the same, but users of the library can optionally generate
self-contained HTML with correct images.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message