You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ni...@apache.org on 2010/11/26 19:25:39 UTC
svn commit: r1039496 -
/tika/trunk/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
Author: nick
Date: Fri Nov 26 18:25:38 2010
New Revision: 1039496
URL: http://svn.apache.org/viewvc?rev=1039496&view=rev
Log:
Apply mimetype updates from TIKA-560
Modified:
tika/trunk/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
Modified: tika/trunk/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
URL: http://svn.apache.org/viewvc/tika/trunk/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml?rev=1039496&r1=1039495&r2=1039496&view=diff
==============================================================================
--- tika/trunk/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml (original)
+++ tika/trunk/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml Fri Nov 26 18:25:38 2010
@@ -1277,7 +1277,7 @@
<mime-type type="application/vnd.ms-powerpoint.template.macroenabled.12">
<glob pattern="*.potm"/>
- <sub-class-of type="application/x-tika-msoffice"/>
+ <sub-class-of type="application/x-tika-ooxml"/>
</mime-type>
<mime-type type="application/vnd.ms-project">
@@ -2343,6 +2343,13 @@
</mime-type>
<mime-type type="application/x-font-vfont"/>
+ <mime-type type="application/x-foxmail">
+ <_comment>Foxmail Email File</_comment>
+ <magic>
+ <match value="0x1010101010101011111111111153" type="string" offset="0"/>
+ </magic>
+ </mime-type>
+
<mime-type type="application/x-futuresplash">
<_comment>Macromedia FutureSplash File</_comment>
<glob pattern="*.spl"/>
@@ -3541,6 +3548,8 @@
</magic>
<glob pattern="*.eml"/>
<glob pattern="*.mime"/>
+ <glob pattern="*.mht"/>
+ <glob pattern="*.mhtml"/>
</mime-type>
<mime-type type="message/s-http"/>
@@ -3641,7 +3650,9 @@
<root-XML localName="SCRIPT"/>
<root-XML localName="frameset"/>
<root-XML localName="FRAMESET"/>
- <magic priority="50">
+ <!-- The magic priority needs to be lower than that of -->
+ <!-- files which contain HTML within them, eg mime emails -->
+ <magic priority="40">
<match value="<!DOCTYPE HTML" type="string" offset="0:64"/>
<match value="<!doctype html" type="string" offset="0:64"/>
<match value="<HEAD" type="string" offset="0:64"/>