You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Nick Burch (JIRA)" <ji...@apache.org> on 2016/03/06 14:24:40 UTC

[jira] [Commented] (TIKA-1888) Update mimetype for application/x-netcdf

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

Nick Burch commented on TIKA-1888:
----------------------------------

That match looks to be a string. In order to keep it readable and consistent with the others, any chance you could re-do it as a text match rather than a hex one?

> Update mimetype for application/x-netcdf
> ----------------------------------------
>
>                 Key: TIKA-1888
>                 URL: https://issues.apache.org/jira/browse/TIKA-1888
>             Project: Tika
>          Issue Type: Improvement
>          Components: core, mime
>    Affects Versions: 1.13
>            Reporter: Ajay Kumar Loganathan Ravichandran
>              Labels: mimetypes
>             Fix For: 1.13
>
>
> Updating tika-mimetype.xml to identify .cdf and .nc file format.
> <mime-type type="application/x-netcdf">
>       <glob pattern="*.nc"/>
>       <glob pattern="*.cdf"/>
>      <magic priority="50">
>        <match value="0x43444601" type="string" offset="0"/>
>     </magic>
>     </mime-type>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)