stefano 00/10/02 04:10:13
Modified: webapp Tag: xml-cocoon2 sitemap.xmap
Log:
added mime types (the CLI has problems if mime types are not set in the
reader... this is because we still have to write a CommandLineContext that
performs MIMEType evaluation but I'm lazy :)
Revision Changes Path
No revision
No revision
1.1.2.19 +5 -1 xml-cocoon/webapp/Attic/sitemap.xmap
Index: sitemap.xmap
===================================================================
RCS file: /home/cvs/xml-cocoon/webapp/Attic/sitemap.xmap,v
retrieving revision 1.1.2.18
retrieving revision 1.1.2.19
diff -u -r1.1.2.18 -r1.1.2.19
--- sitemap.xmap 2000/10/01 00:15:32 1.1.2.18
+++ sitemap.xmap 2000/10/02 11:10:13 1.1.2.19
@@ -164,7 +164,7 @@
</map:match>
<map:match pattern="sites/images/*.gif">
- <map:read src="resources/images/{1}.gif"/>
+ <map:read src="resources/images/{1}.gif" mime-type="image/gif"/>
</map:match>
<!-- ================ Static =========================== -->
@@ -206,6 +206,10 @@
<map:match pattern="slides/**.jpg">
<map:read src="docs/samples/{1}.jpg" mime-type="image/jpg"/>
+ </map:match>
+
+ <map:match pattern="slides/**.png">
+ <map:read src="docs/samples/{1}.png" mime-type="image/png"/>
</map:match>
<map:match pattern="xsp/*">