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 2006/08/04 12:53:48 UTC
svn commit: r428691 -
/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/input.xmap
Author: rgardler
Date: Fri Aug 4 03:53:47 2006
New Revision: 428691
URL: http://svn.apache.org/viewvc?rev=428691&view=rev
Log:
add a hack to make the cocoon docs FAQ swectionwork again. This is a workaround not a fix, I've added plenty of comments to help guide a fix when more time is available.
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/input.xmap
Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/input.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/input.xmap?rev=428691&r1=428690&r2=428691&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/input.xmap (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/input.xmap Fri Aug 4 03:53:47 2006
@@ -58,6 +58,19 @@
<!-- ============================================================== -->
<map:pipeline>
+
+ <!-- Workaround: When Cocoondocs are generated the FAQ index page (id 856)
+ has URLs that have the *.daisy.html extension. I don't have the time
+ now to work out why this is, so the match below is a quick hack to get the
+ FAQ pages working again -->
+ <!--<map:match pattern="{project:daisy.pathPrefix}*.daisy.xml">-->
+ <map:match pattern="2.1/806.daisy.xml">
+ <map:call resource="daisy-to-document">
+ <map:parameter name="docID" value="806"/>
+ <map:parameter name="path" value="{0}"/>
+ </map:call>
+ </map:match>
+
<map:match pattern="{project:daisy.pathPrefix}*{project:daisy.fileExt}.xml">
<map:call resource="daisy-to-document">
<map:parameter name="docID" value="{1}"/>
Re: svn commit: r428691 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/input.xmap
Posted by Ross Gardler <rg...@apache.org>.
rgardler@apache.org wrote:
> Author: rgardler
> Date: Fri Aug 4 03:53:47 2006
> New Revision: 428691
>
> URL: http://svn.apache.org/viewvc?rev=428691&view=rev
> Log:
> add a hack to make the cocoon docs FAQ swectionwork again. This is a workaround not a fix, I've added plenty of comments to help guide a fix when more time is available.
>
> Modified:
> forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/input.xmap
>
> Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/input.xmap
> URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/input.xmap?rev=428691&r1=428690&r2=428691&view=diff
> ==============================================================================
> --- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/input.xmap (original)
> +++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/input.xmap Fri Aug 4 03:53:47 2006
> @@ -58,6 +58,19 @@
> <!-- ============================================================== -->
>
> <map:pipeline>
> +
> + <!-- Workaround: When Cocoondocs are generated the FAQ index page (id 856)
> + has URLs that have the *.daisy.html extension. I don't have the time
> + now to work out why this is, so the match below is a quick hack to get the
> + FAQ pages working again -->
> + <!--<map:match pattern="{project:daisy.pathPrefix}*.daisy.xml">-->
> + <map:match pattern="2.1/806.daisy.xml">
> + <map:call resource="daisy-to-document">
> + <map:parameter name="docID" value="806"/>
> + <map:parameter name="path" value="{0}"/>
> + </map:call>
> + </map:match>
Ooops I'm asleep today. That is my testing code. Adding a proper
workardoun in a moment.
Ross