You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2006/06/12 16:27:41 UTC
svn commit: r413665 - /lenya/trunk/src/modules/xhtml/sitemap.xmap
Author: andreas
Date: Mon Jun 12 07:27:40 2006
New Revision: 413665
URL: http://svn.apache.org/viewvc?rev=413665&view=rev
Log:
Add meta data to lucune-index.xml for xhtml resource type
Modified:
lenya/trunk/src/modules/xhtml/sitemap.xmap
Modified: lenya/trunk/src/modules/xhtml/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/xhtml/sitemap.xmap?rev=413665&r1=413664&r2=413665&view=diff
==============================================================================
--- lenya/trunk/src/modules/xhtml/sitemap.xmap (original)
+++ lenya/trunk/src/modules/xhtml/sitemap.xmap Mon Jun 12 07:27:40 2006
@@ -37,11 +37,19 @@
<!-- search pipeline -->
<map:pipeline>
+
+ <map:match pattern="metadata.xml">
+ <map:generate type="lenyaMetaData">
+ <map:parameter name="docid" value="{page-envelope:document-id}"/>
+ <map:parameter name="lang" value="{page-envelope:document-language}"/>
+ </map:generate>
+ <map:serialize type="xml"/>
+ </map:match>
+
<map:match pattern="lucene-index.xml">
<map:aggregate element="cmsbody">
- <!-- TODO aggregate meta file -->
- <!-- <map:part src="cocoon:/modules/{page-envelope:document-type}/view.xml"/> -->
<map:part src="lenyadoc:/{page-envelope:document-language}/{page-envelope:document-id}"/>
+ <map:part src="cocoon:/metadata.xml"/>
</map:aggregate>
<map:transform src="fallback://lenya/modules/xhtml/xslt/xhtml2index.xsl">
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org