You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by fl...@apache.org on 2010/09/20 20:57:38 UTC

svn commit: r999055 - in /lenya/trunk: org.apache.lenya.core.linking/src/main/resources/META-INF/cocoon/avalon/lenya-core-linking-sitemap.xconf org.apache.lenya.webapp/pom.xml

Author: florent
Date: Mon Sep 20 18:57:38 2010
New Revision: 999055

URL: http://svn.apache.org/viewvc?rev=999055&view=rev
Log:
- linking module resolution

Modified:
    lenya/trunk/org.apache.lenya.core.linking/src/main/resources/META-INF/cocoon/avalon/lenya-core-linking-sitemap.xconf
    lenya/trunk/org.apache.lenya.webapp/pom.xml

Modified: lenya/trunk/org.apache.lenya.core.linking/src/main/resources/META-INF/cocoon/avalon/lenya-core-linking-sitemap.xconf
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.linking/src/main/resources/META-INF/cocoon/avalon/lenya-core-linking-sitemap.xconf?rev=999055&r1=999054&r2=999055&view=diff
==============================================================================
--- lenya/trunk/org.apache.lenya.core.linking/src/main/resources/META-INF/cocoon/avalon/lenya-core-linking-sitemap.xconf (original)
+++ lenya/trunk/org.apache.lenya.core.linking/src/main/resources/META-INF/cocoon/avalon/lenya-core-linking-sitemap.xconf Mon Sep 20 18:57:38 2010
@@ -17,7 +17,37 @@
 -->
 
 <map:components xmlns:map="http://apache.org/cocoon/sitemap/1.0">
-  <!--
+  <!-- TODO : 
+       1° the uuid2url transformer is a pure copy from the 2.0.X version for rapid working. Move to uuid2url after
+       2° configure this transformer as a spring-bean ?? How to pass namespaces and markBrokenLinks ??
+    -->
+  <map:transformers>
+    
+    <map:transformer name="uuid2url" logger="lenya.sitemap.transformer.uuid2url"
+      src="org.apache.lenya.cms.cocoon.transformation.UuidToUrlTransformer">
+      <transform namespace="http://www.w3.org/1999/xhtml" element="a" attribute="href"/>
+      <transform namespace="http://www.w3.org/1999/xhtml" element="object" attribute="data"/>
+      <transform namespace="http://www.w3.org/1999/xhtml" element="img" attribute="src"/>
+      <transform namespace="http://www.w3.org/1999/xhtml" element="link" attribute="href"/>
+      <transform namespace="http://www.w3.org/1999/xhtml" element="form" attribute="action"/>
+      <transform namespace="http://www.w3.org/1999/xhtml" element="script" attribute="src"/>
+      <transform namespace="http://www.w3.org/1999/xhtml" element="input" attribute="src"/>
+      <markBrokenLinks attribute="class" value="brokenlink" messageAttribute="title"/>
+    </map:transformer>
+
+    <map:transformer name="proxy" logger="lenya.sitemap.transformer.proxy"
+		     src="org.apache.lenya.cms.cocoon.transformation.ProxyTransformer">
+      <transform namespace="http://www.w3.org/1999/xhtml" element="a" attribute="href"/>
+      <transform namespace="http://www.w3.org/1999/xhtml" element="object" attribute="data"/>
+      <transform namespace="http://www.w3.org/1999/xhtml" element="img" attribute="src"/>
+      <transform namespace="http://www.w3.org/1999/xhtml" element="link" attribute="href"/>
+      <transform namespace="http://www.w3.org/1999/xhtml" element="form" attribute="action"/>
+      <transform namespace="http://www.w3.org/1999/xhtml" element="script" attribute="src"/>
+      <transform namespace="http://www.w3.org/1999/xhtml" element="input" attribute="src"/>
+    </map:transformer>
+    
+  </map:transformers>
+    <!--
   <map:transformers>
 
     <map:transformer name="uuid2url-xhtml" logger="lenya.sitemap.transformer.uuid2url"

Modified: lenya/trunk/org.apache.lenya.webapp/pom.xml
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.webapp/pom.xml?rev=999055&r1=999054&r2=999055&view=diff
==============================================================================
--- lenya/trunk/org.apache.lenya.webapp/pom.xml (original)
+++ lenya/trunk/org.apache.lenya.webapp/pom.xml Mon Sep 20 18:57:38 2010
@@ -143,6 +143,10 @@
     </dependency>
     <dependency>
       <groupId>org.apache.lenya</groupId>
+      <artifactId>lenya-core-linking</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.lenya</groupId>
       <artifactId>lenya-webapp-welcome</artifactId>
     </dependency>
 



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