Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

added idea about extendability

Sami Sirendb5d2865c220
diff --git a/contrib/web2/README.txt b/contrib/web2/README.txt
index d7c81ddc8..f4c691da3 100644
--- a/contrib/web2/README.txt
+++ b/contrib/web2/README.txt
@@ -154,3 +154,44 @@ Todo:
-Remove table structures from html to allow more flexible
css layouts
+
+-Refine the idea of extendability
+Perhaps we could just porovide maximum number of small tiles and
+then let end users combine their favourite ui from those, something like:
+
+<?xml version="1.0" encoding="UTF-8"?>
+<plugin
+ id="my-web-ui"
+ name="site xxx web-ui"
+ version="1.0.0"
+ provider-name="Me">
+
+ <runtime>
+ <library name="my-web-ui.jar">
+ <export name="*"/>
+ </library>
+ </runtime>
+
+ <requires>
+ <import plugin="nutch-extensionpoints"/>
+ <import plugin="web-search-results"/>
+ <import plugin="web-search-navigation"/>
+ <import plugin="web-search-clustering"/>
+ <import plugin="web-search-preferences"/>
+ <import plugin="web-query-propose-spelling"/>
+ <import plugin="web-more"/>
+ <import plugin="web-caching-oscache"/>
+ <import plugin="web-search-preferences"/>
+ </requires>
+
+ <extension id="org.apache.nutch.webapp.extension.UI"
+ name="My Web UI"
+ point="org.apache.nutch.webapp.extension.UI">
+ <implementation id="my-ui"
+ class="org.apache.nutch.webapp.extension.UI.VoidImplementation"/>
+ </extension>
+</plugin>
+
++ provide their own template and css
+
+