cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject cvs commit: cocoon-2.1/src/webapp sitemap.xmap
Date Wed, 04 Jun 2003 22:45:37 GMT
joerg       2003/06/04 15:45:37

  Modified:    src/webapp sitemap.xmap
  Log:
  added cHTML/iMode sample (bug 20477, provided by Arje Cahn)
  
  Revision  Changes    Path
  1.20      +15 -5     cocoon-2.1/src/webapp/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/webapp/sitemap.xmap,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- sitemap.xmap	29 May 2003 09:46:24 -0000	1.19
  +++ sitemap.xmap	4 Jun 2003 22:45:37 -0000	1.20
  @@ -117,6 +117,12 @@
        <encoding>ASCII</encoding>
        <omit-xml-declaration>yes</omit-xml-declaration>
       </map:serializer>
  +    <map:serializer logger="sitemap.serializer.chtml" mime-type="text/html" name="chtml"
src="org.apache.cocoon.serialization.HTMLSerializer">
  +     <!--+ Compact HTML for Small Information Appliances,
  +         | based on http://www.w3.org/TR/1998/NOTE-compactHTML-19980209/
  +         + -->
  +     <doctype-public>-//W3C//DTD Compact HTML 1.0 Draft//EN</doctype-public>
  +    </map:serializer>
       <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>
  @@ -124,18 +130,18 @@
       <map:serializer logger="sitemap.serializer.xhtml" mime-type="text/html" name="xhtml"
pool-grow="2" pool-max="64" pool-min="2" src="org.apache.cocoon.serialization.XMLSerializer">
         <!--+
             | You can choose from Strict, Transitional, or Frameset XHTML.
  -          | For Strict XHTML, set doctype to:
  +          | For Strict XHTML set doctype to:
             |   <doctype-public>-//W3C//DTD XHTML 1.0 Strict//EN</doctype-public>
             |   <doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</doctype-system>
  -          | For Transitional XHTML, set doctype to:
  +          | For Transitional XHTML set doctype to:
             |   <doctype-public>-//W3C//DTD XHTML 1.0 Transitional//EN</doctype-public>
             |   <doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</doctype-system>
  -          | For Frameset XHTML, set doctype to:
  +          | For Frameset XHTML set doctype to:
             |   <doctype-public>-//W3C//DTD XHTML 1.0 Frameset//EN</doctype-public>
             |   <doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd</doctype-system>
             |
             | Default XHTML doctype in Cocoon is XHTML Strict. If you want to use more than
one
  -          | XHTML DTD simulteneously, you can define several XHTML serializers.
  +          | XHTML DTD simultaneously, you can define several XHTML serializers.
             +-->
         <doctype-public>-//W3C//DTD XHTML 1.0 Strict//EN</doctype-public>
         <doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</doctype-system>
  @@ -518,6 +524,10 @@
         <map:read src="api/{1}"/>
       </map:match>
       
  +    <map:match pattern="jh/**">
  +      <map:mount check-reload="yes" src="file://D:/xml/" uri-prefix="jh"/>
  +    </map:match>
  +
       <!--+
           | Mount everything else by calling the sitemap.xmap file located
           | in the requested folder.
  
  
  

Mime
View raw message