forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicola...@apache.org
Subject cvs commit: xml-forrest/src/documentation/conf sitemap.xmap
Date Tue, 28 May 2002 10:22:21 GMT
nicolaken    02/05/28 03:22:21

  Modified:    src/documentation/conf sitemap.xmap
  Log:
  Added "apachestats" match that was sent by John Morrison on the list and never committer
AFAIK.
  
  Revision  Changes    Path
  1.6       +11 -2     xml-forrest/src/documentation/conf/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/documentation/conf/sitemap.xmap,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- sitemap.xmap	28 May 2002 05:25:56 -0000	1.5
  +++ sitemap.xmap	28 May 2002 10:22:21 -0000	1.6
  @@ -8,7 +8,8 @@
   
     <map:generators default="file">
      <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="directory"   src="org.apache.cocoon.generation.DirectoryGenerator"
label="content"/>
  +   <map:generator  name="html"        src="org.apache.cocoon.generation.HTMLGenerator"
label="content"/>
      <!-- FIXME: Change this once better view handling is implemented -->
      <map:generator  name="file-nolabel" src="org.apache.cocoon.generation.FileGenerator"/>
     </map:generators>
  @@ -124,7 +125,15 @@
        <map:serialize/>
      </map:match>
   -->
  -   
  +   <map:match pattern="apachestats">
  +     <map:generate type="html"
  +                   src="http://www.apache.org/~rubys/stats/xml.apache.org/">
  +       <map:parameter name="xpath"
  +                      value="/html/body//a[contains(@href,'.xml')]"/>
  +     </map:generate>
  +     <map:serialize type="xml"/>
  +   </map:match>
  +
      <map:match pattern="**book-**.xml">
        <map:generate src="content/xdocs/{1}book.xml"/>
        <map:call resource="skinit">
  
  
  

Mime
View raw message