cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ovi...@apache.org
Subject cvs commit: xml-cocoon2/src/scratchpad/schecoon/webapp sitemap.xmap
Date Wed, 13 Mar 2002 19:08:43 GMT
ovidiu      02/03/13 11:08:43

  Modified:    src/scratchpad/schecoon/webapp sitemap.xmap
  Log:
  Updated to work with the TreeProcessor implementation of the sitemap.
  
  Revision  Changes    Path
  1.5       +16 -7     xml-cocoon2/src/scratchpad/schecoon/webapp/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/scratchpad/schecoon/webapp/sitemap.xmap,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- sitemap.xmap	16 Feb 2002 01:52:59 -0000	1.4
  +++ sitemap.xmap	13 Mar 2002 19:08:43 -0000	1.5
  @@ -2,10 +2,19 @@
   
   <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
   
  +  <map:components>
  +    <map:generators default="file"/>
  +    <map:transformers default="xslt"/>
  +    <map:readers default="resource"/>
  +    <map:serializers default="html"/>
  +    <map:matchers default="regexp"/>
  +    <map:flow-interpreters default="JavaScript"/>
  +  </map:components>
  +
     <map:resources>
   
  -    <map:resource type="flow">
  -      <map:script src="/example.scm" language="scheme"/>
  +    <map:resource name="flow">
  +      <map:script src="/example.scm" language="JavaScript"/>
       </map:resource>
   
       <map:resource name="document2html">
  @@ -33,7 +42,7 @@
   
         <!-- Simple pipeline that reads an image from the filesystem -->
         <map:match pattern="sites/images/(.*).gif">
  -        <map:read src="{1}.gif" mime-type="image/gif"/>
  +        <map:read src="images/{1}.gif" mime-type="image/gif"/>
         </map:match>
   
         <!-- Pipeline for processing XSP. We use a resource define
  @@ -81,16 +90,16 @@
         -->
         <map:match pattern="function/(.*)">
           <map:call function="{1}">
  -          <map:param name="a" value="1"/>
  -          <map:param name="b" value="2"/>
  -          <map:param name="c" value="3"/>
  +          <map:parameter name="a" value="1"/>
  +          <map:parameter name="b" value="2"/>
  +          <map:parameter name="c" value="{1}abc"/>
           </map:call>
         </map:match>
   
         <!-- This pipeline executes continuations stored on the server -->
         <map:match pattern="kont/(.*)">
           <map:call function="schecoon:handle-continuation">
  -          <map:param name="kont-id" value="{1}"/>
  +          <map:parameter name="kont-id" value="{1}"/>
           </map:call>
         </map:match>
   
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message