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

Nick Burch commented on TIKA-1012:
----------------------------------

The <_comment> tag comes from the freedesktop format, so I don't think we 
should change it. See 
http://cgit.freedesktop.org/xdg/shared-mime-info/tree/freedesktop.org.xml.in 
for example, _comment is used in there, and changing Tika would likely confuse 
other people used to the file spec.

Would you be able to re-do your patch leaving things as _comment? I think 
otherwise it's good to apply, so if we could get it soon then we can hopefully 
sneak it into 1.3!
                
> Add additional fields to MimeType reader
> ----------------------------------------
>
>                 Key: TIKA-1012
>                 URL: https://issues.apache.org/jira/browse/TIKA-1012
>             Project: Tika
>          Issue Type: New Feature
>          Components: mime
>            Reporter: Ryan McKinley
>            Priority: Minor
>         Attachments: TIKA-1012-MimeMeta.patch, TIKA-1012-MimeMeta.patch
>
>
> Currently the MimeType class exposes a description (_comment).  It would be 
> nice to also expose:
>  * Acronym (this is already in tika-mimetypes.xml, see <acronym>BMP</acronym>)
>  * Links, add helper docs for some formats
>  * UTI, http://en.wikipedia.org/wiki/Uniform_Type_Identifier
> A sample entry would look like this:
> {code:xml}
>  <mime-type type="image/x-ms-bmp">
>     <alias type="image/bmp"/>
>     <acronym>BMP</acronym>
>     <_comment>Windows bitmap</_comment>
>     <_link>http://en.wikipedia.org/wiki/BMP_file_format</_link>
>     <_uti>com.microsoft.bmp</_uti>
>     <magic priority="50">
>       ...
> {code}

--
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

Reply via email to