forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r154020 - in forrest/trunk/main/webapp: linkmap.xmap menu.xmap
Date Wed, 16 Feb 2005 14:20:39 GMT
Author: rgardler
Date: Wed Feb 16 06:20:37 2005
New Revision: 154020

URL: http://svn.apache.org/viewcvs?view=rev&rev=154020
Log:
use cocoon protocol to retrieve site.xml file, this allows user sitemaps to generate site.xml
dynamically

Modified:
    forrest/trunk/main/webapp/linkmap.xmap
    forrest/trunk/main/webapp/menu.xmap

Modified: forrest/trunk/main/webapp/linkmap.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/linkmap.xmap?view=diff&r1=154019&r2=154020
==============================================================================
--- forrest/trunk/main/webapp/linkmap.xmap (original)
+++ forrest/trunk/main/webapp/linkmap.xmap Wed Feb 16 06:20:37 2005
@@ -49,7 +49,7 @@
       
       <!-- site.xml with @href's appended to be context-relative. -->
       <map:match pattern="abs-linkmap">
-        <map:generate src="{project:content.xdocs}site.xml" />
+        <map:generate src="cocoon://site.xml" />
         <map:transform type="xinclude"/>
         <map:transform src="{forrest:stylesheets}/absolutize-linkmap.xsl" />
         <map:serialize type="xml" />

Modified: forrest/trunk/main/webapp/menu.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/menu.xmap?view=diff&r1=154019&r2=154020
==============================================================================
--- forrest/trunk/main/webapp/menu.xmap (original)
+++ forrest/trunk/main/webapp/menu.xmap Wed Feb 16 06:20:37 2005
@@ -61,7 +61,7 @@
 
     <map:pipeline internal-only="false">
       <map:match pattern="abs-menulinks">
-        <map:generate src="{project:content.xdocs}site.xml" />
+        <map:generate src="cocoon://site.xml" />
         <map:transform type="xinclude"/>
         <map:transform src="{forrest:stylesheets}/absolutize-linkmap.xsl" />
         <map:transform src="{forrest:stylesheets}/site2site-normalizetabs.xsl" />
@@ -70,7 +70,7 @@
       </map:match>
 
       <map:match pattern="**menulinks-*">
-        <map:generate src="{project:content.xdocs}site.xml" />
+        <map:generate src="cocoon://site.xml" />
         <map:transform type="xinclude"/>
         <map:transform src="{forrest:stylesheets}/absolutize-linkmap.xsl" />
 



Mime
View raw message