crossley    2003/07/19 22:17:13

  Modified:    src/blocks/asciiart/samples sitemap.xmap
  Log:
  Add re-direct for the empty URI.
  
  Revision  Changes    Path
  1.2       +5 -10     cocoon-2.1/src/blocks/asciiart/samples/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/asciiart/samples/sitemap.xmap,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sitemap.xmap      20 Jul 2003 04:47:28 -0000      1.1
  +++ sitemap.xmap      20 Jul 2003 05:17:13 -0000      1.2
  @@ -2,30 +2,25 @@
   
   <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0";>
   
  -<!-- =========================== Components ================================ 
-->
  -
    <map:components>
   
  -<!-- =========================== Generators 
================================= -->
  -
     <map:generators default="file">
      <map:generator name="asciiart-svg" 
logger="sitemap.generator.asciiart-svg" 
                     
src="org.apache.cocoon.generation.asciiart.AsciiArtSVGGenerator"/>
     </map:generators>
   
  -<!-- =========================== Transformers 
================================= -->
  -<!-- =========================== Readers ================================= 
-->
  -<!-- =========================== Serializers 
================================= -->
  -<!-- =========================== Matchers ================================= 
-->
  -<!-- ====================== Pipelines defintions 
============================= -->
    </map:components>
   
  -
   <!-- =========================== Pipelines ================================= 
-->
   
    <map:pipelines>
   
     <map:pipeline>   
  + 
  +   <map:match pattern="">
  +    <map:redirect-to uri="welcome"/>
  +   </map:match>
  +
      <map:match pattern="welcome">
        <map:generate type="directory" src="data">
          <map:parameter name="include" value="\.txt$"/>
  
  
  

Reply via email to