forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject cvs commit: xml-forrest/src/resources/conf sitemap.xmap
Date Sun, 09 Jun 2002 20:32:05 GMT
bert        2002/06/09 13:32:05

  Modified:    src/resources/conf sitemap.xmap
  Log:
  applying Konstantin's sollution for selected items in sub menu's
  
  Revision  Changes    Path
  1.7       +35 -23    xml-forrest/src/resources/conf/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/conf/sitemap.xmap,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- sitemap.xmap	8 Jun 2002 13:46:42 -0000	1.6
  +++ sitemap.xmap	9 Jun 2002 20:32:05 -0000	1.7
  @@ -86,6 +86,14 @@
      <map:serialize/>
     </map:resource>
   
  +  <map:resource name="book">
  +    <map:generate src="content/xdocs/{../1}book.xml"/>
  +    <map:call resource="skinit">
  +      <map:parameter name="type" value="book2menu"/>
  +      <map:parameter name="resource" value="{resource}.html"/>
  +    </map:call>
  +  </map:resource>
  +
     <map:resource name="skin-read">
       <map:read src="skins/@skin@/{path}" mime-type="{mime-type}"/>
     </map:resource>
  @@ -102,32 +110,36 @@
       <map:redirect-to uri="index.html"/>
      </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="**tab-**.xml">
  -     <map:generate src="content/xdocs/tabs.xml"/>
  -     <map:call resource="skinit">
  -      <map:parameter name="type" value="tab2menu"/>
  -      <map:parameter name="resource" value="{1}"/>
  -     </map:call>
  -   </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="**tab-**.xml">
  +    <map:generate src="content/xdocs/tabs.xml"/>
  +    <map:call resource="skinit">
  +     <map:parameter name="type" value="tab2menu"/>
  +     <map:parameter name="resource" value="{1}"/>
  +    </map:call>
  +  </map:match>
  +
  +  <map:match pattern="**book-**/*.xml">
  +    <map:call resource="book">
  +      <map:parameter name="resource" value="{3}"/>
  +    </map:call>
  +  </map:match>
   
  -   <map:match pattern="**book-**.xml">
  -     <map:generate src="content/xdocs/{1}book.xml"/>
  -     <map:call resource="skinit">
  -      <map:parameter name="type" value="book2menu"/>
  +  <map:match pattern="**book-**.xml">
  +    <map:call resource="book">
         <map:parameter name="resource" value="{2}"/>
  -     </map:call>
  -   </map:match>
  +    </map:call>
  +  </map:match>
   
  -   <map:match pattern="body-todo.xml">
  +  <map:match pattern="body-todo.xml">
        <map:generate type="file-nolabel" src="forrest.xgump"/>
        <map:transform src="library/xslt/todo2document.xsl" label="content"/>
        <map:call resource="skinit">
  
  
  

Mime
View raw message