You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by re...@apache.org on 2003/08/07 10:07:06 UTC

cvs commit: cocoon-2.1/src/blocks/slop/samples sitemap.xmap welcome.xml

reinhard    2003/08/07 01:07:06

  Modified:    src/blocks/slop/samples sitemap.xmap welcome.xml
  Log:
  - add the original files to the examples to make it easier to have a look on them
  
  Revision  Changes    Path
  1.2       +4 -0      cocoon-2.1/src/blocks/slop/samples/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/slop/samples/sitemap.xmap,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sitemap.xmap	6 Aug 2003 12:59:13 -0000	1.1
  +++ sitemap.xmap	7 Aug 2003 08:07:06 -0000	1.2
  @@ -30,6 +30,10 @@
               </map:generate>
               <map:serialize type="xml"/>
           </map:match>
  +        
  +        <map:match pattern="*.txt">
  +            <map:read mime-type="text/plain" src="{1}.txt"/>
  +        </map:match>
   
       </map:pipeline>
   
  
  
  
  1.2       +9 -0      cocoon-2.1/src/blocks/slop/samples/welcome.xml
  
  Index: welcome.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/slop/samples/welcome.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- welcome.xml	6 Aug 2003 12:59:13 -0000	1.1
  +++ welcome.xml	7 Aug 2003 08:07:06 -0000	1.2
  @@ -14,18 +14,27 @@
       </group>
   
       <group name="Email parsing using SLOP">
  +        <sample name="email-example.txt" href="email-example.txt">
  +            original source file
  +        </sample>    
           <sample name="email-example.xml" href="rfc822/email-example.xml">
               XML result of parsing an RFC 822 message
           </sample>
       </group>
   
       <group name="Test catalog example">
  +        <sample name="tc-example.txt" href="tc-example.txt">
  +            original source file
  +        </sample>    
           <sample name="tc-example.xml" href="tc/tc-example.xml">
               Example using Slop to describe interactive tests easily using ASCII files
           </sample>
       </group>
   
       <group name="Special characters">
  +        <sample name="special.chars.txt" href="special-chars.txt">
  +            original source file
  +        </sample>     
           <sample name="special.chars.xml" href="test/special-chars.xml">
               Test Slop with special and accented characters
           </sample>