Skip to content

Commit

Permalink
* added pl and py to extensions excepted by htmlParser
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6198 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
f1ori committed Jul 12, 2009
1 parent d5e51cf commit 076ae02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/de/anomic/document/parser/htmlParser.java
Expand Up @@ -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);
Expand Down

0 comments on commit 076ae02

Please sign in to comment.