You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2004/11/22 04:45:42 UTC

svn commit: r106152 - /lenya/trunk/src/webapp/lenya/pubs/default/parameter-doctype.xmap

Author: gregor
Date: Sun Nov 21 19:45:42 2004
New Revision: 106152

Modified:
   lenya/trunk/src/webapp/lenya/pubs/default/parameter-doctype.xmap
Log:
Make homepage matcher work with multiple languages

Modified: lenya/trunk/src/webapp/lenya/pubs/default/parameter-doctype.xmap
Url: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/pubs/default/parameter-doctype.xmap?view=diff&rev=106152&p1=lenya/trunk/src/webapp/lenya/pubs/default/parameter-doctype.xmap&r1=106151&p2=lenya/trunk/src/webapp/lenya/pubs/default/parameter-doctype.xmap&r2=106152
==============================================================================
--- lenya/trunk/src/webapp/lenya/pubs/default/parameter-doctype.xmap	(original)
+++ lenya/trunk/src/webapp/lenya/pubs/default/parameter-doctype.xmap	Sun Nov 21 19:45:42 2004
@@ -44,6 +44,16 @@
   <map:pipelines>
 
     <map:pipeline>
+      <!-- {area}/index.html -->
+      <map:match pattern="*/index*.html">
+        <map:generate type="serverpages" src="../../config/parameters/default.xsp">
+          <map:parameter name="value" value="homepage"/>
+        </map:generate>
+        <map:serialize type="xml"/>
+      </map:match>
+    </map:pipeline>
+
+    <map:pipeline>
       <!-- {area}/{uri} -->
       <map:match pattern="*/**.html">
         <map:act type="sourcetype" src="fallback://content/{1}/{page-envelope:document-path}">

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org