You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/03/01 11:03:18 UTC
[jira] [Commented] (TIKA-1881) On updating mime magic for existing
mime types
[ https://issues.apache.org/jira/browse/TIKA-1881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15173524#comment-15173524 ]
ASF GitHub Bot commented on TIKA-1881:
--------------------------------------
GitHub user NamithaGS opened a pull request:
https://github.com/apache/tika/pull/83
Fix for TIKA-1881
Updated Mime-Magic for 6 mime types:
1. application/postscript : files begin with pattern "%!PS-Adobe-3.0 EPSF-3.0".
2. application/wordperfect: files begin with pattern "ÿWPC" .
3. image/tiff : updated pattern for "MM.+" for Big endian format.(occur at the beginning of files of tiff mime type)
4. application/rdf+xml : updated pattern "rdf" ( from byte offset 5 to 400)
5. application/atom+xml : updated pattern "feed" ( from byte offset 5 to 50)
6. application/rss+xml : updated pattern "rss" ( from byte offset 5 to 50)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/NamithaGS/tika master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tika/pull/83.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #83
----
commit 780100767e24505a24595ea6db43978d0700e220
Author: NamithaGS <gs...@gmail.com>
Date: 2016-03-01T07:21:28Z
Update tika-mimetypes.xml
Updated Mime-Magic for 6 mime types:
1. application/postscript : files begin with pattern "%!PS-Adobe-3.0 EPSF-3.0".
2. application/wordperfect: files begin with pattern "ÿWPC" .
3. image/tiff : updated pattern for "MM.+" for Big endian format.(occur at the beginning of files of tiff mime type)
4. application/rdf+xml : updated pattern "rdf" ( from byte offset 5 to 400)
5. application/atom+xml : updated pattern "feed" ( from byte offset 5 to 50)
6. application/rss+xml : updated pattern "rss" ( from byte offset 5 to 50)
----
> On updating mime magic for existing mime types
> ----------------------------------------------
>
> Key: TIKA-1881
> URL: https://issues.apache.org/jira/browse/TIKA-1881
> Project: Tika
> Issue Type: Improvement
> Components: mime
> Affects Versions: 1.11
> Reporter: Namitha Sanjeeva Ganiga
> Priority: Minor
> Labels: mime
> Fix For: 1.11
>
>
> Updated Mime-Magic for 6 mime types:
> 1. application/postscript : files begin with pattern "%!PS-Adobe-3.0 EPSF-3.0".
> 2. application/wordperfect: files begin with pattern "ÿWPC" .
> 3. image/tiff : updated pattern for "MM.+" for Big endian format.(occur at the beginning of files of tiff mime type)
> 4. application/rdf+xml : updated pattern "rdf" ( from byte offset 5 to 400)
> 5. application/atom+xml : updated pattern "feed" ( from byte offset 5 to 50)
> 6. application/rss+xml : updated pattern "rss" ( from byte offset 5 to 50)
> https://github.com/NamithaGS/tika/commit/780100767e24505a24595ea6db43978d0700e220
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)