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:16:41 UTC

svn commit: r413664 - in /lenya/trunk/src: pubs/default/sitemap.xmap webapp/lenya/config/sitemap/generators.xmap

Author: andreas
Date: Mon Jun 12 07:16:41 2006
New Revision: 413664

URL: http://svn.apache.org/viewvc?rev=413664&view=rev
Log:
Moved declaration of LenyaMetaDataGenerator from default publication to core

Added:
    lenya/trunk/src/webapp/lenya/config/sitemap/generators.xmap
Modified:
    lenya/trunk/src/pubs/default/sitemap.xmap

Modified: lenya/trunk/src/pubs/default/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/sitemap.xmap?rev=413664&r1=413663&r2=413664&view=diff
==============================================================================
--- lenya/trunk/src/pubs/default/sitemap.xmap (original)
+++ lenya/trunk/src/pubs/default/sitemap.xmap Mon Jun 12 07:16:41 2006
@@ -20,11 +20,6 @@
 <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
 
   <map:components>
-    <map:generators default="file">
-      <map:generator label="content" logger="sitemap.generator.directory"
-        name="lenyaMetaData" pool-max="16"
-        src="org.apache.lenya.cms.cocoon.generation.LenyaMetaDataGenerator"/>
-    </map:generators>
     <map:serializers default="xhtml">
       <map:serializer logger="sitemap.serializer.links" name="links" src="org.apache.lenya.cms.cocoon.serialization.LinkSerializer"/>
     </map:serializers>

Added: lenya/trunk/src/webapp/lenya/config/sitemap/generators.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/webapp/lenya/config/sitemap/generators.xmap?rev=413664&view=auto
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/sitemap/generators.xmap (added)
+++ lenya/trunk/src/webapp/lenya/config/sitemap/generators.xmap Mon Jun 12 07:16:41 2006
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed 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.
+-->
+
+<xmap xpath="/sitemap/components/generators" 
+  unless="/sitemap/components/generators/generator[@name = 'lenyaMetaData']"
+  xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+
+  <map:generator label="content" logger="sitemap.generator.lenyaMetaData"
+    name="lenyaMetaData" pool-max="16"
+    src="org.apache.lenya.cms.cocoon.generation.LenyaMetaDataGenerator"/>
+  
+</xmap>
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org