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 2008/03/23 23:32:16 UTC
svn commit: r640266 - in /lenya/trunk/src:
modules-core/metadata/sitemap.xmap modules/xhtml/sitemap.xmap
Author: andreas
Date: Sun Mar 23 15:32:12 2008
New Revision: 640266
URL: http://svn.apache.org/viewvc?rev=640266&view=rev
Log:
Moving meta data pipelien to metadata module.
Added:
lenya/trunk/src/modules-core/metadata/sitemap.xmap
Modified:
lenya/trunk/src/modules/xhtml/sitemap.xmap
Added: lenya/trunk/src/modules-core/metadata/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/metadata/sitemap.xmap?rev=640266&view=auto
==============================================================================
--- lenya/trunk/src/modules-core/metadata/sitemap.xmap (added)
+++ lenya/trunk/src/modules-core/metadata/sitemap.xmap Sun Mar 23 15:32:12 2008
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+
+ <map:pipelines>
+
+ <map:pipeline type="noncaching">
+
+ <!-- {1:pub-id}/{2:area}/{3:uuid}/{4:language} -->
+ <map:match pattern="*/*/*/*">
+ <map:generate type="lenyaMetaData" src="lenya-document:{3},pub={1},area={2},lang={4}"/>
+ <map:serialize type="xml"/>
+ </map:match>
+
+ </map:pipeline>
+
+ </map:pipelines>
+</map:sitemap>
Modified: lenya/trunk/src/modules/xhtml/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/xhtml/sitemap.xmap?rev=640266&r1=640265&r2=640266&view=diff
==============================================================================
--- lenya/trunk/src/modules/xhtml/sitemap.xmap (original)
+++ lenya/trunk/src/modules/xhtml/sitemap.xmap Sun Mar 23 15:32:12 2008
@@ -40,16 +40,10 @@
<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:part src="cocoon://modules/metadata/{1}/{2}/{3}/{4}"/>
</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