[
https://issues.apache.org/jira/browse/TIKA-1539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14310709#comment-14310709
]
Nick Burch commented on TIKA-1539:
----------------------------------
Thanks for this. I've made a minor tweak in r1658056 - the indents weren't
quite consistent, and the entry wanted to be further up so the file remains
sorted
> GRB file magic bytes and extension matching
> --------------------------------------------
>
> Key: TIKA-1539
> URL: https://issues.apache.org/jira/browse/TIKA-1539
> Project: Tika
> Issue Type: Improvement
> Components: mime
> Affects Versions: 1.7
> Reporter: Luke sh
> Assignee: Chris A. Mattmann
> Fix For: 1.8
>
>
> GRB type detection with magic bytes and extension probably needs to be
> supported Tika, the GRB parser is under development, so it may be good to
> have its magic bytes and extension matching detection.
> However, GRB does not have standard mime type, the following extension and
> MAGIC matching settings in the tika-mimetypes.xml are proposed to used for
> GRB mime type idenfication.
> <mime-type type="application/x-grib">
> <acronym>GRIB</acronym>
> <_comment>General Regularly-distributed Information in Binary
> form</_comment>
> <tika:link>http://en.wikipedia.org/wiki/GRIB</tika:link>
> <magic priority="50">
> <match value="GRIB" type="string" offset="0"/>
> </magic>
> <glob pattern="*.grb"/>
> <glob pattern="*.grb1"/>
> <glob pattern="*.grb2"/>
> Any kind suggestion and advice will be welcomed and appreciated.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)