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/17 13:13:54 UTC

svn commit: r765944 - /lenya/contributions/2_0_X/modules/atom/sitemap.xmap

Author: andreas
Date: Fri Apr 17 11:13:53 2009
New Revision: 765944

URL: http://svn.apache.org/viewvc?rev=765944&view=rev
Log:
Apply proxy transformation to atom entry.

Modified:
    lenya/contributions/2_0_X/modules/atom/sitemap.xmap

Modified: lenya/contributions/2_0_X/modules/atom/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/modules/atom/sitemap.xmap?rev=765944&r1=765943&r2=765944&view=diff
==============================================================================
--- lenya/contributions/2_0_X/modules/atom/sitemap.xmap (original)
+++ lenya/contributions/2_0_X/modules/atom/sitemap.xmap Fri Apr 17 11:13:53 2009
@@ -26,6 +26,16 @@
         <transform namespace="http://www.w3.org/1999/XSL/Transform" element="include" attribute="href"/>
         <transform namespace="http://www.w3.org/1999/XSL/Transform" element="import" attribute="href"/>
       </map:transformer>
+      <map:transformer name="proxy-entry" logger="lenya.sitemap.transformer.proxy"
+        src="org.apache.lenya.cms.cocoon.transformation.ProxyTransformer">
+        <urls type="relative"/>
+        <transform namespace="http://www.w3.org/2005/Atom" element="link" attribute="href"/>
+        <transform namespace="http://apache.org/lenya/editing" element="style" attribute="href"/>
+        <transform namespace="http://apache.org/lenya/editing" element="page-context" attribute="href"/>
+        <transform namespace="http://apache.org/lenya/editing" element="inserts" attribute="href"/>
+        <transform namespace="http://apache.org/lenya/editing" element="schema" attribute="href"/>
+        <transform namespace="http://apache.org/lenya/editing" element="uri-resolver" attribute="href"/>
+      </map:transformer>
     </map:transformers>
   </map:components>
   
@@ -52,6 +62,7 @@
         <map:match pattern="view/*.xml">
           <map:match pattern="view/entry.xml">
             <map:transform src="xslt/entryMetaData.xsl"/>
+            <map:transform type="proxy-entry"></map:transform>
           </map:match>
           <map:serialize type="xml" status-code="{flow-attr:view/statusCode}"/>
         </map:match>



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