gcasper     2003/08/10 00:52:42

  Modified:    src/blocks/webdav/samples/davmap sitemap.xmap
  Log:
  Added another matcher so that clicking the link on the samples page doesn't
  lead to a resource not found page
  
  Revision  Changes    Path
  1.3       +6 -0      cocoon-2.1/src/blocks/webdav/samples/davmap/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/webdav/samples/davmap/sitemap.xmap,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- sitemap.xmap      7 Aug 2003 19:50:03 -0000       1.2
  +++ sitemap.xmap      10 Aug 2003 07:52:42 -0000      1.3
  @@ -16,6 +16,12 @@
   <map:resources>
   
   <map:resource name="GET">
  +  <map:match pattern="repo/">
  +    <map:generate type="traverse" src="{global:staging}repo/">
  +      <map:parameter name="depth" value="1"/>
  +    </map:generate>
  +    <map:serialize type="xml"/>
  +  </map:match>
     <map:match pattern="**">
       <map:generate src="{global:staging}{1}"/>
       <map:serialize type="xml"/>
  
  
  

Reply via email to