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

Tim Allison commented on TIKA-4005:
-----------------------------------

In Tika-ese, this works: first two bytes are 0008, at offset 4 0000, then 
either RSFTSTYL or RENDNENFT at offset 8.
{code:xml}
<mime-type type="application/x-endnote-style">
  <magic priority="50">
    <match value="0x0008" type="string" offset="0">
      <match value="0x0000" type="string" offset="4">
        <match value="RSFTSTYL" type="string" offset="8"/>
        <match value="ENDNENFT" type="string" offset="8"/>
      </match>
    </match>
  </magic>
  <glob pattern="*.ens"/>
</mime-type>
{code}
 

> application/x-endnote-style
> ---------------------------
>
>                 Key: TIKA-4005
>                 URL: https://issues.apache.org/jira/browse/TIKA-4005
>             Project: Tika
>          Issue Type: Sub-task
>            Reporter: Tim Allison
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to