cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From step...@apache.org
Subject cvs commit: xml-cocoon2/src/blocks/slide/samples sitemap.xmap
Date Wed, 26 Feb 2003 15:28:32 GMT
stephan     2003/02/26 07:28:32

  Modified:    src/blocks/slide/samples sitemap.xmap
  Log:
  Removed experimental stuff
  
  Revision  Changes    Path
  1.5       +3 -16     xml-cocoon2/src/blocks/slide/samples/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/blocks/slide/samples/sitemap.xmap,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- sitemap.xmap	15 Feb 2003 23:01:48 -0000	1.4
  +++ sitemap.xmap	26 Feb 2003 15:28:32 -0000	1.5
  @@ -25,16 +25,7 @@
      <map:transformer name="log" src="org.apache.cocoon.transformation.LogTransformer"/>
     </map:transformers>
   
  -  <map:readers default="resource">
  -   <map:reader     logger="sitemap.reader.webdav" name="webdav"  
  -                   src="org.apache.cocoon.reading.WebdavReader">
  -    <parameter name="scope"              value="/files"/>
  -    <parameter name="depth-limit"        value="3"/>
  -    <parameter name="default-mime-type"  value="application/octet-stream"/>
  -    <parameter name="namespace"          value="myrepository"/>
  -    <parameter name="directory-browsing" value="true"/>
  -   </map:reader>
  -  </map:readers>
  +  <map:readers default="resource"/>
     <map:serializers default="html">
      <map:serializer logger="sitemap.serializer.xml" mime-type="text/xml" name="xml"
                      src="org.apache.cocoon.serialization.XMLSerializer"/>
  @@ -90,7 +81,7 @@
   
    <map:resources>
     <map:resource name="description">
  -   <map:generate type="sourcedescription" src="slide://{1}?cocoon-source-principal={../../ID}">
  +   <map:generate type="sourcedescription" src="slide:/{1}?cocoon-source-principal={../../ID}">
       <map:parameter name="repository" value="slide"/>
       <map:parameter name="namespace" value="myrepository"/>
       <map:parameter name="properties" value="true"/>
  @@ -257,7 +248,7 @@
        <!-- ============= Source direct ================== -->
   
        <map:match pattern="view/**">
  -      <map:read src="slide://{1}?cocoon-source-principal={../ID}"/>
  +      <map:read src="slide:/{1}?cocoon-source-principal={../ID}"/>
        </map:match>
   
        <!-- ============= Repository users =============== -->
  @@ -273,10 +264,6 @@
         </map:generate>
         <map:transform src="principal2html4users.xsl"/>
         <map:serialize type="html"/>
  -     </map:match>
  -
  -     <map:match pattern="webdav/**">
  -      <map:read type="webdav" src="/{1}"/>
        </map:match>
   
       </map:act>
  
  
  

Mime
View raw message