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 2006/09/18 12:19:45 UTC

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

Author: andreas
Date: Mon Sep 18 03:19:44 2006
New Revision: 447353

URL: http://svn.apache.org/viewvc?view=rev&rev=447353
Log:
Added context:/lenya/pubs/{page-envelope:publication-id}/ before references to

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?view=diff&rev=447353&r1=447352&r2=447353
==============================================================================
--- lenya/trunk/src/pubs/default/sitemap.xmap (original)
+++ lenya/trunk/src/pubs/default/sitemap.xmap Mon Sep 18 03:19:44 2006
@@ -246,8 +246,8 @@
             <map:select type="resource-exists">
               <!-- Read from cache -->
               <!-- If configured within Apache then mod_lenya will nevertheless read from cache -->
-              <map:when test="{global:cache-dir}/{../../1}/{../../2}.htmlDISABLED">
-                <map:read src="{global:cache-dir}/{../../1}/{../../2}.html" mime-type="text/html"/>
+              <map:when test="context:/lenya/pubs/{page-envelope:publication-id}/{global:cache-dir}/{../../1}/{../../2}.htmlDISABLED">
+                <map:read src="context:/lenya/pubs/{page-envelope:publication-id}/{global:cache-dir}/{../../1}/{../../2}.html" mime-type="text/html"/>
               </map:when>
               <!-- Write to cache and serialize -->
               <map:otherwise>
@@ -276,7 +276,7 @@
                       <map:parameter name="parameter-selector-test" value="{../../1}"/>
                       <map:when test="live">
                         <map:transform src="fallback://lenya/xslt/authoring/edit/addSourceTags.xsl">
-                          <map:parameter name="source" value="{global:cache-dir}/{../../1}/{../../2}.html"/>
+                          <map:parameter name="source" value="context:/lenya/pubs/{page-envelope:publication-id}/{global:cache-dir}/{../../1}/{../../2}.html"/>
                         </map:transform>
                         <map:transform type="write-source">
                           <map:parameter name="serializer" value="xhtml"/>



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