Author: andreas
Date: Sun Apr 13 02:12:39 2008
New Revision: 647543
URL: http://svn.apache.org/viewvc?rev=647543&view=rev
Log:
Enabling indexing for forrest resource type.
Modified:
lenya/sandbox/modules/forrest/config/cocoon-xconf/resourcetype-forrestDocument20.xconf
lenya/sandbox/modules/forrest/sitemap.xmap
Modified: lenya/sandbox/modules/forrest/config/cocoon-xconf/resourcetype-forrestDocument20.xconf
URL: http://svn.apache.org/viewvc/lenya/sandbox/modules/forrest/config/cocoon-xconf/resourcetype-forrestDocument20.xconf?rev=647543&r1=647542&r2=647543&view=diff
==============================================================================
--- lenya/sandbox/modules/forrest/config/cocoon-xconf/resourcetype-forrestDocument20.xconf (original)
+++ lenya/sandbox/modules/forrest/config/cocoon-xconf/resourcetype-forrestDocument20.xconf Sun Apr 13 02:12:39 2008
@@ -39,9 +39,7 @@
<link-attribute xpath="//*/@src"/>
<format name="xhtml" uri="cocoon://modules/forrest/xhtml.xml"/>
<format name="webdavGET" uri="cocoon://modules/forrest/davget.xml"/>
- <!--
<format name="luceneIndex" uri="cocoon://modules/forrest/lucene-index"/>
- -->
<!-- "xslt-clean" format is used by webDAV (and other editors?) to "clean" xml content before it is validated/saved -->
<format name="xslt-clean" uri="fallback://lenya/modules/forrest/xslt/clean-xhtml.xsl"/>
<format name="icon" uri="cocoon://modules/forrest/icon"/>
Modified: lenya/sandbox/modules/forrest/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/sandbox/modules/forrest/sitemap.xmap?rev=647543&r1=647542&r2=647543&view=diff
==============================================================================
--- lenya/sandbox/modules/forrest/sitemap.xmap (original)
+++ lenya/sandbox/modules/forrest/sitemap.xmap Sun Apr 13 02:12:39 2008
@@ -40,22 +40,9 @@
<map:pipeline>
<!-- {pub-id}/{area}/{uuid}/{language} -->
- <map:match pattern="metadata/*/*/*/*">
- <map:generate type="lenyaMetaData" src="lenya-document:{3},pub={1},area={2},lang={4}"/>
- <map:serialize type="xml"/>
- </map:match>
-
- <!-- {pub-id}/{area}/{uuid}/{language} -->
<map:match pattern="lucene-index/*/*/*/*">
- <map:aggregate element="cmsbody">
- <map:part src="lenya-document:{3},pub={1},area={2},lang={4}"/>
- <map:part src="cocoon:/metadata/{1}/{2}/{3}/{4}"/>
- </map:aggregate>
-
- <map:transform src="fallback://lenya/modules/forrest/xslt/forrest2index.xsl">
- <map:parameter name="url" value="{request:requestURI}"/>
- </map:transform>
-
+ <map:generate src="lenya-document:{3},pub={1},area={2},lang={4}"/>
+ <map:transform src="fallback://lenya/modules/forrest/xslt/forrest2index.xsl"/>
<map:serialize type="xml"/>
</map:match>
</map:pipeline>
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.