Repository: tika Updated Branches: refs/heads/master f7d3097fb -> 74e71ebd8
Magic for Mobipocket Ebook and ESRI Shapefiles from TIKA-1892 from Suman Kashyap Project: http://git-wip-us.apache.org/repos/asf/tika/repo Commit: http://git-wip-us.apache.org/repos/asf/tika/commit/74e71ebd Tree: http://git-wip-us.apache.org/repos/asf/tika/tree/74e71ebd Diff: http://git-wip-us.apache.org/repos/asf/tika/diff/74e71ebd Branch: refs/heads/master Commit: 74e71ebd871172c3473719d0814400f69d4c8913 Parents: f7d3097 Author: Nick Burch <[email protected]> Authored: Sun Mar 6 14:42:24 2016 +0000 Committer: Nick Burch <[email protected]> Committed: Sun Mar 6 14:42:24 2016 +0000 ---------------------------------------------------------------------- .../resources/org/apache/tika/mime/tika-mimetypes.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tika/blob/74e71ebd/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml ---------------------------------------------------------------------- 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 a4e0588..ac3b634 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 @@ -3407,6 +3407,11 @@ </mime-type> <mime-type type="application/x-mobipocket-ebook"> + <acronym>MOBI</acronym> + <_comment>Mobipocket Ebook</_comment> + <magic priority="60"> + <match value="BOOKMOBI" type="string" offset="23" /> + </magic> <glob pattern="*.prc"/> <glob pattern="*.mobi"/> </mime-type> @@ -3772,6 +3777,15 @@ <glob pattern="*.shar"/> </mime-type> + <mime-type type="application/x-shapefile"> + <acronym>ESRI Shapefiles</acronym> + <_comment>ESRI Shapefiles</_comment> + <magic priority="60"> + <match value="0x0000270a" type="big32" offset="2" /> + </magic> + <glob pattern="*.shp"/> + </mime-type> + <mime-type type="application/x-shockwave-flash"> <acronym>Flash</acronym> <_comment>Adobe Flash</_comment>
