tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florent Angebault (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TIKA-1399) [Patch] add support for AxCrypt file type detection
Date Tue, 19 Aug 2014 11:19:19 GMT
Florent Angebault created TIKA-1399:
---------------------------------------

             Summary: [Patch] add support for AxCrypt file type detection
                 Key: TIKA-1399
                 URL: https://issues.apache.org/jira/browse/TIKA-1399
             Project: Tika
          Issue Type: Improvement
          Components: detector, mime
    Affects Versions: 1.5, 1.4, 1.3
            Reporter: Florent Angebault


Please include the following mime declaration in {{tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml}}.
It makes possible to detect AxCrypt file type with extension {{*.axx}}.

{code}
<mime-info>
	<mime-type type="application/x-axcrypt">
		<glob pattern="*.axx" />
		<magic priority="50">
			<match value="\xc0\xb9\x07\x2e\x4f\x93\xf1\x46\xa0\x15\x79\x2c\xa1\xd9\xe8\x21\x15\x00\x00\x00\x02"
type="string" offset="0" />
		</magic>
	</mime-type>
</mime-info>
{code}

The magic value is taken from the Aperture project:
http://sourceforge.net/p/aperture/code/2493/tree/aperture/trunk/core/src/main/resources/org/semanticdesktop/aperture/mime/identifier/magic/mimetypes.xml#l1225



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message