jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leslie H. Watter (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1691) Includes new (old) mimetypes that OpenOfficeTextExtractor can handle
Date Thu, 24 Jul 2008 19:09:32 GMT

     [ https://issues.apache.org/jira/browse/JCR-1691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Leslie H. Watter updated JCR-1691:
----------------------------------

    Attachment: OpenOfficeTextExtractor-mimetype.patch

patch file to add mimetypes supported.

> Includes new (old) mimetypes that OpenOfficeTextExtractor can handle
> --------------------------------------------------------------------
>
>                 Key: JCR-1691
>                 URL: https://issues.apache.org/jira/browse/JCR-1691
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-text-extractors
>    Affects Versions: core 1.4.5
>         Environment: OS: Linux Debian kernel 2.6.18
> java version "1.5.0_14"
>            Reporter: Leslie H. Watter
>            Priority: Trivial
>         Attachments: OpenOfficeTextExtractor-mimetype.patch
>
>
> The following patch adds the old openoffice (1.0 version) mimetypes to have their contents
extracted. 
> I've tested with simple files and it worked here. 
> $ cat OpenOfficeTextExtractor-mimetype.patch
> --- jackrabbit-1.4/jackrabbit-text-extractors/src/main/java/org/apache/jackrabbit/extractor/OpenOfficeTextExtractor.java
   2007-12-19 12:57:58.000000000 -0200
> +++ jackrabbit-1.4-modified/jackrabbit-text-extractors/src/main/java/org/apache/jackrabbit/extractor/OpenOfficeTextExtractor.java
 2008-07-24 15:01:08.000000000 -0300
> @@ -54,7 +54,11 @@
>                             "application/vnd.oasis.opendocument.graphics",
>                             "application/vnd.oasis.opendocument.presentation",
>                             "application/vnd.oasis.opendocument.spreadsheet",
> -                           "application/vnd.oasis.opendocument.text"});
> +                           "application/vnd.oasis.opendocument.text",
> +                           "application/vnd.sun.xml.calc",
> +                           "application/vnd.sun.xml.draw",
> +                           "application/vnd.sun.xml.impress",
> +                           "application/vnd.sun.xml.writer"});
>      }
>      //-------------------------------------------------------< TextExtractor >

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message