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 2009/04/15 15:48:44 UTC
svn commit: r765201 -
/lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/sitemap.xmap
Author: andreas
Date: Wed Apr 15 13:48:44 2009
New Revision: 765201
URL: http://svn.apache.org/viewvc?rev=765201&view=rev
Log:
Add pipeline for importExampleContent usecase.
Modified:
lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/sitemap.xmap
Modified: lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/sitemap.xmap?rev=765201&r1=765200&r2=765201&view=diff
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/sitemap.xmap (original)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/sitemap.xmap Wed Apr 15 13:48:44 2009
@@ -184,6 +184,13 @@
<map:match pattern="*/**.*">
+ <map:select type="resource-exists">
+ <map:when test="lenya://lenya/pubs/{page-envelope:publication-id}/content/authoring/sitetree.xml"/>
+ <map:otherwise>
+ <map:redirect-to uri="{proxy:/{page-envelope:publication-id}/{1}/{2}.html}?lenya.usecase=export.importExampleContent"/>
+ </map:otherwise>
+ </map:select>
+
<!--
HEAD requests shouldn't have all the xslt overhead, all the user wants is the HTTP header information.
So the actual content generation is bypassed.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org