You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2023/05/24 17:40:35 UTC

[tika] branch TIKA-4005 created (now abe706514)

This is an automated email from the ASF dual-hosted git repository.

tallison pushed a change to branch TIKA-4005
in repository https://gitbox.apache.org/repos/asf/tika.git


      at abe706514 TIKA-4005 -- add magic and extension detectin for x-endnote-style

This branch includes the following new commits:

     new abe706514 TIKA-4005 -- add magic and extension detectin for x-endnote-style

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[tika] 01/01: TIKA-4005 -- add magic and extension detectin for x-endnote-style

Posted by ta...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tallison pushed a commit to branch TIKA-4005
in repository https://gitbox.apache.org/repos/asf/tika.git

commit abe70651407a4a9e4d1fa106a4449700aeda0e2c
Author: tballison <ta...@apache.org>
AuthorDate: Wed May 24 13:40:25 2023 -0400

    TIKA-4005 -- add magic and extension detectin for x-endnote-style
---
 .../main/resources/org/apache/tika/mime/tika-mimetypes.xml    | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml b/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
index 888c28aa0..244ab7039 100644
--- a/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
+++ b/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
@@ -3749,6 +3749,17 @@
     <glob pattern="*.enw"/>
     <glob pattern="*.enr"/>
   </mime-type>
+  <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="RENDNENFT" type="string" offset="8"/>
+        </match>
+      </match>
+    </magic>
+    <glob pattern="*.ens"/>
+  </mime-type>
 
   <mime-type type="application/x-killustrator">
     <_comment>KIllustrator File</_comment>