cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/batik/samples samples.xml sitemap.xmap
Date Sat, 03 May 2003 16:19:39 GMT
vgritsenko    2003/05/03 09:19:39

  Modified:    src/blocks/batik/conf svg.xsamples
               src/blocks/batik/samples samples.xml sitemap.xmap
  Log:
  Fix line endings
  
  Revision  Changes    Path
  1.2       +9 -9      cocoon-2.1/src/blocks/batik/conf/svg.xsamples
  
  Index: svg.xsamples
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/batik/conf/svg.xsamples,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- svg.xsamples	1 May 2003 13:55:55 -0000	1.1
  +++ svg.xsamples	3 May 2003 16:19:38 -0000	1.2
  @@ -1,9 +1,9 @@
  -<?xml version="1.0"?>
  -<xsamples xpath="/samples" unless="group[@name='Batik']">
  -
  -  <group name="Batik">
  -    <sample name="Batik" href="batik/">
  -      Examples of rasterized SVG images.
  -   </sample>
  -  </group>
  -</xsamples>
  +<?xml version="1.0"?>
  +<xsamples xpath="/samples" unless="group[@name='Batik']">
  +
  +  <group name="Batik">
  +    <sample name="Batik" href="batik/">
  +      Examples of rasterized SVG images.
  +   </sample>
  +  </group>
  +</xsamples>
  
  
  
  1.2       +30 -30    cocoon-2.1/src/blocks/batik/samples/samples.xml
  
  Index: samples.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/batik/samples/samples.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- samples.xml	1 May 2003 13:55:55 -0000	1.1
  +++ samples.xml	3 May 2003 16:19:39 -0000	1.2
  @@ -1,30 +1,30 @@
  -<?xml version="1.0" encoding="iso-8859-1"?>
  -<samples xmlns:xlink="http://www.w3.org/1999/xlink">
  -
  -  <group name="Main examples page.">
  -    <sample name="Back" href="..">to Cocoon examples main page</sample>
  -  </group>
  -
  -  <group name="Henry V">
  -    <sample name="Henry V in SVG" href="henryV.svg">
  -  	  Henry V as it is in SVG (SVG browser, plugin, viewer needed).
  -    </sample>
  -    <sample name="Henry V in JPEG" href="henryV.jpeg">
  -      Henry V rasterized with Batik to JPEG.
  -    </sample>
  -    <sample name="Henry V in PNG" href="henryV.png">
  -      Henry V rasterized with Batik to PNG.
  -    </sample>
  -  </group>
  -
  -  <group name="Resources">
  -    <sample name="Batik web site" href="http://xml.apache.org/batik">
  -      Links and reference information, SVG browser
  -    </sample>
  -    <sample name="Adobe SVG Viewer" href="http://www.adobe.com/svg/viewer/install/main.html">
  -      SVG browser plugin
  -    </sample>
  -  </group>
  -
  -</samples>
  -
  +<?xml version="1.0" encoding="iso-8859-1"?>
  +<samples xmlns:xlink="http://www.w3.org/1999/xlink">
  +
  +  <group name="Main examples page.">
  +    <sample name="Back" href="..">to Cocoon examples main page</sample>
  +  </group>
  +
  +  <group name="Henry V">
  +    <sample name="Henry V in SVG" href="henryV.svg">
  +  	  Henry V as it is in SVG (SVG browser, plugin, viewer needed).
  +    </sample>
  +    <sample name="Henry V in JPEG" href="henryV.jpeg">
  +      Henry V rasterized with Batik to JPEG.
  +    </sample>
  +    <sample name="Henry V in PNG" href="henryV.png">
  +      Henry V rasterized with Batik to PNG.
  +    </sample>
  +  </group>
  +
  +  <group name="Resources">
  +    <sample name="Batik web site" href="http://xml.apache.org/batik">
  +      Links and reference information, SVG browser
  +    </sample>
  +    <sample name="Adobe SVG Viewer" href="http://www.adobe.com/svg/viewer/install/main.html">
  +      SVG browser plugin
  +    </sample>
  +  </group>
  +
  +</samples>
  +
  
  
  
  1.2       +78 -78    cocoon-2.1/src/blocks/batik/samples/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/batik/samples/sitemap.xmap,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sitemap.xmap	1 May 2003 13:55:55 -0000	1.1
  +++ sitemap.xmap	3 May 2003 16:19:39 -0000	1.2
  @@ -1,78 +1,78 @@
  -<?xml version="1.0"?>
  -<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
  -<!-- batik block samples sitemap -->
  -
  -<!-- =========================== Components ================================ -->
  -
  - <map:components>
  -  <map:generators default="file"/>
  -  <map:transformers default="xslt"/>
  -
  -  <map:serializers default="html">
  -    <map:serializer logger="sitemap.serializer.svgxml" mime-type="image/svg+xml" name="svgxml"
src="org.apache.cocoon.serialization.XMLSerializer">
  -     <doctype-public>-//W3C//DTD SVG 1.0//EN</doctype-public>
  -     <doctype-system>http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd</doctype-system>
  -    </map:serializer>
  -    <map:serializer logger="sitemap.serializer.svg2jpeg" name="svg2jpeg" src="org.apache.cocoon.serialization.SVGSerializer"
mime-type="image/jpeg">
  -      <parameter name="quality" type="float" value="0.9"/>
  -    </map:serializer>
  -    <map:serializer logger="sitemap.serializer.svg2png" name="svg2png" src="org.apache.cocoon.serialization.SVGSerializer"
mime-type="image/png"/>
  -  </map:serializers>
  -
  -  <map:readers default="resource"/>
  -  <map:matchers default="wildcard"/>
  -  <map:pipes default="caching"/>
  - </map:components>
  -
  -<!-- =========================== Views =================================== -->
  -
  - <map:views>
  -  <map:view from-label="content" name="content">
  -   <map:serialize type="xml"/>
  -  </map:view>
  -
  -  <map:view from-position="last" name="links">
  -   <map:serialize type="links"/>
  -  </map:view>
  -
  - </map:views>
  -
  -<!-- =========================== Pipelines ================================= -->
  -
  - <map:pipelines>
  -
  -  <map:pipeline type="caching">  
  -   <map:match pattern="">
  -    <map:redirect-to uri="welcome"/>
  -   </map:match>
  -   
  -   <map:match pattern="welcome">
  -    <map:generate src="samples.xml"/>
  -    <map:transform src="context://samples/common/style/xsl/html/simple-samples2html.xsl">
  -       <map:parameter name="contextPath" value="{request:contextPath}"/>
  -    </map:transform>
  -    <map:serialize/>
  -   </map:match>
  -
  -   <!-- ========================= batik ================================ -->
  -
  -   <map:match pattern="*.svg">
  -    <map:generate src="{1}.svg"/>
  -    <map:serialize type="svgxml"/>
  -   </map:match>
  -
  -   <map:match pattern="*.jpeg">
  -    <map:generate src="{1}.svg"/>
  -    <map:serialize type="svg2jpeg"/>
  -   </map:match>
  -
  -   <map:match pattern="*.png">
  -    <map:generate src="{1}.svg"/>
  -    <map:serialize type="svg2png"/>
  -   </map:match>
  -
  -  </map:pipeline>
  -
  - </map:pipelines>
  -
  -</map:sitemap>
  +<?xml version="1.0"?>
  +<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
  +<!-- batik block samples sitemap -->
  +
  +<!-- =========================== Components ================================ -->
  +
  + <map:components>
  +  <map:generators default="file"/>
  +  <map:transformers default="xslt"/>
  +
  +  <map:serializers default="html">
  +    <map:serializer logger="sitemap.serializer.svgxml" mime-type="image/svg+xml" name="svgxml"
src="org.apache.cocoon.serialization.XMLSerializer">
  +     <doctype-public>-//W3C//DTD SVG 1.0//EN</doctype-public>
  +     <doctype-system>http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd</doctype-system>
  +    </map:serializer>
  +    <map:serializer logger="sitemap.serializer.svg2jpeg" name="svg2jpeg" src="org.apache.cocoon.serialization.SVGSerializer"
mime-type="image/jpeg">
  +      <parameter name="quality" type="float" value="0.9"/>
  +    </map:serializer>
  +    <map:serializer logger="sitemap.serializer.svg2png" name="svg2png" src="org.apache.cocoon.serialization.SVGSerializer"
mime-type="image/png"/>
  +  </map:serializers>
  +
  +  <map:readers default="resource"/>
  +  <map:matchers default="wildcard"/>
  +  <map:pipes default="caching"/>
  + </map:components>
  +
  +<!-- =========================== Views =================================== -->
  +
  + <map:views>
  +  <map:view from-label="content" name="content">
  +   <map:serialize type="xml"/>
  +  </map:view>
  +
  +  <map:view from-position="last" name="links">
  +   <map:serialize type="links"/>
  +  </map:view>
  +
  + </map:views>
  +
  +<!-- =========================== Pipelines ================================= -->
  +
  + <map:pipelines>
  +
  +  <map:pipeline type="caching">  
  +   <map:match pattern="">
  +    <map:redirect-to uri="welcome"/>
  +   </map:match>
  +   
  +   <map:match pattern="welcome">
  +    <map:generate src="samples.xml"/>
  +    <map:transform src="context://samples/common/style/xsl/html/simple-samples2html.xsl">
  +       <map:parameter name="contextPath" value="{request:contextPath}"/>
  +    </map:transform>
  +    <map:serialize/>
  +   </map:match>
  +
  +   <!-- ========================= batik ================================ -->
  +
  +   <map:match pattern="*.svg">
  +    <map:generate src="{1}.svg"/>
  +    <map:serialize type="svgxml"/>
  +   </map:match>
  +
  +   <map:match pattern="*.jpeg">
  +    <map:generate src="{1}.svg"/>
  +    <map:serialize type="svg2jpeg"/>
  +   </map:match>
  +
  +   <map:match pattern="*.png">
  +    <map:generate src="{1}.svg"/>
  +    <map:serialize type="svg2png"/>
  +   </map:match>
  +
  +  </map:pipeline>
  +
  + </map:pipelines>
  +
  +</map:sitemap>
  
  
  

Mime
View raw message