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">
|