dims 01/07/10 08:56:37
Modified: . Tag: cocoon_20_branch build.xml
webapp Tag: cocoon_20_branch sitemap.xmap
webapp/docs/samples Tag: cocoon_20_branch samples.xml
xdocs Tag: cocoon_20_branch livesites.xml
Added: webapp/stylesheets/documents Tag: cocoon_20_branch
book2sidebar.xsl root2html.xsl
Log:
- Added Donald Ball's StyleSheets for generating C2 site without Stylebook
- Added John Morrison's patch(es) to make C2 Docs available in the sample webapp.
Revision Changes Path
No revision
No revision
1.8.2.12 +15 -0 xml-cocoon2/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/build.xml,v
retrieving revision 1.8.2.11
retrieving revision 1.8.2.12
diff -u -r1.8.2.11 -r1.8.2.12
--- build.xml 2001/06/28 10:06:53 1.8.2.11
+++ build.xml 2001/07/10 15:56:00 1.8.2.12
@@ -374,6 +374,21 @@
</fileset>
</copy>
+ <copy todir="${build.war}/docs/xdocs" filtering="off">
+ <fileset dir="${docs.dir}">
+ <include name="*.xml"/>
+ <include name="**/*.dtd"/>
+ <include name="**/*.ent"/>
+ <exclude name="*-book.xml"/>
+ </fileset>
+ </copy>
+
+ <copy todir="${build.war}/docs/xdocs/internal" filtering="off">
+ <fileset dir="${docs.dir}">
+ <include name="site-book.xml"/>
+ </fileset>
+ </copy>
+
<copy todir="${build.war}/i18n" filtering="off">
<fileset dir="${webapp.dir}/i18n">
</fileset>
No revision
No revision
1.11.2.12 +26 -3 xml-cocoon2/webapp/sitemap.xmap
Index: sitemap.xmap
===================================================================
RCS file: /home/cvs/xml-cocoon2/webapp/sitemap.xmap,v
retrieving revision 1.11.2.11
retrieving revision 1.11.2.12
diff -u -r1.11.2.11 -r1.11.2.12
--- sitemap.xmap 2001/07/10 12:30:48 1.11.2.11
+++ sitemap.xmap 2001/07/10 15:56:07 1.11.2.12
@@ -103,7 +103,7 @@
<map:action name="request" src="org.apache.cocoon.acting.RequestParamAction"/>
</map:actions>
-</map:components>
+ </map:components>
<!-- =========================== Views =================================== -->
@@ -160,8 +160,21 @@
<map:mount uri-prefix="i18n" src="i18n/" check-reload="yes"/>
</map:match>
</map:pipeline>
- <map:pipeline>
+ <map:pipeline internal-only="true">
+ <map:match pattern="shared/sidebar">
+ <map:generate src="docs/xdocs/internal/site-book.xml"/>
+ <map:transform src="stylesheets/documents/book2sidebar.xsl"/>
+ <map:serialize/>
+ </map:match>
+
+ <map:match pattern="document/*">
+ <map:generate src="docs/xdocs/{1}.xml"/>
+ </map:match>
+ </map:pipeline>
+
+ <map:pipeline>
+
<map:match pattern="">
<map:redirect-to uri="welcome"/>
</map:match>
@@ -290,7 +303,6 @@
<map:serialize/>
</map:match>
-
<map:match pattern="news/aggregate.xml">
<map:aggregate element="page" ns="http://foo.bar.com/myspace">
<map:part src="cocoon:/slashdot/slashdot.xml" element="slashdot"
ns="http://foo.bar.com/slashdot"/>
@@ -299,6 +311,17 @@
</map:aggregate>
<map:transform src="stylesheets/news/news.xsl"/>
<map:serialize/>
+ </map:match>
+
+ <!-- ======================== C2 Docs ============================== -->
+
+ <map:match pattern="documents/*">
+ <map:aggregate element="root">
+ <map:part src="cocoon:/shared/sidebar"/>
+ <map:part src="cocoon:/document/{1}"/>
+ </map:aggregate>
+ <map:transform src="stylesheets/documents/root2html.xsl"/>
+ <map:serialize/>
</map:match>
<!-- ================ Static =========================== -->
No revision
No revision
1.3.2.2 +6 -0 xml-cocoon2/webapp/docs/samples/samples.xml
Index: samples.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/webapp/docs/samples/samples.xml,v
retrieving revision 1.3.2.1
retrieving revision 1.3.2.2
diff -u -r1.3.2.1 -r1.3.2.2
--- samples.xml 2001/07/06 21:31:21 1.3.2.1
+++ samples.xml 2001/07/10 15:56:15 1.3.2.2
@@ -24,6 +24,12 @@
</sample>
</group>
+ <group name="Documentation">
+ <sample name="C2 Docs" href="documents/index">
+ The Cocoon2 documents.
+ </sample>
+ </group>
+
<group name="XML-ized web sites">
<sample name="java.apache.org" href="sites/java.apache.org">
This page shows a much more complex example that shows how powerful
No revision
No revision
1.1.2.1 +30 -0 xml-cocoon2/webapp/stylesheets/documents/Attic/book2sidebar.xsl
1.1.2.1 +76 -0 xml-cocoon2/webapp/stylesheets/documents/Attic/root2html.xsl
No revision
No revision
1.1.2.2 +12 -0 xml-cocoon2/xdocs/livesites.xml
Index: livesites.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/xdocs/livesites.xml,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- livesites.xml 2001/06/07 19:13:57 1.1.2.1
+++ livesites.xml 2001/07/10 15:56:33 1.1.2.2
@@ -65,7 +65,19 @@
<!--<li><link
href="http://www.weather-index.co.uk/">http://www.weather-index.co.uk</link></li> not
up yet-->
<!--<li><link href=""></link></li>-->
</ul>
+ </s1>
+ <s1 title="Live Sites powered by Cocoon 2.X">
+ <p>
+ Here is a list of web sites that are proudly powered by Cocoon 2.X
+ (in chronological order):
+ </p>
+
+ <ul>
+ <li><link href="http://www.sirvisetti.com/uddi/index.html">Sirvisetti UDDI
Registrar WAP site</link></li>
+ <li><link href="http://www.xslt-patterns.com/">XSLTPatterns.com</link></li>
+<!--<li><link href=""></link></li>-->
+ </ul>
<p>
If you don't find your site here, make sure you
<link href="mailto:[EMAIL PROTECTED]">tell us</link> (and confirm
that you want
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]