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

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Fri May  8 13:19:55 2009
New Revision: 772970

URL: http://svn.apache.org/viewvc?rev=772970&view=rev
Log:
Adding proxy transformation for atom collections.

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=772970&r1=772969&r2=772970&view=diff
==============================================================================
--- lenya/contributions/2_0_X/modules/atom/sitemap.xmap (original)
+++ lenya/contributions/2_0_X/modules/atom/sitemap.xmap Fri May  8 13:19:55 2009
@@ -36,6 +36,11 @@
         <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:transformer name="proxy-collection" logger="lenya.sitemap.transformer.proxy"
+        src="org.apache.lenya.cms.cocoon.transformation.ProxyTransformer">
+        <urls type="relative"/>
+        <transform namespace="http://www.w3.org/2007/app" element="member" attribute="href"/>
+      </map:transformer>
     </map:transformers>
   </map:components>
   
@@ -62,7 +67,10 @@
         <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:transform type="proxy-entry"/>
+          </map:match>
+          <map:match pattern="view/locks.jx">
+            <map:transform type="proxy-collection"/>
           </map:match>
           <map:serialize type="xml" status-code="{flow-attr:view/statusCode}"/>
         </map:match>
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.