cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject svn commit: r595304 - /cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-additional-sample/src/main/resources/COB-INF/slides/sitemap.xmap
Date Thu, 15 Nov 2007 13:56:01 GMT
Author: vgritsenko
Date: Thu Nov 15 05:56:00 2007
New Revision: 595304

URL: http://svn.apache.org/viewvc?rev=595304&view=rev
Log:
add redirect

Modified:
    cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-additional-sample/src/main/resources/COB-INF/slides/sitemap.xmap

Modified: cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-additional-sample/src/main/resources/COB-INF/slides/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-additional-sample/src/main/resources/COB-INF/slides/sitemap.xmap?rev=595304&r1=595303&r2=595304&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-additional-sample/src/main/resources/COB-INF/slides/sitemap.xmap
(original)
+++ cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-additional-sample/src/main/resources/COB-INF/slides/sitemap.xmap
Thu Nov 15 05:56:00 2007
@@ -16,37 +16,40 @@
   limitations under the License.
 -->
 
-<!-- CVS $Id$ -->
-
+<!--
+  - $Id$
+  -->
 <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
 
   <map:pipelines>
-
     <map:pipeline>
 
+      <map:match pattern="">
+        <map:redirect-to uri="slides"/>
+      </map:match>
+
       <map:match pattern="slides">
-        <map:generate src="slides.xml" />
+        <map:generate src="slides.xml"/>
         <map:transform src="stylesheets/navigation.xsl">
-          <map:parameter name="use-request-parameters" value="true" />
+          <map:parameter name="use-request-parameters" value="true"/>
         </map:transform>
-        <map:transform src="stylesheets/slides2html.xsl" />
-        <map:serialize />
+        <map:transform src="stylesheets/slides2html.xsl"/>
+        <map:serialize/>
       </map:match>
 
       <map:match pattern="style">
-        <map:read mime-type="text/css" src="stylesheets/slides.css" />
+        <map:read mime-type="text/css" src="stylesheets/slides.css"/>
       </map:match>
 
       <map:match pattern="figures/**">
-        <map:read src="figures/{1}" />
+        <map:read src="figures/{1}"/>
       </map:match>
 
       <map:match pattern="images/**">
-        <map:read src="images/{1}" />
+        <map:read src="images/{1}"/>
       </map:match>
 
     </map:pipeline>
-
   </map:pipelines>
 
 </map:sitemap>



Mime
View raw message