cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/scratchpad/samples/image-auth sitemap.xmap
Date Fri, 31 Oct 2003 17:11:23 GMT
tony        2003/10/31 09:11:23

  Added:       src/blocks/scratchpad/samples/image-auth sitemap.xmap
  Log:
  sitemap for the image-auth sample
  
  Revision  Changes    Path
  1.1                  cocoon-2.1/src/blocks/scratchpad/samples/image-auth/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  
  <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
  <map:components>
      <map:generators default="file">
          <map:generator label="content,data" logger="sitemap.generator.jxt" name="jxt"
 src="org.apache.cocoon.generation.JXTemplateGenerator"/>
      </map:generators>
  
      <map:transformers default="xslt"/>
  
      <map:serializers default="xhtml">
          <map:serializer logger="sitemap.serializer.svg2png" mime-type="image/jpeg" name="svg2jpeg"
src="org.apache.cocoon.serialization.SVGSerializer">
              <parameter name="quality" type="float" value="0.9"/>
          </map:serializer>
      </map:serializers>
  
      <map:matchers default="wildcard"/>
  
  </map:components>
  
  <map:views/>
  <map:resources/>
  
  <map:flow language="intercepted-javascript">
      <map:script src="flow/image.js"/>
  </map:flow>
  
  <map:pipelines>
  
      <map:component-configurations>
          <global-variables/>
      </map:component-configurations>
  
  
      <map:pipeline>
  
          <map:match pattern="">
              <map:call function="main"/>
          </map:match>
  
  
  
          <map:match pattern="*.flow">
              <map:call continuation="{1}"/> 
          </map:match>
  
  
  
          <map:match pattern="*.jxt">
              <map:generate type="jxt" src="documents/{1}.jxt"/>
              <map:serialize type="xhtml"/>
          </map:match>
  
  
  
          <map:match pattern="auth-*.jpg">
              <map:call continuation="{1}">
                  <map:parameter name="msg" value="image"/>
              </map:call>
          </map:match>
  
      </map:pipeline>
  
  
      <map:pipeline internal-only="true">
          <map:match pattern="auth.jpg">
              <map:generate type="jxt" src="documents/auth-jxt.svg"/>
              <map:serialize type="svg2jpeg"/>
          </map:match>  
      </map:pipeline>
  
  
  </map:pipelines>
  
  </map:sitemap>
  
  

Mime
View raw message