From 7b412e8c07b82435406b5d7f628477f536006533 Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Wed, 8 Jul 2015 17:36:37 +0200 Subject: [PATCH] added msg (text emails) format; should be handled by html parser. --- source/net/yacy/document/parser/htmlParser.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/net/yacy/document/parser/htmlParser.java b/source/net/yacy/document/parser/htmlParser.java index 654716e63..41a6c75b1 100644 --- a/source/net/yacy/document/parser/htmlParser.java +++ b/source/net/yacy/document/parser/htmlParser.java @@ -61,7 +61,7 @@ public class htmlParser extends AbstractParser implements Parser { public final static String[] htmlExtensions = new String[]{ "htm","html","phtml","shtml","shtm","stm","xhtml","phtml","phtm", - "tpl","php","php2","php3","php4","php5","cfm","asp","aspx","tex","txt" + "tpl","php","php2","php3","php4","php5","cfm","asp","aspx","tex","txt","msg" }; public final static Set htmlExtensionsSet; @@ -79,6 +79,7 @@ public class htmlParser extends AbstractParser implements Parser { this.SUPPORTED_MIME_TYPES.add("application/xhtml+xml"); this.SUPPORTED_MIME_TYPES.add("application/x-httpd-php"); this.SUPPORTED_MIME_TYPES.add("application/x-tex"); + this.SUPPORTED_MIME_TYPES.add("application/vnd.ms-outlook"); this.SUPPORTED_MIME_TYPES.add("text/plain"); this.SUPPORTED_MIME_TYPES.add("text/csv"); }