cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From un...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/webdav/samples/davmap sitemap.xmap
Date Mon, 03 Nov 2003 17:16:16 GMT
unico       2003/11/03 09:16:16

  Modified:    src/blocks/webdav/samples/davmap sitemap.xmap
  Log:
  proper dates for PROPFIND, make COPY and MOVE work
  
  Revision  Changes    Path
  1.11      +9 -6      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.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- sitemap.xmap	3 Nov 2003 08:37:25 -0000	1.10
  +++ sitemap.xmap	3 Nov 2003 17:16:16 -0000	1.11
  @@ -44,7 +44,7 @@
       <map:matchers default="wildcard">
         <map:matcher 
           name="destination"
  -        src="org.apache.cocoon.matching.WildcardHeaderMatcher"
  +        src="org.apache.cocoon.matching.WildcardHeaderMatcher" 
         >
           <header-name>Destination</header-name>
         </map:matcher>
  @@ -133,11 +133,13 @@
           </map:match>
           <map:generate type="traverse" src="{global:staging}{1}">
             <map:parameter name="depth" value="1"/>
  -          <map:parameter name="dateFormat" value="EEE, d MMM yyyy HH:mm:ss Z" />
  +          <map:parameter name="dateFormat" value="EEE, d MMM yyyy HH:mm:ss z" />
  +          <map:parameter name="timeZone" value="GMT" />
           </map:generate>
           <map:transform src="styles/collection2html.xsl">
             <map:parameter name="requestURI" value="{request:requestURI}" />
  -          <map:parameter name="footer" value="{cocoon-properties:fullname} {cocoon-properties:released.version}"
/>
  +          <map:parameter name="footer" 
  +            value="{cocoon-properties:fullname} {cocoon-properties:released.version}" />
           </map:transform>
           <map:serialize type="html"/>
         </map:match>
  @@ -145,7 +147,8 @@
         <map:match pattern="PROPFIND/**">
           <map:generate type="traverse" src="{global:staging}{1}">
             <map:parameter name="depth" value="{request-header:Depth}" />
  -          <map:parameter name="dateFormat" value="EEE, d MMM yyyy HH:mm:ss Z" />
  +          <map:parameter name="dateFormat" value="EEE, d MMM yyyy HH:mm:ss z" />
  +          <map:parameter name="timeZone" value="GMT" />
           </map:generate>
           <map:transform src="styles/collection2propfind.xsl">
             <map:parameter name="requestURI" value="{request:requestURI}" />
  @@ -202,7 +205,7 @@
         </map:match>
         
         <map:match pattern="COPY/**">
  -        <map:match pattern="http://*/**" type="destination">
  +        <map:match pattern="http://**/repo/**" type="destination">
             <map:call function="copy">
               <map:parameter name="from" value="{global:staging}{../1}" />
               <map:parameter name="to"   value="{global:staging}/{2}" />
  @@ -211,7 +214,7 @@
         </map:match>
         
         <map:match pattern="MOVE/**">
  -        <map:match pattern="http://*/**" type="destination">
  +        <map:match pattern="http://**/repo/**" type="destination">
             <map:call function="move">
               <map:parameter name="from" value="{global:staging}{../1}" />
               <map:parameter name="to"   value="{global:staging}/{2}" />
  
  
  

Mime
View raw message