cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r329307 - in /cocoon/whiteboard/daisy-to-docs/src/documentation: content/locationmap.xml content/xdocs/site.xml content/xdocs/tabs.xml sitemap.xmap
Date Fri, 28 Oct 2005 21:32:09 GMT
Author: rgardler
Date: Fri Oct 28 14:31:50 2005
New Revision: 329307

URL: http://svn.apache.org/viewcvs?rev=329307&view=rev
Log:
use daisy navigation documents to define Url space

Added:
    cocoon/whiteboard/daisy-to-docs/src/documentation/sitemap.xmap   (with props)
Removed:
    cocoon/whiteboard/daisy-to-docs/src/documentation/content/locationmap.xml
Modified:
    cocoon/whiteboard/daisy-to-docs/src/documentation/content/xdocs/site.xml
    cocoon/whiteboard/daisy-to-docs/src/documentation/content/xdocs/tabs.xml

Modified: cocoon/whiteboard/daisy-to-docs/src/documentation/content/xdocs/site.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/daisy-to-docs/src/documentation/content/xdocs/site.xml?rev=329307&r1=329306&r2=329307&view=diff
==============================================================================
--- cocoon/whiteboard/daisy-to-docs/src/documentation/content/xdocs/site.xml (original)
+++ cocoon/whiteboard/daisy-to-docs/src/documentation/content/xdocs/site.xml Fri Oct 28 14:31:50
2005
@@ -20,9 +20,9 @@
   tab="docs"
   xmlns:xi="http://www.w3.org/2001/XInclude">
   
-  <xi:include href="cocoon://655.daisy.navigation"/>
+  <xi:include href="cocoon://daisy.site.655"/>
   
-  <externalDocs label="external" dir="externalDocs/">
+  <externalDocs label="External" dir="externalDocs/">
     <getTogether label="2005 Get Together" href="http://wiki.apache.org/cocoon/GT2005Hackaton"/>
   </externalDocs>
 

Modified: cocoon/whiteboard/daisy-to-docs/src/documentation/content/xdocs/tabs.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/daisy-to-docs/src/documentation/content/xdocs/tabs.xml?rev=329307&r1=329306&r2=329307&view=diff
==============================================================================
--- cocoon/whiteboard/daisy-to-docs/src/documentation/content/xdocs/tabs.xml (original)
+++ cocoon/whiteboard/daisy-to-docs/src/documentation/content/xdocs/tabs.xml Fri Oct 28 14:31:50
2005
@@ -32,8 +32,7 @@
    Tabs can be embedded to a depth of two. The second level of tabs will only 
     be displayed when their parent tab is selected.    
   -->
-
-  <tab id="home" label="Home" dir="" indexfile="index.html"/>
+  <tab id="home" label="Home" dir="2.1" indexfile="index.html"/>
   <!-- Add new tabs here, eg:
   <tab label="How-Tos" dir="community/howto/"/>
   <tab label="XML Site" dir="xml-site/"/>

Added: cocoon/whiteboard/daisy-to-docs/src/documentation/sitemap.xmap
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/daisy-to-docs/src/documentation/sitemap.xmap?rev=329307&view=auto
==============================================================================
--- cocoon/whiteboard/daisy-to-docs/src/documentation/sitemap.xmap (added)
+++ cocoon/whiteboard/daisy-to-docs/src/documentation/sitemap.xmap Fri Oct 28 14:31:50 2005
@@ -0,0 +1,66 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+  <map:pipelines>
+    <map:pipeline>
+
+      <map:match pattern="locationmap-project.xml">
+        <map:generate src="http://publish:publish@cocoon.zones.apache.org:9263/publisher/blob?documentId=655&amp;version=live&amp;partType=1"/>
+        <map:transform src="{forrest:plugins}/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/navigation-to-locationmap.xsl">
+          <map:parameter name="publisherURL" value="http://publish:publish@cocoon.zones.apache.org:9263/publisher/"/>
+          <map:parameter name="pathPrefix" value="2.1/"/>
+        </map:transform>
+        <map:serialize type="xml"/>
+      </map:match>
+
+      <map:match pattern="2.1/*.xml">
+        <map:aggregate element="daisyDocument">
+          <map:part src="cocoon://2.1/{1}.daisy.source" />
+          <map:part src="cocoon://daisy.site.655" />
+        </map:aggregate>
+        <map:transform src="{forrest:plugins}/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/daisy-to-html.xsl">
+          <map:parameter name="pathPrefix" value="/2.1/"/>
+        </map:transform>
+        <map:transform src="{lm:transform.html.document}"/>
+        <map:select type="exists">
+          <map:when test="{project:resources.stylesheets}/daisy/postFilter.xsl">
+            <map:transform src="{project:resources.stylesheets}/daisy/postFilter.xsl"/>
+          </map:when>
+        </map:select>
+        <map:serialize type="xml"/>
+      </map:match>
+
+      <map:match pattern="2.1/**.xml">
+        <map:aggregate element="daisyDocument">
+          <map:part src="cocoon://2.1/{1}.daisy.source" />
+          <map:part src="cocoon://daisy.site.655" />
+        </map:aggregate>
+        <map:transform src="{forrest:plugins}/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/daisy-to-html.xsl">
+          <map:parameter name="pathPrefix" value="/2.1/"/>
+        </map:transform>
+        <map:transform src="{lm:transform.html.document}"/>
+        <map:select type="exists">
+          <map:when test="{project:resources.stylesheets}/daisy/postFilter.xsl">
+            <map:transform src="{project:resources.stylesheets}/daisy/postFilter.xsl"/>
+          </map:when>
+        </map:select>
+        <map:serialize type="xml"/>
+      </map:match>
+    </map:pipeline>
+  </map:pipelines>
+</map:sitemap>

Propchange: cocoon/whiteboard/daisy-to-docs/src/documentation/sitemap.xmap
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message