You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cr...@apache.org on 2004/09/03 08:24:09 UTC
svn commit: rev 37457 - in forrest/trunk/src/documentation/content/xdocs: . docs
Author: crossley
Date: Thu Sep 2 23:24:08 2004
New Revision: 37457
Added:
forrest/trunk/src/documentation/content/xdocs/docs/project-sitemap.xml (contents, props changed)
Modified:
forrest/trunk/src/documentation/content/xdocs/docs/upgrading_06.xml
forrest/trunk/src/documentation/content/xdocs/site.xml
Log:
Start the new "Project sitemap" document grabbed from Nicola Ken email
http://marc.theaimsgroup.com/?t=109414893700002
Added: forrest/trunk/src/documentation/content/xdocs/docs/project-sitemap.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/src/documentation/content/xdocs/docs/project-sitemap.xml Thu Sep 2 23:24:08 2004
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2002-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "http://forrest.apache.org/dtd/document-v12.dtd">
+<document>
+ <header>
+ <title>Using project sitemaps</title>
+ </header>
+ <body>
+ <section>
+ <title>Introduction</title>
+ <source>
+With a small but very important code change in Cocoon, I'm happy to
+announce that we are finally getting to the end of the copyless struggle :-)
+
+With current Forrest 0.6-dev it's now possible for projects to "plugin"
+to our sitemaps without having to copy stuff; this will make possible
+hassle-free update fo future Forrest versions.
+
+How does it work?
+
+If a project has a sitemap.xmap file in it's documentation dir, it gets
+mounted automatically by Forrest and it becomes part of the processing:
+it's a preprocessing step, and it's the first one to handle the request.
+Because of this it can serve any file directly instead of Forrest: if it
+doesn't want to serve a file, it can simply not match the URL and
+Forrest will take care of it as usual.
+
+The cool thing is that if that pipeline serves an xml representation,
+Forrest will provide a skinned version of it.
+
+So if the project sitemap matches test.xml, and serves a correct
+documentDTD file, then the user will see test.html fully rendered by
+Forrest.
+
+Of course, to resolve the directories it's important to use the
+'project:' and 'forrest:' variables, to prevent any possible issue in
+the future.
+
+This will also enable us to cleany refactor the Forrest internals,
+because the mounts will not necessarily take final control of the
+processing if a match is found.
+ </source>
+ </section>
+ </body>
+</document>
Modified: forrest/trunk/src/documentation/content/xdocs/docs/upgrading_06.xml
==============================================================================
--- forrest/trunk/src/documentation/content/xdocs/docs/upgrading_06.xml (original)
+++ forrest/trunk/src/documentation/content/xdocs/docs/upgrading_06.xml Thu Sep 2 23:24:08 2004
@@ -114,6 +114,14 @@
</p>
</section>
+ <section id="project-sitemap">
+ <title>Project Sitemap</title>
+ <p>
+ Capability not yet finished, but
+ <link href="site:project-sitemap">some notes</link>.
+ </p>
+ </section>
+
<section id="skin-config-1">
<title>Private skins might need changes to document2html.xsl</title>
<p>
Modified: forrest/trunk/src/documentation/content/xdocs/site.xml
==============================================================================
--- forrest/trunk/src/documentation/content/xdocs/site.xml (original)
+++ forrest/trunk/src/documentation/content/xdocs/site.xml Thu Sep 2 23:24:08 2004
@@ -63,6 +63,7 @@
<source_pipelines href="#source_pipelines"/>
<forrest_xmap href="#forrest_xmap"/>
</sitemap-ref>
+ <project-sitemap label="Project sitemap" href="project-sitemap.html"/>
<cap label="Sourcetype Action" href="cap.html"/>
</developers>