You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2005/10/09 13:29:47 UTC
svn commit: r307401 - in /lenya/trunk/src/webapp/lenya:
resources-shared.xmap resources.xmap
Author: michi
Date: Sun Oct 9 04:29:43 2005
New Revision: 307401
URL: http://svn.apache.org/viewcvs?rev=307401&view=rev
Log:
byte range false added for PDFs
Modified:
lenya/trunk/src/webapp/lenya/resources-shared.xmap
lenya/trunk/src/webapp/lenya/resources.xmap
Modified: lenya/trunk/src/webapp/lenya/resources-shared.xmap
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/resources-shared.xmap?rev=307401&r1=307400&r2=307401&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/resources-shared.xmap (original)
+++ lenya/trunk/src/webapp/lenya/resources-shared.xmap Sun Oct 9 04:29:43 2005
@@ -57,7 +57,10 @@
<map:read src="fallback://resources/shared/{../3}.{../4}" mime-type="application/x-gtar" />
</map:match>
<map:match type="regexp" pattern="(.*\.)(pdf|PDF|Pdf)$">
- <map:read src="fallback://resources/shared/{../3}.{../4}" mime-type="image/pdf" />
+ <map:read src="fallback://resources/shared/{../3}.{../4}" mime-type="image/pdf">
+ <!-- TODO: http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=112496255207733&w=2 -->
+ <map:parameter name="byte-ranges" value="false"/>
+ </map:read>
</map:match>
<map:match type="regexp" pattern="(.*\.)(doc|DOC|Doc|dot|DOT|Dot)$">
<map:read src="fallback://resources/shared/{../3}.{../4}" mime-type="application/msword" />
Modified: lenya/trunk/src/webapp/lenya/resources.xmap
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/resources.xmap?rev=307401&r1=307400&r2=307401&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/resources.xmap (original)
+++ lenya/trunk/src/webapp/lenya/resources.xmap Sun Oct 9 04:29:43 2005
@@ -48,7 +48,10 @@
<map:read src="fallback://resources/{../2}/{../3}.{../4}" mime-type="application/x-gtar" />
</map:match>
<map:match type="regexp" pattern="(.*\.)(pdf|PDF|Pdf)$">
- <map:read src="fallback://resources/{../2}/{../3}.{../4}" mime-type="image/pdf" />
+ <map:read src="fallback://resources/{../2}/{../3}.{../4}" mime-type="image/pdf">
+ <!-- TODO: http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=112496255207733&w=2 -->
+ <map:parameter name="byte-ranges" value="false"/>
+ </map:read>
</map:match>
<map:match type="regexp" pattern="(.*\.)(doc|DOC|Doc|dot|DOT|Dot)$">
<map:read src="fallback://resources/{../2}/{../3}.{../4}" mime-type="application/msword" />
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org