cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@locus.apache.org
Subject cvs commit: xml-cocoon/webapp sitemap.xmap
Date Wed, 23 Aug 2000 13:08:46 GMT
stefano     00/08/23 06:08:46

  Modified:    webapp   Tag: xml-cocoon2 sitemap.xmap
  Log:
  fixed some bugs
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.2   +33 -15    xml-cocoon/webapp/Attic/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/webapp/Attic/sitemap.xmap,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- sitemap.xmap	2000/08/21 17:48:37	1.1.2.1
  +++ sitemap.xmap	2000/08/23 13:08:45	1.1.2.2
  @@ -7,10 +7,10 @@
    <map:components>
   
     <map:generators default="file"> 
  -   <map:generator  name="file"        src="org.apache.cocoon.generation.FileGenerator"/>

  +   <map:generator  name="file"        src="org.apache.cocoon.generation.FileGenerator"
label="content"/> 
  +   <map:generator  name="directory"   src="org.apache.cocoon.generation.DirectoryGenerator"
label="content"/> 
  +   <map:generator  name="serverpages" src="org.apache.cocoon.generation.ServerPagesGenerator"
label="content"/> 
      <map:generator  name="request"     src="org.apache.cocoon.generation.RequestGenerator"/>

  -   <map:generator  name="directory"   src="org.apache.cocoon.generation.DirectoryGenerator"/>

  -   <map:generator  name="serverpages" src="org.apache.cocoon.generation.ServerPagesGenerator"/>

      <map:generator  name="status"      src="org.apache.cocoon.generation.StatusGenerator"/>
  
     </map:generators> 
    
  @@ -28,6 +28,7 @@
     </map:readers> 
      
     <map:serializers default="html"> 
  +   <map:serializer name="links"                               src="org.apache.cocoon.serialization.LinkSerializer"/>

      <map:serializer name="xml"     mime-type="text/xml"        src="org.apache.cocoon.serialization.XMLSerializer"/>

      <map:serializer name="html"    mime-type="text/html"       src="org.apache.cocoon.serialization.HTMLSerializer"/>

      <map:serializer name="fo2pdf"  mime-type="application/pdf" src="org.apache.cocoon.serialization.FOPSerializer"/>
  @@ -55,13 +56,20 @@
   <!-- =========================== Views =================================== --> 
   
    <map:views>
  +  <map:view name="content" generate-from="content">
  +   <map:serialize type="xml"/>
  +  </map:view>
  +
  +  <map:view name="links" generate-from="content">
  +   <map:serialize type="links"/>
  +  </map:view>
    </map:views>
   
   <!-- =========================== Resources ================================= -->

   
    <map:resources>
     <map:resource name="slides">
  -   <map:generate src="documents/slides/slides.xml"/> 
  +   <map:generate src="docs/samples/slides/slides.xml"/> 
      <map:transform src="stylesheets/slides-navigation.xsl"/> 
      <map:transform src="stylesheets/slides-apachecon.xsl"/> 
      <map:serialize/> 
  @@ -87,6 +95,18 @@
       <map:serialize type="html"/> 
      </map:match>
   
  +   <map:match pattern="hello.wml">
  +    <map:generate src="docs/samples/hello-page.xml"/> 
  +    <map:transform src="stylesheets/page/simple-page2wml.xsl"/> 
  +    <map:serialize type="wap"/> 
  +   </map:match>
  +
  +   <map:match pattern="hello.vml">
  +    <map:generate src="docs/samples/hello-page.xml"/> 
  +    <map:transform src="stylesheets/page/simple-page2vml.xsl"/> 
  +    <map:serialize type="xml"/> 
  +   </map:match>
  +
      <map:match pattern="hello.svg">
       <map:generate src="docs/samples/hello-page.xml"/> 
       <map:transform src="stylesheets/page/simple-page2svg.xsl"/> 
  @@ -99,12 +119,6 @@
       <map:serialize type="vrml"/> 
      </map:match>
   
  -   <map:match pattern="hello.wml">
  -    <map:generate src="docs/samples/hello-page.xml"/> 
  -    <map:transform src="stylesheets/page/simple-page2wml.xsl"/> 
  -    <map:serialize type="wap"/> 
  -   </map:match>
  -
      <map:match pattern="hello.pdf">
       <map:generate src="docs/samples/hello-page.xml"/> 
       <map:transform src="stylesheets/page/simple-page2fo.xsl"/> 
  @@ -114,11 +128,15 @@
      <!-- ================  Sites  =========================== -->  
   
      <map:match pattern="sites/*.apache.org"> 
  -    <map:generate src="docs/sites/{1}_apache_org.xml"/> 
  +    <map:generate src="docs/samples/sites/{1}_apache_org.xml"/> 
       <map:transform src="stylesheets/sites/{1}_apache_org-html.xsl"/> 
       <map:serialize/> 
      </map:match>
   
  +   <map:match pattern="sites/images/*.gif"> 
  +    <map:read src="resources/images/{1}.gif"/> 
  +   </map:match>
  +
      <!-- ================  Static  =========================== -->  
   
      <map:match pattern="fo"> 
  @@ -147,13 +165,13 @@
      </map:match>
   
      <map:match pattern="xsp/*"> 
  -    <map:generate type="serverpages" src="documents/xsp/{1}.xsp"/> 
  +    <map:generate type="serverpages" src="docs/samples/xsp/{1}.xsp"/> 
       <map:transform src="stylesheets/dynamic-page2html.xsl"/> 
       <map:serialize/> 
      </map:match>
   
      <map:match pattern="sql/*"> 
  -    <map:generate src="documents/sql/{1}.xml"/> 
  +    <map:generate src="docs/samples/sql/{1}.xml"/> 
       <map:transform type="sql"> 
         <parameter name="driver"   value="org.gjt.mm.mysql.Driver"/>
         <parameter name="dburl"    value="jdbc:mysql://localhost/test"/>
  @@ -165,8 +183,8 @@
      </map:match>
       
      <map:match pattern="generror"> 
  -    <map:generate src="documents/error-giving-page.xml"/> 
  -    <map:transform src="stylesheets/simple-welcome2html.xsl"/> 
  +    <map:generate src="docs/samples/error-giving-page.xml"/> 
  +    <map:transform src="stylesheets/simple-samples2html.xsl"/> 
       <map:serialize/> 
      </map:match>
    
  
  
  

Mime
View raw message