forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r265511 - in /forrest/trunk/main/webapp: linkmap.xmap sitemap.xmap
Date Wed, 31 Aug 2005 15:31:27 GMT
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>
 



Mime
View raw message