You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2007/10/29 19:25:39 UTC
svn commit: r589787 - /lenya/trunk/src/pubs/default/sitemap.xmap
Author: andreas
Date: Mon Oct 29 11:25:31 2007
New Revision: 589787
URL: http://svn.apache.org/viewvc?rev=589787&view=rev
Log:
Allow to request documents without extension
Modified:
lenya/trunk/src/pubs/default/sitemap.xmap
Modified: lenya/trunk/src/pubs/default/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/sitemap.xmap?rev=589787&r1=589786&r2=589787&view=diff
==============================================================================
--- lenya/trunk/src/pubs/default/sitemap.xmap (original)
+++ lenya/trunk/src/pubs/default/sitemap.xmap Mon Oct 29 11:25:31 2007
@@ -365,7 +365,7 @@
</map:pipeline>
<map:pipeline>
- <map:match pattern="*/**.*">
+ <map:match pattern="*/**">
<!-- TODO: http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=112496255207733&w=2 -->
<map:act type="language-exists">
<map:match type="regexp" pattern="(.*\.)(pdf|PDF|Pdf)$">
@@ -381,7 +381,7 @@
<map:parameter name="parameter-selector-test" value="{1}"/>
<map:when test="live"/>
<map:otherwise>
- <map:transform src="cocoon://lenya-page/{page-envelope:publication-id}/{1}/{2}.xml?doctype={page-envelope:document-type}"/>
+ <map:transform src="cocoon://lenya-page/{page-envelope:publication-id}/{1}/{2}?doctype={page-envelope:document-type}"/>
</map:otherwise>
</map:select>
<map:transform src="fallback://lenya/xslt/util/strip_namespaces.xsl"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org