forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r428691 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/input.xmap
Date Fri, 04 Aug 2006 10:53:48 GMT
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}"/>



Mime
View raw message