forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r159193 - forrest/trunk/plugins/org.apache.forrest.plugin.views/output.xmap
Date Sun, 27 Mar 2005 21:12:59 GMT
Author: thorsten
Date: Sun Mar 27 13:12:59 2005
New Revision: 159193

URL: http://svn.apache.org/viewcvs?view=rev&rev=159193
Log:
Activated the matching for files in directories. Only 2 level dirs seems to work by now and
this limited because I am parsing the css inline and the images path are not modified to the
new situation. :( Need to have a closer look on it. The idea is to extract the css into an
external css file.

Modified:
    forrest/trunk/plugins/org.apache.forrest.plugin.views/output.xmap

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.views/output.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.views/output.xmap?view=diff&r1=159192&r2=159193
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.views/output.xmap (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.views/output.xmap Sun Mar 27 13:12:59
2005
@@ -209,6 +209,17 @@
         </map:aggregate>
         <map:serialize type="xml"/>
     </map:match>
+    <map:match pattern="**/*.page">
+        <map:aggregate element="site">
+          <map:part src="cocoon://skinconf.xml"/>
+          <map:part src="cocoon://build-info"/>
+          <map:part src="cocoon://{1}/tab-{2}.html"/>
+          <map:part src="cocoon://{1}/menu-{2}.html"/>
+          <map:part src="cocoon://{1}/body-{2}.html"/>
+          <map:part src="cocoon:/prepare.view.{1}"/>
+        </map:aggregate>
+        <map:serialize type="xml"/>
+      </map:match>
   </map:pipeline>  
 <!-- END
 	2. nuggets
@@ -293,6 +304,11 @@
   -->   
     <map:match pattern="*.html">
       <map:generate src="cocoon:/{1}.page"/>
+      <map:transform src="cocoon:/prepare.xhtml.{1}"/>
+     	<map:serialize type="xhtml"/>
+    </map:match>
+    <map:match pattern="**/*.html">
+      <map:generate src="cocoon:/{1}/{2}.page"/>
       <map:transform src="cocoon:/prepare.xhtml.{1}"/>
      	<map:serialize type="xhtml"/>
     </map:match>



Mime
View raw message