forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r105969 - in forrest/trunk/plugins: . org.apache.forrest.plugin.logs org.apache.forrest.plugin.logs/resources org.apache.forrest.plugin.logs/resources/stylesheets org.apache.forrest.plugin.logs/src org.apache.forrest.plugin.logs/src/documentation org.apache.forrest.plugin.logs/src/documentation/classes org.apache.forrest.plugin.logs/src/documentation/content org.apache.forrest.plugin.logs/src/documentation/content/xdocs org.apache.forrest.plugin.logs/src/documentation/content/xdocs/images org.apache.forrest.plugin.logs/src/documentation/content/xdocs/samples
Date Sat, 20 Nov 2004 14:35:34 GMT
Author: rgardler
Date: Sat Nov 20 06:35:33 2004
New Revision: 105969

Added:
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/input.xmap   (contents, props changed)
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/resources/
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/resources/stylesheets/
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/resources/stylesheets/j2se2document.xsl   (contents, props changed)
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/classes/
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/classes/CatalogManager.properties   (contents, props changed)
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/.html   (contents, props changed)
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/images/
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/images/group-logo.gif   (contents, props changed)
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/images/group.svg   (contents, props changed)
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/images/icon.png   (contents, props changed)
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/images/project-logo.gif   (contents, props changed)
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/images/project.svg   (contents, props changed)
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/images/usemap.gif   (contents, props changed)
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/index.xml   (contents, props changed)
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/javaLogAPI.xml   (contents, props changed)
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/samples/
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/samples/javaLogAPI.xml   (contents, props changed)
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/samples/logger.dtd   (contents, props changed)
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/site.xml   (contents, props changed)
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/tabs.xml   (contents, props changed)
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/skinconf.xml   (contents, props changed)
Modified:
   forrest/trunk/plugins/plugins.xml
Log:
Input plugin to embed J2SE log files in a Forrest site

Added: forrest/trunk/plugins/org.apache.forrest.plugin.logs/input.xmap
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.logs/input.xmap	Sat Nov 20 06:35:33 2004
@@ -0,0 +1,67 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-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.
+-->
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+
+  <map:components>
+    <map:actions>
+      <map:action logger="sitemap.action.sourcetype" name="sourcetype" src="org.apache.cocoon.acting.sourcetype.SourceTypeAction">
+        <sourcetype name="J2SE">
+          <document-element local-name="log" />
+        </sourcetype>
+      </map:action>
+    </map:actions>
+    
+    <map:selectors default="parameter">
+	    <map:selector logger="sitemap.selector.parameter" name="parameter" src="org.apache.cocoon.selection.ParameterSelector" />
+    </map:selectors>
+  </map:components>
+  
+  <map:resources>    
+    <map:resource name="transform-to-document">
+      <map:act type="sourcetype" src="{src}">
+        <map:select type="parameter">
+          <map:parameter name="parameter-selector-test" value="{sourcetype}" />
+
+          <map:when test="J2SE">
+            <map:generate src="{project:content.xdocs}{../../1}.xml" />
+            <map:transform src="resources/stylesheets/j2se2document.xsl" />
+            <map:serialize type="xml-document"/>
+          </map:when>
+        </map:select>
+      </map:act>
+    </map:resource>
+  </map:resources>
+
+<map:pipelines>
+
+  <map:pipeline>
+    <map:pipeline internal="true">
+      <map:match pattern="do/view/log.xml">
+        <map:generate src="{request-param:protocol}://{request-param:url}"/>
+        <map:transform src="resources/stylesheets/j2se2document.xsl" />
+        <map:serialize type="xml-document"/>
+      </map:match>
+      <map:match pattern="**.xml">
+        <map:call resource="transform-to-document">
+          <map:parameter name="src" value="{project:content.xdocs}{1}.xml" />
+        </map:call>
+      </map:match>
+    </map:pipeline>
+  </map:pipeline>
+</map:pipelines>
+
+</map:sitemap>

Added: forrest/trunk/plugins/org.apache.forrest.plugin.logs/resources/stylesheets/j2se2document.xsl
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.logs/resources/stylesheets/j2se2document.xsl	Sat Nov 20 06:35:33 2004
@@ -0,0 +1,46 @@
+<?xml version="1.0"?>
+<!--
+  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.
+-->
+<!--
+A prototype Docbook-to-Forrest stylesheet.
+Volunteers are needed to improve this!
+
+Support for the range of Docbook tags is very patchy. If you need real
+Docbook support, then use Norm Walsh's stylesheets - see Forrest FAQ.
+
+Credit: original from the jakarta-avalon project
+
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+    <xsl:template match="/">
+        <document>
+          <header>
+          <title>J2SE Log Output</title>
+          </header>
+          <body>
+            <xsl:for-each select="log/record">
+              <xsl:sort select="sequence" data-type="number" order="descending"/>
+              <section>
+                <title><xsl:value-of select="level"/>: <xsl:value-of select="message"/></title>
+                <p>Logged By: <strong><xsl:value-of select="class"/>.<xsl:value-of select="method"/></strong></p>
+                <p>Logged At: <strong> <xsl:value-of select="date"/> (<xsl:value-of select="method"/>)</strong></p>
+              </section>
+            </xsl:for-each>
+          </body>
+        </document>
+    </xsl:template>
+</xsl:stylesheet>

Added: forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/classes/CatalogManager.properties
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/classes/CatalogManager.properties	Sat Nov 20 06:35:33 2004
@@ -0,0 +1,51 @@
+# 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.
+
+#=======================================================================
+# CatalogManager.properties for Catalog Entity Resolver.
+#
+# This is the default properties file for your project.
+# This facilitates local configuration of application-specific catalogs.
+# If you have defined any local catalogs, then they will be loaded
+# before Forrest's core catalogs.
+#
+# See the Apache Forrest documentation:
+# http://forrest.apache.org/docs/your-project.html
+# http://forrest.apache.org/docs/validation.html
+
+# verbosity:
+# The level of messages for status/debug (messages go to standard output).
+# The setting here is for your own local catalogs.
+# The verbosity of Forrest's core catalogs is controlled via
+#  forrestcore/src/core/context/WEB-INF/cocoon.xconf
+#
+# The following messages are provided ...
+#  0 = none
+#  1 = ? (... not sure yet)
+#  2 = 1+, Loading catalog, Resolved public, Resolved system
+#  3 = 2+, Catalog does not exist, resolvePublic, resolveSystem
+#  10 = 3+, List all catalog entries when loading a catalog
+#    (Cocoon also logs the "Resolved public" messages.)
+verbosity=1
+
+# catalogs ... list of additional catalogs to load
+#  (Note that Apache Forrest will automatically load its own default catalog
+#  from src/core/context/resources/schema/catalog.xcat)
+# use full pathnames
+# pathname separator is always semi-colon (;) regardless of operating system
+# directory separator is always slash (/) regardless of operating system
+#
+#catalogs=/home/me/forrest/my-site/src/documentation/resources/schema/catalog.xcat
+catalogs=
+

Added: forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/.html
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/.html	Sat Nov 20 06:35:33 2004
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="ISO-8859-1"?><html><head><title/></head><body><body>&lt;!-- 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. --&gt; &lt;h1&gt;WYSIWYG Editing In Apache Forrest&lt;/h1&gt; &lt;p&gt;This plugin provides WYSIWYG editing for the Apache Forrest appliction. It currently only works with HTML input files, but we hope to extend its range of supported file formats.&lt;/p&gt; &lt;h2&gt;Try it out&lt;/h2&gt; &lt;p&gt;The easiest way to try it out is to &lt;a shape="rect" href="edit_htmlArea/index.html"&gt;edit this page&lt;/a&gt;.&lt;/p&gt; &lt;h1&gt;How do I allow users to edit my Pages?&lt;/h1&gt; &lt;p&gt;If a request is recieved with an URL that contains &amp;quot;edit_htmlArea/&amp;quot; then an edit page is generated for the indicated page. For example:&lt;/p&gt; &lt;p class="source"&gt; &lt;a href="edit_htmlArea/index.html"&gt;edit index&lt;/a&gt; &lt;/p&gt; &lt;p&gt;will create an editor for the &lt;code&gt;index.html&lt;/code&gt; page.&lt;/p&gt;</body></body></html>
\ No newline at end of file

Added: forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/images/group-logo.gif
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/images/group.svg
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/images/group.svg	Sat Nov 20 06:35:33 2004
@@ -0,0 +1,81 @@
+<?xml version="1.0" standalone="no"?>
+<!--
+  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.
+-->
+
+<!--
+       SVG Anteater logo
+
+To get started with SVG, I'd recommend getting the Adobe SVG plugin, and the
+xml-batik CVS module. Then have a look at the xml-batik/samples files. Use the
+SVG spec (http://www.w3.org/TR/SVG/) as a reference.
+-->
+
+<!-- See Forrest Issue: FOR-229
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
+"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"
+[
+ <!ATTLIST svg xmlns:for CDATA #FIXED "http://apache.org/forrest">
+ <!ENTITY % textExt "|for:group-name">
+ <!ELEMENT for:group-name (#PCDATA)>
+]>
+-->
+<svg xmlns="http://www.w3.org/2000/svg"
+     xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+     xsl:version="1.0"
+     xmlns:for="http://apache.org/forrest"
+     width="220" height="65" >
+  <title>Anteater logo</title>
+
+  <defs>
+
+    <!--
+    <radialGradient id="radialGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </radialGradient>
+    <linearGradient id="linearGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </linearGradient>
+    -->
+
+    <linearGradient id="gradient" x1="0" y1="0" x2="0" y2="1">
+      <stop style="stop-color:white" offset="0"/>
+      <stop style="stop-color:lightgreen" offset="1"/>
+    </linearGradient>
+
+    <filter id="shadowFilter"  filterUnits="objectBoundingBox">
+      <!-- Takes the alpha channel (black outline of the text), blurs it and saves as 'blur' -->
+      <feGaussianBlur in="SourceAlpha" stdDeviation="2 2" result="blur"/>
+      <!-- Takes saved 'blur' and offsets it by 4 pixels, saves as 'offsetBlur' -->
+      <feOffset in="blur" dx="4" dy="4" result="offsetBlur"/>
+      <!-- Merges SourceGraphic (original image) and 'offsetBlur', putting the
+      former 'over' the latter, and using the merged result as the finished
+      image -->
+      <feComposite in="SourceGraphic" in2="offsetBlur" operator="over"/>
+    </filter>
+
+  </defs>
+
+  <g filter="url(#shadowFilter)" fill="url(#gradient)">
+    <text x="40%" y="60%" style="font-size:24pt; font-family:Verdana ; text-anchor: middle">
+    <for:group-name />
+    </text>
+  </g>
+</svg>

Added: forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/images/icon.png
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/images/project-logo.gif
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/images/project.svg
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/images/project.svg	Sat Nov 20 06:35:33 2004
@@ -0,0 +1,81 @@
+<?xml version="1.0" standalone="no"?>
+<!--
+  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.
+-->
+
+<!--
+       SVG Anteater logo
+
+To get started with SVG, I'd recommend getting the Adobe SVG plugin, and the
+xml-batik CVS module. Then have a look at the xml-batik/samples files. Use the
+SVG spec (http://www.w3.org/TR/SVG/) as a reference.
+-->
+
+<!-- See Forrest Issue: FOR-229
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
+"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"
+[
+ <!ATTLIST svg xmlns:for CDATA #FIXED "http://apache.org/forrest">
+ <!ENTITY % textExt "|for:project-name">
+ <!ELEMENT for:project-name (#PCDATA)>
+]>
+-->
+<svg xmlns="http://www.w3.org/2000/svg"
+     xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+     xsl:version="1.0"
+     xmlns:for="http://apache.org/forrest"
+     width="220" height="65" >
+  <title>Anteater logo</title>
+
+  <defs>
+
+    <!--
+    <radialGradient id="radialGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </radialGradient>
+    <linearGradient id="linearGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </linearGradient>
+    -->
+
+    <linearGradient id="gradient" x1="0" y1="0" x2="0" y2="1">
+      <stop style="stop-color:white" offset="0"/>
+      <stop style="stop-color:lightgreen" offset="1"/>
+    </linearGradient>
+
+    <filter id="shadowFilter"  filterUnits="objectBoundingBox">
+      <!-- Takes the alpha channel (black outline of the text), blurs it and saves as 'blur' -->
+      <feGaussianBlur in="SourceAlpha" stdDeviation="2 2" result="blur"/>
+      <!-- Takes saved 'blur' and offsets it by 4 pixels, saves as 'offsetBlur' -->
+      <feOffset in="blur" dx="4" dy="4" result="offsetBlur"/>
+      <!-- Merges SourceGraphic (original image) and 'offsetBlur', putting the
+      former 'over' the latter, and using the merged result as the finished
+      image -->
+      <feComposite in="SourceGraphic" in2="offsetBlur" operator="over"/>
+    </filter>
+
+  </defs>
+
+  <g filter="url(#shadowFilter)" fill="url(#gradient)">
+    <text x="51%" y="75%" style="font-size:32pt; font-family:Verdana ; text-anchor: middle" >
+    <for:project-name />
+    </text>
+  </g>
+</svg>

Added: forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/images/usemap.gif
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/index.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/index.xml	Sat Nov 20 06:35:33 2004
@@ -0,0 +1,37 @@
+<?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 V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+<document> 
+  <header> 
+    <title>Welcome to the org.apache.forrest.plugin.logs Plugin</title> 
+  </header> 
+  <body> 
+    <section>
+      <title>Apache Forrest - org.apache.forrest.plugin.logs Plugin</title>
+      <p>This plugin creates a Forrest page from Java Log files. It is
+      hoped that it will, in the future, be extended to support other
+      types of logs (for example, GUMP logs, SVN logs etc.).</p>
+    </section>
+    
+    <section>
+      <title>Supported Formats</title>
+      <ul>
+        <li><a href="javaLogAPI.html">Java Logging API</a></li>
+      </ul>
+    </section>
+  </body>
+</document>
\ No newline at end of file

Added: forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/javaLogAPI.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/javaLogAPI.xml	Sat Nov 20 06:35:33 2004
@@ -0,0 +1,128 @@
+<?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 V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+<document> 
+  <header> 
+    <title>Java Logging API</title> 
+  </header> 
+  <body> 
+    <p>The Java Logging API is part the 
+    <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/logging/package-summary.html">J2SE 
+    API Specification</a> an overview of the  key elements of this API is
+    <a href="http://java.sun.com/j2se/1.4.2/docs/guide/util/logging/overview.html">available</a>.</p>
+    
+    <section>
+      <title>Integrating Java Logs in a Forrest Site</title>
+      
+      <p>If you have the log file available, simply place it in your projects 
+      xdoc directory and link to it as normal. For example, the following file
+      is stored within this projects xdocs directory in a <code>samples</code>
+      subfolder.</p>
+      
+      <source><![CDATA[<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE log SYSTEM "logger.dtd">
+<log>
+<record>
+  <date>2000-08-23 19:21:05</date>
+  <millis>967083665789</millis>
+  <sequence>1256</sequence>
+  <logger>kgh.test.fred</logger>
+  <level>INFO</level>
+  <class>kgh.test.XMLTest</class>
+  <method>writeLog</method>
+  <thread>10</thread>
+  <message>Hello world!</message>
+</record>
+<record>
+  <date>2000-08-23 19:21:10</date>
+  <millis>967083665789</millis>
+  <sequence>1265</sequence>
+  <logger>kgh.test.fred</logger>
+  <level>INFO</level>
+  <class>kgh.test.XMLTest</class>
+  <method>writeLog</method>
+  <thread>10</thread>
+  <message>I'm the third log message (but recorded second in the file)</message>
+</record>
+<record>
+  <date>2000-08-23 19:21:06</date>
+  <millis>967083665789</millis>
+  <sequence>1260</sequence>
+  <logger>kgh.test.fred</logger>
+  <level>INFO</level>
+  <class>kgh.test.XMLTest</class>
+  <method>writeLog</method>
+  <thread>10</thread>
+  <message>This is the second log message in terms of time, but the third in the log file.</message>
+</record>
+<record>
+  <date>2000-08-23 19:21:15</date>
+  <millis>967083665789</millis>
+  <sequence>1270</sequence>
+  <logger>kgh.test.fred</logger>
+  <level>INFO</level>
+  <class>kgh.test.XMLTest</class>
+  <method>destroy</method>
+  <thread>10</thread>
+  <message>Goodbye world!</message>
+</record>
+</log>
+      ]]></source>
+      
+      <p>To view this document as an HTML page you would use the following 
+      link <a href="samples/javaLogAPI.html">&lt;a href="samples/javaLogAPI.html&gt;</a>.</p>
+      
+      <p>If the log file is not available to you, but instead is available at
+      a given URL then you need to tell the plugin where to find the log
+      file, it will then retrieve the file and include it as if it were 
+      local. To do this you make a request the URL 
+      <code>/do/view/log.FORMAT</code>, where <code>FORMAT</code> is any 
+      extension that your Forrest project recognises (e.g. html, pdf etc). In
+      addition you need to pass some parameters in the URL so that the
+      plugin can find your log file:</p>
+      
+      <table>
+        <tr>
+          <th>Parameter</th>
+          <th>Description</th>
+        </tr>
+        <tr>
+          <td>location</td>
+          <td>The location of the log file</td>
+        </tr>
+        <tr>
+          <td>protocol</td>
+          <td>The protocol to use when retrieving the log file</td>
+        </tr>
+      </table>
+      
+      <p>For example, to retrieve a log file from a location on your local 
+      hard drive you would construct an URL something like this (to
+      view the html page):</p>
+      
+      <source>
+        &lt;a href="/do/view/log.html?protocol=file&amp;location=path\to\file\file.log"&gt;View Log&lt;/&gt;
+      </source>
+      
+      <p>or to view the PDF version of the log file:</p>
+      
+      <source>
+        &lt;a href="/do/view/log.pdf?protocol=file&amp;location=path\to\file\file.log"&gt;View Log&lt;/&gt;
+      </source>
+    </section>
+  </body>
+</document>

Added: forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/samples/javaLogAPI.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/samples/javaLogAPI.xml	Sat Nov 20 06:35:33 2004
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE log SYSTEM "logger.dtd">
+<log>
+<record>
+  <date>2000-08-23 19:21:05</date>
+  <millis>967083665789</millis>
+  <sequence>1256</sequence>
+  <logger>kgh.test.fred</logger>
+  <level>INFO</level>
+  <class>kgh.test.XMLTest</class>
+  <method>writeLog</method>
+  <thread>10</thread>
+  <message>Hello world!</message>
+</record>
+<record>
+  <date>2000-08-23 19:21:10</date>
+  <millis>967083665789</millis>
+  <sequence>1265</sequence>
+  <logger>kgh.test.fred</logger>
+  <level>INFO</level>
+  <class>kgh.test.XMLTest</class>
+  <method>writeLog</method>
+  <thread>10</thread>
+  <message>I'm the third log message (but recorded second in the file)</message>
+</record>
+<record>
+  <date>2000-08-23 19:21:06</date>
+  <millis>967083665789</millis>
+  <sequence>1260</sequence>
+  <logger>kgh.test.fred</logger>
+  <level>INFO</level>
+  <class>kgh.test.XMLTest</class>
+  <method>writeLog</method>
+  <thread>10</thread>
+  <message>This is the second log message in terms of time, but the third in the log file.</message>
+</record>
+<record>
+  <date>2000-08-23 19:21:15</date>
+  <millis>967083665789</millis>
+  <sequence>1270</sequence>
+  <logger>kgh.test.fred</logger>
+  <level>INFO</level>
+  <class>kgh.test.XMLTest</class>
+  <method>destroy</method>
+  <thread>10</thread>
+  <message>Goodbye world!</message>
+</record>
+</log>

Added: forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/samples/logger.dtd
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/samples/logger.dtd	Sat Nov 20 06:35:33 2004
@@ -0,0 +1,68 @@
+<!-- DTD used by the java.util.logging.XMLFormatter -->
+<!-- This provides an XML formatted log message. -->
+
+<!-- The document type is "log" which consists of a sequence
+of record elements -->
+<!ELEMENT log (record*)>
+
+<!-- Each logging call is described by a record element. -->
+<!ELEMENT record (date, millis, sequence, logger?, level,
+class?, method?, thread?, message, key?, catalog?, param*, exception?)>
+
+<!-- Date and time when LogRecord was created in ISO 8601 format -->
+<!ELEMENT date (#PCDATA)>
+
+<!-- Time when LogRecord was created in milliseconds since
+midnight January 1st, 1970, UTC. -->
+<!ELEMENT millis (#PCDATA)>
+
+<!-- Unique sequence number within source VM. -->
+<!ELEMENT sequence (#PCDATA)>
+
+<!-- Name of source Logger object. -->
+<!ELEMENT logger (#PCDATA)>
+
+<!-- Logging level, may be either one of the constant
+names from java.util.logging.Constants (such as "SEVERE"
+or "WARNING") or an integer value such as "20". -->
+<!ELEMENT level (#PCDATA)>
+
+<!-- Fully qualified name of class that issued
+logging call, e.g. "javax.marsupial.Wombat". -->
+<!ELEMENT class (#PCDATA)>
+
+<!-- Name of method that issued logging call.
+It may be either an unqualified method name such as
+"fred" or it may include argument type information
+in parenthesis, for example "fred(int,String)". -->
+<!ELEMENT method (#PCDATA)>
+
+<!-- Integer thread ID. -->
+<!ELEMENT thread (#PCDATA)>
+
+<!-- The message element contains the text string of a log message. -->
+<!ELEMENT message (#PCDATA)>
+
+<!-- If the message string was localized, the key element provides
+the original localization message key. -->
+<!ELEMENT key (#PCDATA)>
+
+<!-- If the message string was localized, the catalog element provides
+the logger's localization resource bundle name. -->
+<!ELEMENT catalog (#PCDATA)>
+
+<!-- If the message string was localized, each of the param elements
+provides the String value (obtained using Object.toString())
+of the corresponding LogRecord parameter. -->
+<!ELEMENT param (#PCDATA)>
+
+<!-- An exception consists of an optional message string followed
+by a series of StackFrames. Exception elements are used
+for Java exceptions and other java Throwables. -->
+<!ELEMENT exception (message?, frame+)>
+
+<!-- A frame describes one line in a Throwable backtrace. -->
+<!ELEMENT frame (class, method, line?)>
+
+<!-- an integer line number within a class's source file. -->
+<!ELEMENT line (#PCDATA)>

Added: forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/site.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/site.xml	Sat Nov 20 06:35:33 2004
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!--
+  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.
+-->
+
+<!--
+Forrest site.xml
+
+This file contains an outline of the site's information content.  It is used to:
+- Generate the website menus (though these can be overridden - see docs)
+- Provide semantic, location-independent aliases for internal 'site:' URIs, eg
+<link href="site:changes"> links to changes.html (or ../changes.html if in
+  subdir).
+- Provide aliases for external URLs in the external-refs section.  Eg, <link
+  href="ext:cocoon"> links to http://cocoon.apache.org/ 
+
+See http://forrest.apache.org/docs/linking.html for more info
+-->
+
+<site label="org.apache.forrest.plugin.logs" href="" xmlns="http://apache.org/forrest/linkmap/1.0" tab="">
+
+  <about label="About">
+    <index label="Index" href="index.html" description="Welcome to org.apache.forrest.plugin.logs"/>
+    <changes label="Changes" href="changes.html" description="History of Changes" />
+    <todo label="Todo" href="todo.html" description="Todo List" />
+  </about>
+  
+  <sample label="Samples" href="samples/" tab="samples">
+    <javaLogAPI label="Java Logger API" href="javaLogAPI.html"/>
+  </sample>
+
+  <!--
+  The href must be wholesite.html/pdf  You can change the labels and node names
+  <all label="All">
+    <whole_site_html label="Whole Site HTML" href="wholesite.html"/>
+    <whole_site_pdf label="Whole Site PDF" href="wholesite.pdf"/>
+  </all>
+  -->
+
+  <external-refs>
+    <forrest href="http://forrest.apache.org/">
+      <linking href="docs/linking.html"/>
+      <validation href="docs/validation.html"/>
+      <webapp href="docs/your-project.html#webapp"/>
+      <dtd-docs href="docs/dtd-docs.html"/>
+    </forrest>
+    <cocoon href="http://cocoon.apache.org/"/>
+    <xml.apache.org href="http://xml.apache.org/"/>
+  </external-refs>
+
+</site>

Added: forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/tabs.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/content/xdocs/tabs.xml	Sat Nov 20 06:35:33 2004
@@ -0,0 +1,42 @@
+<?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 tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.1//EN" "http://forrest.apache.org/dtd/tab-cocoon-v11.dtd">
+
+<tabs software="MyProj"
+  title="MyProj"
+  copyright="Foo"
+  xmlns:xlink="http://www.w3.org/1999/xlink">
+
+  <!-- The rules for tabs are:
+    @dir will always have '/@indexfile' added.
+    @indexfile gets appended to @dir if the tab is selected. Defaults to 'index.html'
+    @href is not modified unless it is root-relative and obviously specifies a
+    directory (ends in '/'), in which case /index.html will be added
+    If @id's are present, site.xml entries with a matching @tab will be in that tab.
+
+   Tabs can be embedded to a depth of two. The second level of tabs will only 
+    be displayed when their parent tab is selected.    
+  -->
+
+  <tab id="" label="Home" dir="" indexfile="index.html"/>
+  <tab id="samples" label="Samples" dir="samples/" indexfile="javaLogAPI.html"/>
+  <!-- Add new tabs here, eg:
+  <tab label="How-Tos" dir="community/howto/"/>
+  <tab label="XML Site" dir="xml-site/"/>
+  -->
+
+</tabs>

Added: forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/skinconf.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.logs/src/documentation/skinconf.xml	Sat Nov 20 06:35:33 2004
@@ -0,0 +1,354 @@
+<?xml version="1.0"?>
+<!--
+  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.
+-->
+
+<!--
+Skin configuration file. This file contains details of your project,
+which will be used to configure the chosen Forrest skin.
+-->
+
+<!DOCTYPE skinconfig PUBLIC "-//APACHE//DTD Skin Configuration V0.6-3//EN" "http://forrest.apache.org/dtd/skinconfig-v06-3.dtd">
+<skinconfig>
+  <!-- To enable lucene search add provider="lucene" (default is google).
+    Add box-location="alt" to move the search box to an alternate location
+    (if the skin supports it) and box-location="all" to show it in all
+    available locations on the page.  Remove the <search> element to show
+    no search box. @domain will enable sitesearch for the specific domain with google.
+    In other words google will search the @domain for the query string.
+  -->
+  <search name="org.apache.forrest.plugin.logs Plugin" domain="mydomain" provider="google"/>
+
+  <!-- Disable the print link? If enabled, invalid HTML 4.0.1 -->
+  <disable-print-link>true</disable-print-link>  
+  <!-- Disable the PDF link? -->
+  <disable-pdf-link>false</disable-pdf-link>
+  <!-- Disable the POD link? -->
+  <disable-pod-link>true</disable-pod-link>
+  <!-- Disable the Text link? FIXME: NOT YET IMPLEMENETED. -->
+  <disable-txt-link>true</disable-txt-link>
+  <!-- Disable the xml source link? -->
+  <!-- The xml source link makes it possible to access the xml rendition
+    of the source frim the html page, and to have it generated statically.
+    This can be used to enable other sites and services to reuse the
+    xml format for their uses. Keep this disabled if you don't want other
+    sites to easily reuse your pages.-->
+  <disable-xml-link>true</disable-xml-link>
+
+  <!-- Disable navigation icons on all external links? -->
+  <disable-external-link-image>false</disable-external-link-image>
+
+  <!-- Disable w3c compliance links? 
+    Use e.g. align="center" to move the compliance links logos to 
+    an alternate location default is left.
+    (if the skin supports it) -->
+  <disable-compliance-links>false</disable-compliance-links>
+
+  <!-- Render mailto: links unrecognisable by spam harvesters? -->
+  <obfuscate-mail-links>true</obfuscate-mail-links>
+  <obfuscate-mail-value>.at.</obfuscate-mail-value>
+
+  <!-- Disable the javascript facility to change the font size -->
+  <disable-font-script>true</disable-font-script>
+
+  <!-- mandatory project logo
+       default skin: renders it at the top -->
+  <project-name>org.apache.forrest.plugin.logs</project-name>
+  <project-description>org.apache.forrest.plugin.logs plugin for Apache Forrest</project-description>
+  <project-url>http://myproj.mygroup.org/</project-url>
+  <project-logo>images/project.png</project-logo>
+  <!-- Alternative static image:
+  <project-logo>images/project-logo.gif</project-logo> -->
+
+  <!-- optional group logo
+       default skin: renders it at the top-left corner -->
+  <group-name>Apache Forrest</group-name>
+  <group-description>Apache Forrest Project - The Apache Software Foundation</group-description>
+  <group-url>http://forrest.apache.org</group-url>
+  <group-logo>images/group.png</group-logo>
+  <!-- Alternative static image:
+  <group-logo>images/group-logo.gif</group-logo> -->
+
+  <!-- optional host logo (e.g. sourceforge logo)
+       default skin: renders it at the bottom-left corner -->
+  <host-url></host-url>
+  <host-logo></host-logo>
+
+  <!-- relative url of a favicon file, normally favicon.ico -->
+  <favicon-url></favicon-url>
+
+  <!-- The following are used to construct a copyright statement -->
+  <year>2004</year>
+  <vendor>The Acme Software Foundation.</vendor>
+  <!-- The optional copyright-link URL will be used as a link in the
+    copyright statement
+  <copyright-link>http://www.apache.org/licenses/</copyright-link>
+  -->
+
+  <!-- Some skins use this to form a 'breadcrumb trail' of links.
+    Use location="alt" to move the trail to an alternate location
+    (if the skin supports it).
+	  Omit the location attribute to display the trail in the default location.
+	  Use location="none" to not display the trail (if the skin supports it).
+    For some skins just set the attributes to blank.
+  -->
+  <trail>
+    <link1 name="Apache Forrest" href="http://forrest.apache.org/"/>
+    <link2 name="org.apache.forrest.plugin.logs" href="http://forrest.apache.org/plugins/org.apache.forrest.plugin.logs"/>
+    <link3 name="" href=""/>
+  </trail>
+
+  <!-- Configure the TOC, i.e. the Table of Contents.
+  @max-depth
+   how many "section" levels need to be included in the
+   generated Table of Contents (TOC). 
+  @min-sections
+   Minimum required to create a TOC.
+  @location ("page","menu","page,menu", "none")
+   Where to show the TOC.
+  -->
+  <toc max-depth="2" min-sections="1" location="page"/>
+
+  <!-- Heading types can be clean|underlined|boxed  -->
+  <headings type="boxed"/>
+  
+  <!-- The optional feedback element will be used to construct a
+    feedback link in the footer with the page pathname appended:
+    <a href="@href">{@to}</a>
+    -->
+  <feedback to="webmaster@foo.com"
+    href="mailto:webmaster@foo.com?subject=Feedback&#160;" >
+    Send feedback about the website to:
+  </feedback>
+  <!--
+    extra-css - here you can define custom css-elements that are 
+    a. overriding the fallback elements or 
+    b. adding the css definition from new elements that you may have 
+       used in your documentation.
+    -->
+  <extra-css>
+    <!--Example of b. 
+        To define the css definition of a new element that you may have used
+        in the class attribute of a <p> node. 
+        e.g. <p class="quote"/>
+    -->
+    p.quote {
+      margin-left: 2em;
+      padding: .5em;
+      background-color: #f0f0f0;
+      font-family: monospace;
+    }
+  </extra-css>
+
+  <colors>
+  <!-- These values are used for the generated CSS files. -->
+
+  <!-- Krysalis -->
+<!--
+    <color name="header"    value="#FFFFFF"/>
+
+    <color name="tab-selected" value="#a5b6c6" link="#000000" vlink="#000000" hlink="#000000"/>
+    <color name="tab-unselected" value="#F7F7F7"  link="#000000" vlink="#000000" hlink="#000000"/>
+    <color name="subtab-selected" value="#a5b6c6"  link="#000000" vlink="#000000" hlink="#000000"/>
+    <color name="subtab-unselected" value="#a5b6c6"  link="#000000" vlink="#000000" hlink="#000000"/>
+
+    <color name="heading" value="#a5b6c6"/>
+    <color name="subheading" value="#CFDCED"/>
+        
+    <color name="navstrip" value="#CFDCED" font="#000000" link="#000000" vlink="#000000" hlink="#000000"/>
+    <color name="toolbox" value="#a5b6c6"/>
+    <color name="border" value="#a5b6c6"/>
+        
+    <color name="menu" value="#F7F7F7" link="#000000" vlink="#000000" hlink="#000000"/>    
+    <color name="dialog" value="#F7F7F7"/>
+            
+    <color name="body"    value="#ffffff" link="#0F3660" vlink="#009999" hlink="#000066"/>
+    
+    <color name="table" value="#a5b6c6"/>    
+    <color name="table-cell" value="#ffffff"/>    
+    <color name="highlight" value="#ffff00"/>
+    <color name="fixme" value="#cc6600"/>
+    <color name="note" value="#006699"/>
+    <color name="warning" value="#990000"/>
+    <color name="code" value="#a5b6c6"/>
+        
+    <color name="footer" value="#a5b6c6"/>
+-->
+  
+  <!-- Forrest -->
+<!--
+    <color name="header"    value="#294563"/>
+
+    <color name="tab-selected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
+    <color name="tab-unselected" value="#b5c7e7" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
+    <color name="subtab-selected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
+    <color name="subtab-unselected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
+
+    <color name="heading" value="#294563"/>
+    <color name="subheading" value="#4a6d8c"/>
+        
+    <color name="navstrip" value="#cedfef" font="#0F3660" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
+    <color name="toolbox" value="#4a6d8c"/>
+    <color name="border" value="#294563"/>
+    
+    <color name="menu" value="#4a6d8c" font="#cedfef" link="#ffffff" vlink="#ffffff" hlink="#ffcf00"/>    
+    <color name="dialog" value="#4a6d8c"/>
+            
+    <color name="body" value="#ffffff"  link="#0F3660" vlink="#009999" hlink="#000066"/>
+    
+    <color name="table" value="#7099C5"/>    
+    <color name="table-cell" value="#f0f0ff"/>    
+    <color name="highlight" value="#ffff00"/>
+    <color name="fixme" value="#cc6600"/>
+    <color name="note" value="#006699"/>
+    <color name="warning" value="#990000"/>
+    <color name="code" value="#CFDCED"/>
+        
+    <color name="footer" value="#cedfef"/>
+-->
+
+  <!-- Collabnet --> 
+<!--
+    <color name="header"    value="#003366"/>
+
+    <color name="tab-selected" value="#dddddd" link="#555555" vlink="#555555" hlink="#555555"/>
+    <color name="tab-unselected" value="#999999" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
+    <color name="subtab-selected" value="#cccccc" link="#000000" vlink="#000000" hlink="#000000"/>
+    <color name="subtab-unselected" value="#cccccc" link="#555555" vlink="#555555" hlink="#555555"/>
+
+    <color name="heading" value="#003366"/>
+    <color name="subheading" value="#888888"/>
+    
+    <color name="navstrip" value="#dddddd" font="#555555"/>
+    <color name="toolbox" value="#dddddd" font="#555555"/>
+    <color name="border" value="#999999"/>
+    
+    <color name="menu" value="#ffffff"/>    
+    <color name="dialog" value="#eeeeee"/>
+            
+    <color name="body"      value="#ffffff"/>
+    
+    <color name="table" value="#ccc"/>    
+    <color name="table-cell" value="#ffffff"/>   
+    <color name="highlight" value="#ffff00"/>
+    <color name="fixme" value="#cc6600"/>
+    <color name="note" value="#006699"/>
+    <color name="warning" value="#990000"/>
+    <color name="code" value="#003366"/>
+        
+    <color name="footer" value="#ffffff"/>
+-->
+ <!-- Lenya using pelt-->
+<!--
+    <color name="header" value="#ffffff"/>
+
+    <color name="tab-selected" value="#4C6C8F" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
+    <color name="tab-unselected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
+    <color name="subtab-selected" value="#000000" link="#000000" vlink="#000000" hlink="#000000"/>
+    <color name="subtab-unselected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
+
+    <color name="heading" value="#E5E4D9"/>
+    <color name="subheading" value="#000000"/>
+    <color name="published" value="#4C6C8F" font="#FFFFFF"/>
+    <color name="feedback" value="#4C6C8F" font="#FFFFFF" align="center"/>
+    <color name="navstrip" value="#E5E4D9" font="#000000"/>
+
+    <color name="toolbox" value="#CFDCED" font="#000000"/>
+
+    <color name="border" value="#999999"/>
+    <color name="menu" value="#4C6C8F" font="#ffffff" link="#ffffff" vlink="#ffffff" hlink="#ffffff" current="#FFCC33" />    
+    <color name="menuheading" value="#cfdced" font="#000000" />
+    <color name="searchbox" value="#E5E4D9" font="#000000"/>
+    
+    <color name="dialog" value="#CFDCED"/>
+    <color name="body" value="#ffffff" />            
+    
+    <color name="table" value="#ccc"/>    
+    <color name="table-cell" value="#ffffff"/>   
+    <color name="highlight" value="#ffff00"/>
+    <color name="fixme" value="#cc6600"/>
+    <color name="note" value="#006699"/>
+    <color name="warning" value="#990000"/>
+    <color name="code" value="#003366"/>
+        
+    <color name="footer" value="#E5E4D9"/>
+-->
+  </colors>
+ 
+  <!-- Settings specific to PDF output. -->
+  <pdf>
+    <!-- 
+       Supported page sizes are a0, a1, a2, a3, a4, a5, executive,
+       folio, legal, ledger, letter, quarto, tabloid (default letter).
+       Supported page orientations are portrait, landscape (default
+       portrait).
+       Supported text alignments are left, right, justify (default left).
+    -->
+    <page size="letter" orientation="portrait" text-align="left"/>
+
+    <!--
+       Margins can be specified for top, bottom, inner, and outer
+       edges. If double-sided="false", the inner edge is always left
+       and the outer is always right. If double-sided="true", the
+       inner edge will be left on odd pages, right on even pages,
+       the outer edge vice versa.
+       Specified below are the default settings.
+    -->
+    <margins double-sided="false">
+      <top>1in</top>
+      <bottom>1in</bottom>
+      <inner>1.25in</inner>
+      <outer>1in</outer>
+    </margins>
+
+    <!--
+      Print the URL text next to all links going outside the file
+    -->
+    <show-external-urls>false</show-external-urls>
+
+    <!--
+      Disable the copyright footer on each page of the PDF.
+      A footer is composed for each page. By default, a "credit" with role=pdf
+      will be used, as explained below. Otherwise a copyright statement
+      will be generated. This latter can be disabled.
+    -->
+    <disable-copyright-footer>false</disable-copyright-footer>
+  </pdf>
+
+  <!-- Credits are typically rendered as a set of small clickable
+    images in the page footer.
+    Use box-location="alt" to move the credit to an alternate location
+    (if the skin supports it). 
+  -->
+  <credits>
+    <credit box-location="alt">
+      <name>Built with Apache Forrest</name>
+      <url>http://forrest.apache.org/</url>
+      <image>images/built-with-forrest-button.png</image>
+      <width>88</width>
+      <height>31</height>
+    </credit>
+    <!-- A credit with @role="pdf" will be used to compose a footer
+     for each page in the PDF, using either "name" or "url" or both.
+    -->
+    <!--
+    <credit role="pdf">
+      <name>Built with Apache Forrest</name>
+      <url>http://forrest.apache.org/</url>
+    </credit>
+    -->
+  </credits>
+
+</skinconfig>

Modified: forrest/trunk/plugins/plugins.xml
==============================================================================
--- forrest/trunk/plugins/plugins.xml	(original)
+++ forrest/trunk/plugins/plugins.xml	Sat Nov 20 06:35:33 2004
@@ -39,10 +39,24 @@
         type="input"
         author="Ross Gardler"
         website="http://www.burrokeet.org"
-        url="http://www.apache.org/~rgardler/testingGround/forrestPlugins/"
+        url="http://forrest.apache.org/plugins"
         version="0.1-dev">
     <description>
       Embed syndicated content in a Forrest site. 
+    </description>
+    <forrestVersion>0.7</forrestVersion>
+  </plugin>  
+  
+  <plugin name="org.apache.forrest.plugin.logs"
+        type="input"
+        author="Ross Gardler"
+        website="http://forrest.apache.org/plugins/org.apache.forrest.plugin.logs"
+        url="http://forrest.apache.org/plugins"
+        version="0.1-dev">
+    <description>
+      Embed log file output in Forrest sites. If Forrest is running in a
+      dynamic environment pages can be updated to show recent changes in the 
+      log whenever required.
     </description>
     <forrestVersion>0.7</forrestVersion>
   </plugin>

Mime
View raw message