Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

* added pl and py to extensions excepted by htmlParser

f1ori076ae02c4493
diff --git a/source/de/anomic/document/parser/htmlParser.java b/source/de/anomic/document/parser/htmlParser.java
index b38b06802..f7e6fadb8 100644
--- a/source/de/anomic/document/parser/htmlParser.java
+++ b/source/de/anomic/document/parser/htmlParser.java
@@ -50,7 +50,7 @@ public class htmlParser extends AbstractParser implements Idiom {
*/
public static final HashMap<String, String> SUPPORTED_MIME_TYPES = new HashMap<String, String>();
static {
- String ext = "htm,html,shtml,xhtml,php,asp,aspx,txt,jsp,csv";
+ String ext = "htm,html,shtml,xhtml,php,asp,aspx,txt,jsp,csv,pl,py";
SUPPORTED_MIME_TYPES.put("application/xhtml+xml", ext);
SUPPORTED_MIME_TYPES.put("text/html", ext);
SUPPORTED_MIME_TYPES.put("text/plain", ext);