You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by rg...@apache.org on 2005/08/31 17:31:27 UTC
svn commit: r265511 - in /forrest/trunk/main/webapp: linkmap.xmap
sitemap.xmap
Author: rgardler
Date: Wed Aug 31 08:31:20 2005
New Revision: 265511
URL: http://svn.apache.org/viewcvs?rev=265511&view=rev
Log:
add linkmap.source.xml matcher to prevent broken links when source.xml template is used
Modified:
forrest/trunk/main/webapp/linkmap.xmap
forrest/trunk/main/webapp/sitemap.xmap
Modified: forrest/trunk/main/webapp/linkmap.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/linkmap.xmap?rev=265511&r1=265510&r2=265511&view=diff
==============================================================================
--- forrest/trunk/main/webapp/linkmap.xmap (original)
+++ forrest/trunk/main/webapp/linkmap.xmap Wed Aug 31 08:31:20 2005
@@ -41,6 +41,11 @@
<map:pipelines>
<map:pipeline>
+ <map:match pattern="linkmap.source.xml">
+ <map:generate src="cocoon://linkmap.xml" />
+ <map:serialize type="xml" />
+ </map:match>
+
<map:match pattern="linkmap.xml">
<map:generate src="cocoon://abs-linkmap" />
<map:transform src="{forrest:stylesheets}/linkmap2document.xsl"/>
Modified: forrest/trunk/main/webapp/sitemap.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/sitemap.xmap?rev=265511&r1=265510&r2=265511&view=diff
==============================================================================
--- forrest/trunk/main/webapp/sitemap.xmap (original)
+++ forrest/trunk/main/webapp/sitemap.xmap Wed Aug 31 08:31:20 2005
@@ -395,7 +395,7 @@
<map:serialize type="xml"/>
</map:match>
- <map:match pattern="linkmap.xml">
+ <map:match pattern="linkmap.*">
<map:mount uri-prefix="" src="linkmap.xmap" check-reload="yes" />
</map:match>