cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/linkrewriter/samples/sitedemo sitemap.xmap
Date Thu, 13 Mar 2003 09:00:32 GMT
jefft       2003/03/13 01:00:31

  Modified:    src/blocks/linkrewriter/samples/bookdemo sitemap.xmap
               src/blocks/linkrewriter/samples/bookdemo/docs book.xml
               src/blocks/linkrewriter/samples/sitedemo sitemap.xmap
  Added:       src/blocks/linkrewriter/conf linkrewriter.xsamples
  Log:
  - Update Input Module use to latest <file> syntax
  - Integrate linkrewriter block into samples
  
  Revision  Changes    Path
  1.1                  cocoon-2.1/src/blocks/linkrewriter/conf/linkrewriter.xsamples
  
  Index: linkrewriter.xsamples
  ===================================================================
  <?xml version="1.0"?>
  
  <xsamples xpath="/samples" unless="group[@name='linkrewriter']">
  
    <group name="linkrewriter">
      <sample name="LinkRewriter Transformer" href="linkrewriter/">
        A demo of the LinkRewriterTransformer, which rewrites XML links (by
        default, href attributes) with values looked up from any Input Module.
        See http://xml.apache.org/forrest/linking.html
     </sample>
    </group>
    
  </xsamples>
  
  
  
  1.2       +6 -2      cocoon-2.1/src/blocks/linkrewriter/samples/bookdemo/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/linkrewriter/samples/bookdemo/sitemap.xmap,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sitemap.xmap	9 Mar 2003 00:04:21 -0000	1.1
  +++ sitemap.xmap	13 Mar 2003 09:00:31 -0000	1.2
  @@ -9,9 +9,13 @@
     <map:transformers default="xslt">
       <map:transformer name="linkrewriter"
         src="org.apache.cocoon.transformation.LinkRewriterTransformer">
  -      <input-module name="book-raw" src="cocoon://samples/linkrewriter/bookdemo/linkmap"
reloadable="true"/>
  +      <input-module name="book-raw">
  +        <file src="cocoon://samples/linkrewriter/bookdemo/linkmap" reloadable="true"/>
  +      </input-module>
         <input-module name="book">
  -        <input-module name="book-raw" src="{src}" reloadable="true"/>
  +        <input-module name="book-raw">
  +          <file src="{src}" reloadable="true"/>
  +        </input-module>
           <prefix>//*[@label='</prefix>
           <suffix>']/@href</suffix>
         </input-module>
  
  
  
  1.2       +0 -1      cocoon-2.1/src/blocks/linkrewriter/samples/bookdemo/docs/book.xml
  
  Index: book.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/linkrewriter/samples/bookdemo/docs/book.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- book.xml	9 Mar 2003 00:04:21 -0000	1.1
  +++ book.xml	13 Mar 2003 09:00:31 -0000	1.2
  @@ -1,5 +1,4 @@
   <?xml version="1.0" encoding="UTF-8"?>
  -<!DOCTYPE book PUBLIC "-//APACHE//DTD Cocoon Documentation Book V1.0//EN" "dtd/book-cocoon-v10.dtd">
   
   <book software="Apache Cocoon" 
         title="Apache Cocoon Documentation" 
  
  
  
  1.2       +3 -1      cocoon-2.1/src/blocks/linkrewriter/samples/sitedemo/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/linkrewriter/samples/sitedemo/sitemap.xmap,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sitemap.xmap	9 Mar 2003 00:04:24 -0000	1.1
  +++ sitemap.xmap	13 Mar 2003 09:00:31 -0000	1.2
  @@ -11,7 +11,9 @@
         src="org.apache.cocoon.transformation.LinkRewriterTransformer">
         <input-module name="linkmap" src="cocoon://samples/linkrewriter/sitedemo/linkmap"
reloadable="true"/>
         <input-module name="site">
  -        <input-module name="linkmap" src="{src}" reloadable="true"/>
  +        <input-module name="linkmap">
  +          <file src="{src}" reloadable="true"/>
  +        </input-module>
           <prefix>/site/</prefix>
           <suffix>/@href</suffix>
         </input-module>
  
  
  

Mime
View raw message