cziegeler 01/10/01 07:03:56 Modified: documentation sitemap.xmap documentation/svg buttona.xml webapp/WEB-INF/db cocoondb.properties Log: Fixed Revision Changes Path 1.3 +12 -1 xml-cocoon2/documentation/sitemap.xmap Index: sitemap.xmap =================================================================== RCS file: /home/cvs/xml-cocoon2/documentation/sitemap.xmap,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- sitemap.xmap 2001/10/01 13:39:03 1.2 +++ sitemap.xmap 2001/10/01 14:03:56 1.3 @@ -28,6 +28,8 @@ </map:serializer> <map:serializer name="xml" mime-type="text/xml" src="org.apache.cocoon.serialization.XMLSerializer"/> <map:serializer name="links" src="org.apache.cocoon.serialization.LinkSerializer"/> + <map:serializer name="svg2jpeg" mime-type="image/jpeg" src="org.apache.cocoon.serialization.SVGSerializer"/> + <map:serializer name="svg2png" mime-type="image/png" src="org.apache.cocoon.serialization.SVGSerializer"/> </map:serializers> <map:matchers default="wildcard"> @@ -130,7 +132,16 @@ <map:read src="resources/{2}.gif" mime-type="image/gif"/> </map:match> - <map:match pattern="**graphics/**"> + <map:match pattern="**graphics/*-label-*.jpg"> + <map:generate src="svg/buttona.xml"/> + <map:transform src="svg/addlabel.xsl"> + <map:parameter name="use-request-parameters" value="true"/> + <map:parameter name="label" value="{2}"/> + </map:transform> + <map:serialize type="svg2jpeg"/> + </map:match> + + <map:match pattern="**graphics/**.gif"> <map:read src="images/logo.gif" mime-type="image/gif"/> </map:match> 1.2 +1 -1 xml-cocoon2/documentation/svg/buttona.xml Index: buttona.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/documentation/svg/buttona.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- buttona.xml 2001/09/28 13:41:28 1.1 +++ buttona.xml 2001/10/01 14:03:56 1.2 @@ -1,5 +1,5 @@ <?xml version="1.0"?> <svg xmlns:xlink="http://www.w3.org/1999/xlink" width="120" height="14"> - <image xlink:href="file:/C:/Programme/Sunshine/ApacheGroup/tomcat/webapps/cocoon/button-b.gif" width="120" height="14"/> + <image xlink:href="button-b.gif" width="120" height="14"/> <text style="font-family:arial; font-size:12px; font-style:italic" fill="white" x="14" y="12"><label/></text> </svg> 1.3 +1 -1 xml-cocoon2/webapp/WEB-INF/db/cocoondb.properties Index: cocoondb.properties =================================================================== RCS file: /home/cvs/xml-cocoon2/webapp/WEB-INF/db/cocoondb.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- cocoondb.properties 2001/10/01 13:39:04 1.2 +++ cocoondb.properties 2001/10/01 14:03:56 1.3 @@ -1,4 +1,4 @@ #HSQL database #Mon Oct 01 11:28:21 CEST 2001 version=1.6 -modified=yes +modified=no
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]