[
https://issues.apache.org/jira/browse/ANY23-164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13698184#comment-13698184
]
Lewis John McGibbney commented on ANY23-164:
--------------------------------------------
Did create a branch so here is the patch
diff --git
a/plugins/office-scraper/src/main/java/org/apache/any23/plugin/officescraper/ExcelExtractorFactory.java
b/plugins/office-scraper/src/main/java/org/apache/any23/plugin/officescraper/ExcelExtractorFactory.java
index 99bfe9b..bde79e6 100644
---
a/plugins/office-scraper/src/main/java/org/apache/any23/plugin/officescraper/ExcelExtractorFactory.java
+++
b/plugins/office-scraper/src/main/java/org/apache/any23/plugin/officescraper/ExcelExtractorFactory.java
@@ -47,7 +47,9 @@ public class ExcelExtractorFactory extends
SimpleExtractorFactory<ExcelExtractor
"application/vnd.ms-excel;q=0.1",
"application/msexcel;q=0.1",
"application/x-msexcel;q=0.1",
- "application/x-ms-excel;q=0.1"
+ "application/x-ms-excel;q=0.1",
+ "application/x-tika-ooxml;q=0.1",
+ "application/x-tika-msoffice;q=0.1"
> office-scraper ExcelExtractorFactory.java to accept application/x-tika-ooxml
> and application/x-tika-msoffice formats
> --------------------------------------------------------------------------------------------------------------------
>
> Key: ANY23-164
> URL: https://issues.apache.org/jira/browse/ANY23-164
> Project: Apache Any23
> Issue Type: Improvement
> Components: office-scraper
> Affects Versions: 0.8.0
> Reporter: Lewis John McGibbney
> Priority: Minor
> Fix For: 0.9.0
>
>
> I originally thought [0] that depending on which editor you used to develop
> your XSL spreadsheets determined which mimetype/mediatype the generated file
> would bind to. Although this may or may not be the case (another discussion),
> it seems to be that the way wa hard code mimetypes in
> ExcelExtractorFactory.java was what needed improving here.
> The patch and fix here solves this.
> [0] http://www.mail-archive.com/dev%40any23.apache.org/msg00809.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira