[
https://issues.apache.org/jira/browse/TIKA-1539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14308212#comment-14308212
]
Luke sh commented on TIKA-1539:
-------------------------------
pull request #28, add grb files for unit tests.
> 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
>
> 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)