You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by th...@apache.org on 2005/10/24 10:40:29 UTC
svn commit: r327994 -
/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/internal.xmap
Author: thorsten
Date: Mon Oct 24 01:40:01 2005
New Revision: 327994
URL: http://svn.apache.org/viewcvs?rev=327994&view=rev
Log:
removed the comments for the locationmap. removed map:ressources because they are not needed anymore. Added the same configuration for the linkrewritting like we have in the main sitemap.xmap.
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/internal.xmap
Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/internal.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/internal.xmap?rev=327994&r1=327993&r2=327994&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/internal.xmap (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/internal.xmap Mon Oct 24 01:40:01 2005
@@ -74,11 +74,25 @@
<map:transformer name="linkrewriter"
logger="sitemap.transformer.linkrewriter"
src="org.apache.cocoon.transformation.LinkRewriterTransformer">
- <link-attrs>uri</link-attrs>
- <schemes>lm</schemes>
+ <link-attrs>href src</link-attrs>
+ <schemes>site ext lm</schemes>
+
<input-module name="lm" />
+ <input-module name="site">
+ <input-module name="linkmap">
+ <file src="{src}" reloadable="true" />
+ </input-module>
+ <prefix>/site//</prefix>
+ <suffix>/@href</suffix>
+ </input-module>
+ <input-module name="ext">
+ <input-module name="linkmap">
+ <file src="{src}" reloadable="true" />
+ </input-module>
+ <prefix>/site/external-refs//</prefix>
+ <suffix>/@href</suffix>
+ </input-module>
</map:transformer>
-
</map:transformers>
<map:serializers default="xml">
<map:serializer logger="sitemap.serializer.xhtml"
@@ -102,38 +116,6 @@
src="org.apache.forrest.plugin.internal.view.acting.FallbackResolverAction" />
</map:actions>
</map:components>
- <map:resources>
- <map:resource name="skinit">
- <map:select type="exists">
- <map:when
- test="{project:skins-dir}{project:theme}/xslt/html/{type}.xsl">
- <map:transform
- src="{project:skins-dir}{project:theme}/xslt/html/{type}.xsl">
- <map:parameter name="notoc" value="{notoc}" />
- <!-- FIXME: do we need this anymore? -->
- <!-- For backwards-compat with 0.2 - 0.4 skins -->
- <map:parameter name="isfaq" value="{notoc}" />
- <map:parameter name="nopdf" value="{nopdf}" />
- <map:parameter name="path" value="{path}" />
- <map:parameter name="config-file"
- value="{project:skinconf}" />
- </map:transform>
- </map:when>
- <map:otherwise>
- <map:transform src="resources/stylesheets/html/{type}.xsl">
- <map:parameter name="notoc" value="{notoc}" />
- <!-- For backwards-compat with 0.2 - 0.4 skins -->
- <map:parameter name="isfaq" value="{notoc}" />
- <map:parameter name="nopdf" value="{nopdf}" />
- <map:parameter name="path" value="{path}" />
- <map:parameter name="config-file"
- value="{project:skinconf}" />
- </map:transform>
- </map:otherwise>
- </map:select>
- <map:serialize />
- </map:resource>
- </map:resources>
<map:pipelines>
<map:pipeline>
<!-- businessHelper -->
@@ -141,14 +123,13 @@
pass-through="true" />
</map:pipeline>
<!-- linkmap -->
-<!-- FIXME: Uncomment if jxpath is fixed.
+ <!--FIXME: Uncomment if jxpath is fixed.-->
<map:pipeline>
<map:mount uri-prefix="" src="linkmap.xmap" check-reload="yes"
pass-through="true" />
</map:pipeline>
--->
+
<map:pipeline>
- <!-- themer interface FIXME thorsten finish the xmap-->
<map:mount uri-prefix="" src="themer.xmap" check-reload="yes"
pass-through="true" />
</map:pipeline>