forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicola...@apache.org
Subject cvs commit: xml-forrest/src/resources/editor editor.xmap
Date Thu, 23 Jan 2003 17:38:50 GMT
nicolaken    2003/01/23 09:38:50

  Modified:    src/resources/editor editor.xmap
  Log:
        <action dev="NKB" type="add" context="webapp">
          Added the possibility to use svg files instead png images.
          That is, if an image is found in the images dir that is svg and
          the browsers requests a png with the same name, the png is created
          from the svg automatically with batik.
        </action>
        <action dev="NKB" type="add" context="webapp">
          Added the possibility to use wiki files in xdocs instead of xml files.
          They must have a .cwiki extension, and follow the chaperon wiki format ATM.
        </action>
        <action dev="NKB" type="update" context="editor">
          Updated part of the editor so that it now can save files in wiki format.
          Still needs more work.
        </action>
  
  Revision  Changes    Path
  1.5       +9 -27     xml-forrest/src/resources/editor/editor.xmap
  
  Index: editor.xmap
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/editor/editor.xmap,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- editor.xmap	15 Jan 2003 12:48:14 -0000	1.4
  +++ editor.xmap	23 Jan 2003 17:38:50 -0000	1.5
  @@ -64,7 +64,7 @@
   
     <map:pipelines>
     
  -    <map:pipeline internal-only="true">
  +   <map:pipeline internal-only="true">
   
      <!-- IMPORTANT! This pipeline sould be cachable -->
      <map:match pattern="*.grm">
  @@ -120,25 +120,16 @@
       -->
       <map:match pattern="put">
         <map:generate type="request"/>
  -
  -
         <map:transform src="editor/stylesheets/editor2writer.xsl">
  -        <map:parameter name="base" value="content/xdocs"/>
  +        <map:parameter name="base" value="content/xdocs/"/>
         </map:transform>
  -
  -      <map:transform type="textparser">
  -        <map:parameter name="grammar" value="chaperon/grammars/wiki.grm"/>
  -      </map:transform>    
  -
  -      <map:transform src="chaperon/stylesheets/wiki2document.xsl"/>
  -
  -      <map:transform type="write-source"/>
  -
  +      <map:transform type="write-source">
  +          <map:parameter name="serializer" value="text"/>   
  +      </map:transform>          
         <map:transform src="editor/stylesheets/writeresult2skin.xsl"/>
  -
         <map:transform src="editor/stylesheets/skin.xsl"/>                        
  -
         <map:serialize type="html"/>
  +
       </map:match>
   
       <!-- 
  @@ -149,39 +140,30 @@
       -->
       <map:match pattern="pre(bravo)">
         <map:generate type="request"/>
  -
         <map:transform src="editor/stylesheets/request2editor.xsl"/>
  -
         <map:transform type="textparser">
           <map:parameter name="grammar" value="chaperon/grammars/wiki.grm"/>
  -      </map:transform>    
  -
  -      <map:transform src="chaperon/stylesheets/wiki2html.xsl"/>
  -
  +      </map:transform>  
  +      <map:transform src="library/xslt/wiki2html.xsl"/>
         <map:transform src="editor/stylesheets/skin.xsl"/>
  -
         <map:serialize type="html"/>
       </map:match>
   
   
  -
       <map:match pattern="see(bravo)**.xml">
         <map:redirect-to uri="../../{1}.html"/>
       </map:match>
   
   
       <map:match pattern="get(bravo)/**">
  -
         <map:generate src="content/xdocs/{1}"/>
         <map:transform src="editor/stylesheets/file2editor.xsl"/>
         <map:transform src="editor/stylesheets/skin.xsl"/>
         <map:serialize type="html"/>                
  -
  -
       </map:match>
   
  -
     </map:pipeline>
  +
   
     <map:pipeline>  
   
  
  
  

Mime
View raw message