[Yanel-commits] rev 32160 -
public/yanel/trunk/src/contributions/resources/nutch/yanel-htdocs/doc
michi at wyona.com
michi at wyona.com
Mon Feb 18 22:44:24 CET 2008
Author: michi
Date: 2008-02-18 22:44:24 +0100 (Mon, 18 Feb 2008)
New Revision: 32160
Modified:
public/yanel/trunk/src/contributions/resources/nutch/yanel-htdocs/doc/index.html
Log:
example added with grouped custom nutch config accessing more than one index
Modified: public/yanel/trunk/src/contributions/resources/nutch/yanel-htdocs/doc/index.html
===================================================================
--- public/yanel/trunk/src/contributions/resources/nutch/yanel-htdocs/doc/index.html 2008-02-18 21:37:24 UTC (rev 32159)
+++ public/yanel/trunk/src/contributions/resources/nutch/yanel-htdocs/doc/index.html 2008-02-18 21:44:24 UTC (rev 32160)
@@ -70,47 +70,32 @@
</pre>
-<!--
- <p><b>Make only specific resources (e.g. file and xml) available for creation of corresponding instances</b></p>
+ <p><b>Search results with some XSLT applied using a grouped custom configuration (accessing multiple indexes)</b></p>
<pre>
<yanel:resource-config xmlns:yanel="http://www.wyona.org/yanel/rti/1.0">
<yanel:rti name="resource-creator" namespace="http://www.wyona.org/yanel/resource/1.0"/>
<yanel:custom-config>
- <rc:resource-types xmlns:rc="http://www.wyona.org/yanel/resource/resource-creator/1.0">
- <rc:resource-type name="file" namespace="http://www.wyona.org/yanel/resource/1.0">
- <rc:display-name>Asset (Upload File)</rc:display-name>
- </rc:resource-type>
+ <nr:configs>
+ <nr:config name="ml-usage" src="file:/home/USER/yanel-website/content/nutch-config/nutch-local-yanel-ml-usage.xml"/>
+ <nr:config name="ml-development" src="file:/home/USER/yanel-website/content/nutch-config/nutch-local-yanel-ml-development.xml"/>
+ </nr:configs>
- <rc:resource-type name="xml" namespace="http://www.wyona.org/yanel/resource/1.0">
- <rc:display-name>Standard (HTML) Page</rc:display-name>
- <rc:property name="mime-type" value="text/html"/>
- <rc:property name="source-mime-type" value="application/xhtml+xml"/>
- </rc:resource-type>
- </rc:resource-types>
+ <nr:groups>
+ <nr:group name="usage" label="Usage" i18n-key="mlusage">
+ <nr:nutch-config name="ml-usage"/>
+ </nr:group>
+ <nr:group name="dev" label="Development" i18n-key="mldevelopment" selected="true">
+ <nr:nutch-config name="ml-development"/>
+ </nr:group>
+ <nr:group name="all" label="All Lists" i18n-key="all-lists">
+ <nr:nutch-config name="ml-usage"/>
+ <nr:nutch-config name="ml-development"/>
+ </nr:group>
+ </nr:groups>
</yanel:custom-config>
</yanel:resource-config>
</pre>
-
- <p><b>Suppress resource config creation when a new resource instance is being created. This can make sense if a pattern has been defined within map.rc-map (e.g. <matcher pattern="/**.html" rcpath="/generic-xhtml-page.yanel-rc"/>)</b></p>
-
-<pre>
- <yanel:resource-config xmlns:yanel="http://www.wyona.org/yanel/rti/1.0">
- <yanel:rti name="resource-creator" namespace="http://www.wyona.org/yanel/resource/1.0"/>
-
- <yanel:custom-config>
- <rc:resource-types xmlns:rc="http://www.wyona.org/yanel/resource/resource-creator/1.0">
- <rc:resource-type name="xml" namespace="http://www.wyona.org/yanel/resource/1.0">
- <rc:display-name>Standard (HTML) Page</rc:display-name>
- <rc:create-resource-config>false</rc:create-resource-config>
- <rc:property name="mime-type" value="text/html"/>
- <rc:property name="source-mime-type" value="application/xhtml+xml"/>
- </rc:resource-type>
- </rc:resource-types>
- </yanel:custom-config>
- </yanel:resource-config>
-</pre>
--->
</body>
</html>
More information about the Yanel-commits
mailing list