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

William Palmer commented on TIKA-1232:
--------------------------------------

Hi Tim & Andy,

Thanks - your code works on my test files.  One question though - it appears 
that dc:format should be a mimetype, therefore should the Extended-Content-Type 
dc:format be an actual mimetype with version like "application/pdf; 
version="A-1a"", with A-1a overriding the pdf:PDFVersion 1.4?  

Thanks for this - much appreciated!

> Add PDF version to PDFParser output
> -----------------------------------
>
>                 Key: TIKA-1232
>                 URL: https://issues.apache.org/jira/browse/TIKA-1232
>             Project: Tika
>          Issue Type: Improvement
>          Components: parser
>    Affects Versions: 1.5
>         Environment: JDK6
>            Reporter: William Palmer
>            Assignee: Tim Allison
>            Priority: Minor
>         Attachments: TIKA-1232v1.patch, pdfversion.patch
>
>
> I'd like to identify the PDF version of files, this is not currently reported 
> by the PDFParser although the information is available via PDFBox.  I have 
> attached a patch that adds the format version to the Metadata object.
> However, I am not familiar enough with the Tika source to know if an 
> alternative metadata key should be used, or this new one added.
> Comments welcome.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to