keiron 2002/11/05 03:38:04
Modified: src/documentation sitemap.xmap
src/documentation/content/xdocs download.xml index.xml
status.xml
src/documentation/content/xdocs/dev index.xml svg.xml
Log:
latest sitemap and some minor link fixes
Revision Changes Path
1.6 +64 -43 xml-fop/src/documentation/sitemap.xmap
Index: sitemap.xmap
===================================================================
RCS file: /home/cvs/xml-fop/src/documentation/sitemap.xmap,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sitemap.xmap 4 Nov 2002 16:20:50 -0000 1.5
+++ sitemap.xmap 5 Nov 2002 11:38:03 -0000 1.6
@@ -10,7 +10,7 @@
<map:generator name="file"
src="org.apache.cocoon.generation.FileGenerator" label="content"/>
<map:generator name="directory"
src="org.apache.cocoon.generation.DirectoryGenerator" label="content"/>
<map:generator name="html"
src="org.apache.cocoon.generation.HTMLGenerator" label="content"/>
- <map:generator name="libre"
src="org.outerj.yer.use.cocoon.HierarchyGenerator" label="content"/>
+ <map:generator name="libre"
src="org.apache.forrest.yer.use.cocoon.HierarchyGenerator" label="content"/>
<map:generator name="nekodtd"
src="org.apache.forrest.components.generator.XNIConfigurableFileGenerator"
label="content"/>
<!-- FIXME: Change this once better view handling is implemented -->
<map:generator name="file-nolabel"
src="org.apache.cocoon.generation.FileGenerator"/>
@@ -87,9 +87,10 @@
</map:selectors>
-->
- <!--map:actions>
- <map:action logger="sitemap.action.request" name="request"
src="org.apache.cocoon.acting.RequestParamAction"/>
- </map:actions-->
+ <map:actions>
+ <!-- <map:action logger="sitemap.action.request" name="request"
src="org.apache.cocoon.acting.RequestParamAction"/> -->
+ <map:action logger="sitemap.action.resource-exists" name="resource-exists"
src="org.apache.cocoon.acting.ResourceExistsAction"/>
+ </map:actions>
<!--
The different pipeline implementations
@@ -148,45 +149,10 @@
<!-- =========================== Pipelines ================================= -->
<map:pipelines>
-
- <map:pipeline>
-
-<!-- ========================== FOP Additions ========================== -->
-
- <map:match pattern="*/svg/*.svg">
- <map:read src="content/xdocs/{1}/svg/{2}.svg" mime-type="image/svg"/>
- </map:match>
- <map:match pattern="*/svg/*.png">
- <map:generate src="content/xdocs/{1}/svg/{2}.svg"/>
- <map:serialize type="svg2png"/>
- </map:match>
- <map:match pattern="*/svg/*.pdf">
- <map:generate src="content/xdocs/{1}/svg/{2}.svg"/>
- <map:serialize type="svg2pdf"/>
- </map:match>
-
- <map:match pattern="*/fo/*.fo">
- <map:read src="content/xdocs/{1}/fo/{2}.fo" mime-type="text/xml"/>
- </map:match>
- <map:match pattern="*/fo/*.fo.pdf">
- <map:generate src="content/xdocs/{1}/fo/{2}.fo"/>
- <map:serialize type="fo2pdf"/>
- </map:match>
-
-<!-- ======================= End FOP Additions ======================== -->
-
- <map:match pattern="">
- <map:redirect-to uri="index.html"/>
- </map:match>
-
- <map:match pattern="apachestats">
- <map:generate type="html"
- src="http://www.apache.org/~rubys/stats/xml.apache.org/">
- <map:parameter name="xpath"
- value="/html/body//a[contains(@href,'.xml')]"/>
- </map:generate>
- <map:serialize type="xml"/>
- </map:match>
+
+ <!-- Pipeline that manages the internal URI space
+ For the external URI space manager, see the next pipeline. -->
+ <map:pipeline internal-only="true">
<map:match pattern="**tab-**.xml">
<map:generate src="content/xdocs/tabs.xml"/>
@@ -367,6 +333,59 @@
</map:call>
</map:match>
+ </map:pipeline>
+
+
+ <map:pipeline internal-only="false">
+
+<!-- ========================== FOP Additions ========================== -->
+
+ <map:match pattern="*/svg/*.svg">
+ <map:read src="content/xdocs/{1}/svg/{2}.svg" mime-type="image/svg"/>
+ </map:match>
+ <map:match pattern="*/svg/*.png">
+ <map:generate src="content/xdocs/{1}/svg/{2}.svg"/>
+ <map:serialize type="svg2png"/>
+ </map:match>
+ <map:match pattern="*/svg/*.pdf">
+ <map:generate src="content/xdocs/{1}/svg/{2}.svg"/>
+ <map:serialize type="svg2pdf"/>
+ </map:match>
+
+ <map:match pattern="*/fo/*.fo">
+ <map:read src="content/xdocs/{1}/fo/{2}.fo" mime-type="text/xml"/>
+ </map:match>
+ <map:match pattern="*/fo/*.fo.pdf">
+ <map:generate src="content/xdocs/{1}/fo/{2}.fo"/>
+ <map:serialize type="fo2pdf"/>
+ </map:match>
+
+<!-- ======================= End FOP Additions ======================== -->
+
+ <map:match pattern="">
+ <map:redirect-to uri="/{context:context}/index.html"/>
+ </map:match>
+
+ <map:match pattern="**">
+
+ <!-- if the file is present verbatim as content, give that to the user... -->
+ <map:act type="resource-exists">
+ <map:parameter name="url" value="content/{1}"/>
+ <map:read src="content/{../1}"/>
+ </map:act>
+
+ <!-- ... otherwise try to generate it using these rules. -->
+
+ <map:match pattern="apachestats">
+ <map:generate type="html"
+ src="http://www.apache.org/~rubys/stats/xml.apache.org/">
+ <map:parameter name="xpath"
+ value="/html/body//a[contains(@href,'.xml')]"/>
+ </map:generate>
+ <map:serialize type="xml"/>
+ </map:match>
+
+
<map:match pattern="*.html">
<map:aggregate element="site">
<map:part src="cocoon:/book-{1}.xml"/>
@@ -537,6 +556,8 @@
</map:call>
</map:match>
+ </map:match>
+
</map:pipeline>
</map:pipelines>
1.2 +4 -2 xml-fop/src/documentation/content/xdocs/download.xml
Index: download.xml
===================================================================
RCS file: /home/cvs/xml-fop/src/documentation/content/xdocs/download.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- download.xml 4 Nov 2002 16:20:51 -0000 1.1
+++ download.xml 5 Nov 2002 11:38:03 -0000 1.2
@@ -19,8 +19,10 @@
In both cases you have to build Fop yourself - see <link
href="compiling.html">Compiling Fop</link> for details.
</p>
<note>
- Important: Currently, releases of FOP are coming out of the
"fop-0_20_2-maintain" branch. The "MAIN" branch is
- used for the redesign. See <link href="design/index.html">NEW DESIGN</link>
for more information.
+ Important: Currently, releases of FOP are coming out of the
+ "fop-0_20_2-maintain" branch. The "MAIN" branch is currently
+ under development. See <link href="dev/index.html">Development Docs</link>
+ for more information.
</note>
<p>To run FOP from the command line, see <link href="running.html">Running
FOP</link>.</p>
<p>If you are interested in embedding FOP in a Java application of your own, see
1.3 +3 -0 xml-fop/src/documentation/content/xdocs/index.xml
Index: index.xml
===================================================================
RCS file: /home/cvs/xml-fop/src/documentation/content/xdocs/index.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- index.xml 4 Nov 2002 16:20:51 -0000 1.2
+++ index.xml 5 Nov 2002 11:38:03 -0000 1.3
@@ -15,6 +15,9 @@
Print, AWT, MIF and TXT.
The primary output target is PDF.
</p>
+ <note>
+ The PDF files on this site are created using current CVS.
+ </note>
<figure width="480" height="260" src="images/document.jpg" alt="Render
Diagram" />
<p>The latest version of Fop is 0.20.4 and it supports the
<link href="http://www.w3.org/TR/2001/REC-xsl-20011015/">XSL-FO Version 1.0
1.2 +1 -1 xml-fop/src/documentation/content/xdocs/status.xml
Index: status.xml
===================================================================
RCS file: /home/cvs/xml-fop/src/documentation/content/xdocs/status.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- status.xml 4 Nov 2002 16:20:51 -0000 1.1
+++ status.xml 5 Nov 2002 11:38:03 -0000 1.2
@@ -35,7 +35,7 @@
<p>
... and plenty of other areas. See the <link href="todo.html">todo</link>
list for more details.
-See this <link href="design/status.html">Status</link> for more information.
+See this <link href="dev/status.html">Status</link> for more information.
</p>
<p>
Development for 1.0DR1 is addressing the design issues for layout and
1.3 +5 -5 xml-fop/src/documentation/content/xdocs/dev/index.xml
Index: index.xml
===================================================================
RCS file: /home/cvs/xml-fop/src/documentation/content/xdocs/dev/index.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- index.xml 4 Nov 2002 16:20:52 -0000 1.2
+++ index.xml 5 Nov 2002 11:38:03 -0000 1.3
@@ -14,7 +14,7 @@
<p>FOP is the world's first print formatter driven by XSL formatting
objects and the world's first output independent formatter. It is a
Java application that reads a formatting object tree and then
- renders the resulting pages to a specified output. <jump
href="output.html">Output formats</jump>
+ renders the resulting pages to a specified output. <link
href="../output.html">Output formats</link>
currently supported are PDF, PCL, PS, SVG, XML (area tree representation),
Print, AWT, MIF and TXT.
The primary output target is PDF.
@@ -29,14 +29,14 @@
<p>The latest version of Fop is 0.20.4 and it supports the
<jump href="http://www.w3.org/TR/2001/REC-xsl-20011015/">XSL-FO Version 1.0
W3C Recommendation</jump>.
- You can <jump href="download.html">download</jump>
+ You can <link href="../download.html">download</link>
Fop including a precompiled version, the source code and many example files
to
get you started. Pointers to introductions into xsl:fo can be found in the
- <jump href="resources.html">resources</jump> section. Please be aware, that
+ <link href="../resources.html">resources</link> section. Please be aware,
that
Fop is at the moment not a full implementation of the basic conformance level
of the xsl:fo standard. You can find a list of supported flow objects and
properties
- in the section <jump href="implemented.html">Features</jump> and in section
- <jump href="limitations.html">Limitations</jump> in what way this support is
+ in the section <link href="../implemented.html">Features</link> and in
section
+ <link href="../limitations.html">Limitations</link> in what way this support
is
limited.
</p>
<p>FOP is part of Apache's XML project. The homepage of FOP is
1.3 +5 -7 xml-fop/src/documentation/content/xdocs/dev/svg.xml
Index: svg.xml
===================================================================
RCS file: /home/cvs/xml-fop/src/documentation/content/xdocs/dev/svg.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- svg.xml 4 Nov 2002 16:20:52 -0000 1.2
+++ svg.xml 5 Nov 2002 11:38:03 -0000 1.3
@@ -58,7 +58,6 @@
for how transcoders work.
</p>
</section>
-<!--
<section>
<title>Examples</title>
<p>
@@ -75,31 +74,31 @@
<tr>
<td>images</td>
<td><link href="svg/images.svg">images.svg</link></td>
- <td><link href="svg/images.png">images.png</link></td>
+ <td><!--link href="svg/images.png"-->images.png<!--/link--></td>
<td><link href="svg/images.pdf">images.pdf</link></td>
</tr>
<tr>
<td>svg linking</td>
<td><link href="svg/link.svg">link.svg</link></td>
- <td><link href="svg/link.png">link.png</link></td>
+ <td><!--link href="svg/link.png"-->link.png<!--/link--></td>
<td><link href="svg/link.pdf">link.pdf</link></td>
</tr>
<tr>
<td>gradients and patterns</td>
<td><link href="svg/paints.svg">paints.svg</link></td>
- <td><link href="svg/paints.png">paints.png</link></td>
+ <td><!--link href="svg/paints.png"-->paints.png<!--/link--></td>
<td><link href="svg/paints.pdf">paints.pdf</link></td>
</tr>
<tr>
<td>various text and effects on text</td>
<td><link href="svg/text.svg">text.svg</link></td>
- <td><link href="svg/text.png">text.png</link></td>
+ <td><!--link href="svg/text.png"-->text.png<!--/link--></td>
<td><link href="svg/text.pdf">text.pdf</link></td>
</tr>
<tr>
<td>transparent objects</td>
<td><link href="svg/transparency.svg">transparency.svg</link></td>
- <td><link href="svg/transparency.png">transparency.png</link></td>
+ <td><!--link href="svg/transparency.png"-->transparency.png<!--/link--></td>
<td><link href="svg/transparency.pdf">transparency.pdf</link></td>
</tr>
</table>
@@ -126,7 +125,6 @@
</table>
</p>
</section>
--->
<section>
<title>Important Notes</title>
<p>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]