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/02/16 15:20:39 UTC
svn commit: r154020 - in forrest/trunk/main/webapp: linkmap.xmap menu.xmap
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" />