forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-forrest/src/resources/conf static.xmap
Date Sun, 23 Mar 2003 05:49:23 GMT
jefft       2003/03/22 21:49:23

  Modified:    src/resources/conf static.xmap
  Log:
  Re-add **/images/** matcher.  This is so that image refs in subdirectories
  don't have to add ..'s to be context-relative. Now <figure
  src="images/foo.gif"> will work anywhere in the xdocs.
  
  Revision  Changes    Path
  1.2       +5 -0      xml-forrest/src/resources/conf/static.xmap
  
  Index: static.xmap
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/conf/static.xmap,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- static.xmap	15 Mar 2003 06:21:52 -0000	1.1
  +++ static.xmap	23 Mar 2003 05:49:23 -0000	1.2
  @@ -82,6 +82,11 @@
           <map:read src="resources/images/{1}.{2}" mime-type="image/{2}" />
         </map:match>
   
  +      <map:match pattern="**/images/**.*">
  +        <map:read src="resources/images/{2}.{3}" mime-type="image/{3}" />
  +      </map:match>
  +
  +
         <!-- deprecated -->
         <map:match pattern="**my-images/**.*">
           <map:read src="content/xdocs/{1}my-images/{2}.{3}" mime-type="image/{3}" />
  
  
  

Mime
View raw message