forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-forrest/src/resources/conf faq.xmap sitemap.xmap
Date Mon, 23 Jun 2003 10:48:03 GMT
jefft       2003/06/23 03:48:03

  Modified:    src/resources/conf faq.xmap sitemap.xmap
  Log:
  Configure linkrewriter once
  
  Revision  Changes    Path
  1.12      +1 -3      xml-forrest/src/resources/conf/faq.xmap
  
  Index: faq.xmap
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/conf/faq.xmap,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- faq.xmap	9 Jun 2003 11:58:42 -0000	1.11
  +++ faq.xmap	23 Jun 2003 10:48:02 -0000	1.12
  @@ -84,9 +84,7 @@
         <map:match pattern="**body-*.html">
           <map:generate src="cocoon:/{1}{2}.xml"/>
           <map:transform type="xinclude"/>
  -        <map:transform type="linkrewriter" src="cocoon://{1}linkmap-{2}.html">
  -          <map:parameter name="schemes" value="site ext"/>
  -        </map:transform>
  +        <map:transform type="linkrewriter" src="cocoon://{1}linkmap-{2}.html"/>
           <map:call resource="skinit">
             <map:parameter name="type" value="document2html"/>
             <map:parameter name="path" value="/{1}{2}.html"/>
  
  
  
  1.104     +8 -19     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.103
  retrieving revision 1.104
  diff -u -r1.103 -r1.104
  --- sitemap.xmap	23 Jun 2003 10:14:27 -0000	1.103
  +++ sitemap.xmap	23 Jun 2003 10:48:02 -0000	1.104
  @@ -18,6 +18,9 @@
         </map:transformer>
   
         <map:transformer name="linkrewriter" logger="sitemap.transformer.linkrewriter"
src="org.apache.cocoon.transformation.LinkRewriterTransformer">
  +        <link-attrs>href src</link-attrs>
  +        <schemes>site ext</schemes>
  +
           <input-module name="site">
             <input-module name="linkmap">
               <file src="{src}" reloadable="false" />
  @@ -196,10 +199,7 @@
             <map:when test="content/xdocs/{1}{2}.ehtml">
               <map:generate src="content/xdocs/{1}{2}.ehtml" />
               <map:transform src="resources/stylesheets/html2htmlbody.xsl" />
  -            <map:transform type="linkrewriter" src="cocoon:/{1}linkmap-{2}.html">
  -              <map:parameter name="link-attrs" value="href src"/>
  -              <map:parameter name="schemes" value="site ext"/>
  -            </map:transform>
  +            <map:transform type="linkrewriter" src="cocoon:/{1}linkmap-{2}.html"/>
               <map:serialize type="xml" />
             </map:when>
           </map:select>
  @@ -211,10 +211,7 @@
           <map:generate src="cocoon:/{1}{2}.xml"/>
           <map:transform type="idgen"/>
           <map:transform type="xinclude"/>
  -        <map:transform type="linkrewriter" src="cocoon:/{1}linkmap-{2}.html">
  -          <map:parameter name="link-attrs" value="href src"/>
  -          <map:parameter name="schemes" value="site ext"/>
  -        </map:transform>
  +        <map:transform type="linkrewriter" src="cocoon:/{1}linkmap-{2}.html"/>
           <map:call resource="skinit">
             <map:parameter name="type" value="document2html"/>
             <map:parameter name="path" value="/{1}{2}.xml"/>
  @@ -224,9 +221,7 @@
   
         <map:match pattern="**menu-*.html">
           <map:generate src="cocoon:/{1}book-{2}.html"/>
  -        <map:transform type="linkrewriter" src="cocoon:/{1}linkmap-{2}.html">
  -          <map:parameter name="schemes" value="site ext"/>
  -        </map:transform>
  +        <map:transform type="linkrewriter" src="cocoon:/{1}linkmap-{2}.html"/>
           <map:call resource="skinit">
             <map:parameter name="type" value="book2menu"/>
             <map:parameter name="path" value="/{1}{2}.xml"/>
  @@ -235,9 +230,7 @@
   
         <map:match pattern="**tab-*.html">
           <map:generate src="content/xdocs/tabs.xml" />
  -        <map:transform type="linkrewriter" src="cocoon:/{1}linkmap-{2}.html">
  -          <map:parameter name="schemes" value="site ext"/>
  -        </map:transform>
  +        <map:transform type="linkrewriter" src="cocoon:/{1}linkmap-{2}.html"/>
           <map:call resource="skinit">
             <map:parameter name="type" value="tab2menu"/>
             <map:parameter name="path" value="{1}{2}"/>
  @@ -312,11 +305,7 @@
           <map:transform type="idgen"/>
           -->
           <map:transform type="xinclude"/>
  -        <map:transform type="linkrewriter" src="cocoon://{1}linkmap-{2}.pdf">
  -          <map:parameter name="link-attrs" value="href src"/>
  -          <map:parameter name="schemes" value="site ext"/>
  -        </map:transform>
  -
  +        <map:transform type="linkrewriter" src="cocoon://{1}linkmap-{2}.pdf"/>
           <map:transform src="skins/{forrest:skin}/xslt/fo/document2fo.xsl">
             <map:parameter name="ctxbasedir" value="{realpath:.}/"/>
             <map:parameter name="xmlbasedir" value="content/xdocs/{1}"/>
  
  
  

Mime
View raw message