forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r168507 - /forrest/trunk/main/webapp/resources.xmap
Date Fri, 06 May 2005 03:09:58 GMT
Author: rgardler
Date: Thu May  5 20:09:52 2005
New Revision: 168507

URL: http://svn.apache.org/viewcvs?rev=168507&view=rev
Log:
serve svg files

Modified:
    forrest/trunk/main/webapp/resources.xmap

Modified: forrest/trunk/main/webapp/resources.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/resources.xmap?rev=168507&r1=168506&r2=168507&view=diff
==============================================================================
--- forrest/trunk/main/webapp/resources.xmap (original)
+++ forrest/trunk/main/webapp/resources.xmap Thu May  5 20:09:52 2005
@@ -298,6 +298,11 @@
             <map:read src="{project:content.xdocs}{1}my-images/{2}.{3}" mime-type="image/{3}"
/>
          </map:match>
 
+        <map:match type="regexp" pattern="^(.*?)([^/]*).svg$">
+          <map:generate src="{project:content.xdocs}/{1}{2}.svg"/>
+          <map:serialize type="xml"/>
+        </map:match>
+
          <map:match pattern="images/**.png">
             <map:select type="exists">
                <map:when test="{project:content.xdocs}/images/{1}.svg">



Mime
View raw message