You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2006/06/27 19:10:28 UTC
svn commit: r417522 - /lenya/trunk/src/pubs/default/sitemap.xmap
Author: michi
Date: Tue Jun 27 10:10:28 2006
New Revision: 417522
URL: http://svn.apache.org/viewvc?rev=417522&view=rev
Log:
use the neutron module instead files within core
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=417522&r1=417521&r2=417522&view=diff
==============================================================================
--- lenya/trunk/src/pubs/default/sitemap.xmap (original)
+++ lenya/trunk/src/pubs/default/sitemap.xmap Tue Jun 27 10:10:28 2006
@@ -68,14 +68,15 @@
<!-- Introspection -->
<map:pipeline>
<map:match pattern="*/**/introspection.xml">
- <map:generate src="context:/lenya/content/util/empty.xml"/>
- <map:transform src="context:/lenya/xslt/util/introspection.xsl">
- <map:parameter name="context" value="{page-envelope:context-prefix}"/>
- <map:parameter name="publication" value="{page-envelope:publication-id}"/>
- <map:parameter name="area" value="{1}"/>
- <map:parameter name="page-id" value="{2}"/>
- </map:transform>
- <map:serialize type="xml"/>
+ <map:select type="resource-exists">
+ <map:when test="fallback://lenya/modules/neutron/sitemap.xmap">
+ <map:mount uri-prefix="" src="{fallback:lenya/modules/neutron/sitemap.xmap}" check-reload="true" reload-method="synchron"/>
+ </map:when>
+ <map:otherwise>
+ <map:generate src="context:/lenya/content/util/empty.xml"/>
+ <map:serialize type="xml"/>
+ </map:otherwise>
+ </map:select>
</map:match>
</map:pipeline>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org