Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

Add parse-ext content-types so that unit tests pass.

Douglass Cutting7dd4401ad032
diff --git a/conf/parse-plugins.xml b/conf/parse-plugins.xml
index b6a9cad13..71a3c651b 100644
--- a/conf/parse-plugins.xml
+++ b/conf/parse-plugins.xml
@@ -204,4 +204,14 @@
<plugin id="parse-text" />
</mimeType>
+ <!-- Types for parse-ext plugin: required for unit tests to pass. -->
+
+ <mimeType name="application/vnd.nutch.example.cat">
+ <plugin id="parse-ext" />
+ </mimeType>
+
+ <mimeType name="application/vnd.nutch.example.md5sum">
+ <plugin id="parse-ext" />
+ </mimeType>
+
</parse-plugins>