You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@corinthia.apache.org by "Franz de Copenhague (JIRA)" <ji...@apache.org> on 2015/03/20 01:53:38 UTC
[jira] [Commented] (COR-51) Add document resources options
[ https://issues.apache.org/jira/browse/COR-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14370468#comment-14370468 ]
Franz de Copenhague commented on COR-51:
----------------------------------------
web servers using a pool folder to store documents and their abstract HTML could have collisions with resources name (images). Adding a prefix to the resources translation will be worthy.
For example, d1.docx and d2.docx contains two different images with the same name.
POOL
d1.docx
a1.html
d1/word/media/image1.png
d2.docx
a2.html
d2/word/media/image1.png
the parameter could be:
GET d1.docx a1.html --prefix d1
GET d2.docx a2.html --prefix d2
A web server robot is looking for a particular sentence and it is using DocFormat to generates HTML to analyse the document paragraphs. So doesn't make sense to extract resources and the parameters could be
GET d3.docx abstract.html --skip-resources
> Add document resources options
> ------------------------------
>
> Key: COR-51
> URL: https://issues.apache.org/jira/browse/COR-51
> Project: Corinthia
> Issue Type: Improvement
> Components: DocFormats - filters
> Affects Versions: 0.5
> Reporter: Franz de Copenhague
> Priority: Minor
>
> The current implementation of OOXML filter unzip the resources (images) and translate word/media to images folder.
> Let's add options to the GET API to decide either unzip and how to translate the resources path.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)