svn commit: r589787 - /lenya/trunk/src/pubs/default/sitemap.xmap

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
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&amp;m=112496255207733&amp;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"/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.