Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
update to mime types in parsers and httpd.mime
orbitera564df398408
diff --git a/httpd.mime b/httpd.mimeindex 8fda3c18a..0717448d9 100644--- a/httpd.mime+++ b/httpd.mime@@ -6,6 +6,8 @@7z = application/x-7z-compressedai = application/postscriptaiff = audio/x-aiff+asp = text/html+aspx = text/htmlau = audio/basicavi = video/x-msvideobat = text/plain@@ -37,6 +39,7 @@ jpe = image/jpegjpeg = image/jpegjpg = image/jpegjs = text/javascript+jsp = text/htmllha = application/x-lzhlzh = application/x-lzhm4v = video/x-m4v@@ -74,13 +77,15 @@ ppt = application/mspowerpointpptx = application/mspowerpointppz = application/mspowerpointps = application/postscript+py = text/htmlqt = video/quicktimera = audio/x-pn-realaudioram = audio/x-pn-realaudiorar = application/x-rar+rdf = application/rdf+xmlrm = audio/x-pn-realaudio-plugin-rpm = audio/x-pn-realaudio-plugin-rss = text/xml+rpm = application/x-rpm+rss = application/rss+xmlrtf = application/rtfsh = text/plainshtml = text/html@@ -92,6 +97,8 @@ sxc = application/OOo-calcsxd = application/OOo-drawsxi = application/OOo-impresstar = application/tar+tbz = application/x-bzip2+tbz2 = application/x-bzip2tex = application/x-textgz = application/tartif = image/tiffdiff --git a/source/de/anomic/document/parser/htmlParser.java b/source/de/anomic/document/parser/htmlParser.javaindex 2c6529fbc..5c2b8f5b5 100644--- a/source/de/anomic/document/parser/htmlParser.java+++ b/source/de/anomic/document/parser/htmlParser.java@@ -65,8 +65,10 @@ public class htmlParser extends AbstractParser implements Idiom {SUPPORTED_EXTENSIONS.add("csv");SUPPORTED_EXTENSIONS.add("pl");SUPPORTED_EXTENSIONS.add("py");- SUPPORTED_MIME_TYPES.add("application/xhtml+xml");SUPPORTED_MIME_TYPES.add("text/html");+ SUPPORTED_MIME_TYPES.add("text/xhtml+xml");+ SUPPORTED_MIME_TYPES.add("application/xhtml+xml");+ SUPPORTED_MIME_TYPES.add("application/x-httpd-php");SUPPORTED_MIME_TYPES.add("text/plain");SUPPORTED_MIME_TYPES.add("text/sgml");SUPPORTED_MIME_TYPES.add("text/csv");diff --git a/source/de/anomic/document/parser/odtParser.java b/source/de/anomic/document/parser/odtParser.javaindex 8f918fc33..ec7c4336a 100644--- a/source/de/anomic/document/parser/odtParser.java+++ b/source/de/anomic/document/parser/odtParser.java@@ -68,12 +68,32 @@ public class odtParser extends AbstractParser implements Idiom {SUPPORTED_EXTENSIONS.add("odt");SUPPORTED_EXTENSIONS.add("ods");SUPPORTED_EXTENSIONS.add("odp");+ SUPPORTED_EXTENSIONS.add("odg");+ SUPPORTED_EXTENSIONS.add("odc");+ SUPPORTED_EXTENSIONS.add("odf");+ SUPPORTED_EXTENSIONS.add("odb");+ SUPPORTED_EXTENSIONS.add("odi");+ SUPPORTED_EXTENSIONS.add("odm");+ SUPPORTED_EXTENSIONS.add("ott");+ SUPPORTED_EXTENSIONS.add("ots");+ SUPPORTED_EXTENSIONS.add("otp");+ SUPPORTED_EXTENSIONS.add("otg");SUPPORTED_EXTENSIONS.add("sxw"); // Star Office Writer file formatSUPPORTED_EXTENSIONS.add("sxc"); // Star Office Calc file formatSUPPORTED_MIME_TYPES.add("application/vnd.oasis.opendocument.text");- SUPPORTED_MIME_TYPES.add("application/x-vnd.oasis.opendocument.text");- SUPPORTED_MIME_TYPES.add("application/vnd.oasis.opendocument.presentation");SUPPORTED_MIME_TYPES.add("application/vnd.oasis.opendocument.spreadsheet");+ SUPPORTED_MIME_TYPES.add("application/vnd.oasis.opendocument.presentation");+ SUPPORTED_MIME_TYPES.add("application/vnd.oasis.opendocument.graphics");+ SUPPORTED_MIME_TYPES.add("application/vnd.oasis.opendocument.chart");+ SUPPORTED_MIME_TYPES.add("application/vnd.oasis.opendocument.formula");+ SUPPORTED_MIME_TYPES.add("application/vnd.oasis.opendocument.database");+ SUPPORTED_MIME_TYPES.add("application/vnd.oasis.opendocument.image");+ SUPPORTED_MIME_TYPES.add("application/vnd.oasis.opendocument.text-master");+ SUPPORTED_MIME_TYPES.add("application/vnd.oasis.opendocument.text-template");+ SUPPORTED_MIME_TYPES.add("application/vnd.oasis.opendocument.spreadsheet-template");+ SUPPORTED_MIME_TYPES.add("application/vnd.oasis.opendocument.presentation-template");+ SUPPORTED_MIME_TYPES.add("application/vnd.oasis.opendocument.graphics-template");+ SUPPORTED_MIME_TYPES.add("application/x-vnd.oasis.opendocument.text");SUPPORTED_MIME_TYPES.add("application/OOo-calc");SUPPORTED_MIME_TYPES.add("application/OOo-writer");}diff --git a/source/de/anomic/document/parser/vcfParser.java b/source/de/anomic/document/parser/vcfParser.javaindex 5967e0bbb..853bb3e57 100644--- a/source/de/anomic/document/parser/vcfParser.java+++ b/source/de/anomic/document/parser/vcfParser.java@@ -68,8 +68,6 @@ public class vcfParser extends AbstractParser implements Idiom {SUPPORTED_EXTENSIONS.add("vcf");SUPPORTED_MIME_TYPES.add("text/x-vcard");SUPPORTED_MIME_TYPES.add("application/vcard");- SUPPORTED_MIME_TYPES.add("text/anytext");- SUPPORTED_MIME_TYPES.add("text/directory");SUPPORTED_MIME_TYPES.add("application/x-versit");SUPPORTED_MIME_TYPES.add("text/x-versit");SUPPORTED_MIME_TYPES.add("text/x-vcalendar");diff --git a/source/de/anomic/document/parser/vsdParser.java b/source/de/anomic/document/parser/vsdParser.javaindex e133e1146..331f0152a 100644--- a/source/de/anomic/document/parser/vsdParser.java+++ b/source/de/anomic/document/parser/vsdParser.java@@ -49,6 +49,7 @@ public class vsdParser extends AbstractParser implements Idiom {public static final Set<String> SUPPORTED_EXTENSIONS = new HashSet<String>();static {SUPPORTED_EXTENSIONS.add("vsd");+ SUPPORTED_EXTENSIONS.add("vss");SUPPORTED_EXTENSIONS.add("vst");SUPPORTED_EXTENSIONS.add("vdx");SUPPORTED_EXTENSIONS.add("vtx");diff --git a/source/de/anomic/document/parser/xlsParser.java b/source/de/anomic/document/parser/xlsParser.javaindex 2cdb32ed1..5b31f3b97 100644--- a/source/de/anomic/document/parser/xlsParser.java+++ b/source/de/anomic/document/parser/xlsParser.java@@ -62,6 +62,7 @@ public class xlsParser extends AbstractParser implements Idiom, HSSFListener {public static final Set<String> SUPPORTED_EXTENSIONS = new HashSet<String>();static {SUPPORTED_EXTENSIONS.add("xls");+ SUPPORTED_EXTENSIONS.add("xla");SUPPORTED_EXTENSIONS.add("xlsx");SUPPORTED_MIME_TYPES.add("application/msexcel");SUPPORTED_MIME_TYPES.add("application/excel");