Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-1955 MIME types updates and additions for Scientific Data based on TREC-DD-Polar
  3. TIKA-1882

Scientific MIME updates to .cab files, .xar and .mobi and .mov files based on TREC-DD-Polar analysis

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.11
    • 1.13
    • mime
    • Patch

    Description

      The following mime magic can be added to better detect the below mime-types:

      1. vnd.ms-cab-compressed (.cab files) - pattern "MCSF" in the first 4 bytes
      2. application/vnd.xara (.xar files) - pattern "xar!" in the first 4 bytes
      3. application/x-mobipocket-ebook (.mobi files) - pattern "BOOKMOBI" starting at byte position 60
      4. video/quicktime (.mov files) - patterns "free" and "wide" seen starting at byte position 4

      The changes can be seen here:
      https://github.com/mkampasi/tika/commit/f7433daf434a44937ba3ae8b15813a768f95e334

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            chrismattmann Chris A. Mattmann
            kampasi@usc.edu Manisha Kampasi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment