forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r348312 - in /forrest/trunk/whiteboard/plugins: ./ org.apache.forrest.plugin.input.Daisy/ org.apache.forrest.plugin.input.Daisy/resources/stylesheets/ org.apache.forrest.plugin.input.Daisy/src/documentation/content/xdocs/ org.apache.forrest...
Date Wed, 23 Nov 2005 00:21:42 GMT
Author: rgardler
Date: Tue Nov 22 16:20:57 2005
New Revision: 348312

URL: http://svn.apache.org/viewcvs?rev=348312&view=rev
Log:
initial stab at a note-taking plugin. This provides a contract that adds a form to a page that can be used to enter notes relating to the page. There is still work to do, but the basic skeleton is in place.

Added:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/build.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/conf/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/forrest.properties   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/forrest.properties.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/internal.xmap   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/lib/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/lib/readme.txt   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/locationmap.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/resources/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/resources/stylesheets/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/resources/stylesheets/notes-to-pageNote.xsl   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/resources/stylesheets/postedNotes-to-sourceWriterNotes.xsl   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/resources/xml/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/resources/xml/notes-bootstrap.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/group-logo.gif   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/group.svg   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/icon.png   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/project-logo.gif   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/project.svg   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/usemap.gif   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/index.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/site.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/tabs.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/resources/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/resources/themes/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/resources/themes/common/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/resources/themes/common.fv
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/resources/themes/common/html/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/resources/themes/common/html/content-noteTaking.ft
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/java/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/java/readme.txt   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/status.xml   (with props)
Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/input.xmap
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/locationmap.xml
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources.xmap
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/daisy-to-html.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/navigation-to-locationmap.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/navigation-to-siteSnippet.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/src/documentation/content/xdocs/index.xml
    forrest/trunk/whiteboard/plugins/whiteboard-plugins.xml

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/input.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/input.xmap?rev=348312&r1=348311&r2=348312&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/input.xmap (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/input.xmap Tue Nov 22 16:20:57 2005
@@ -38,22 +38,22 @@
 		<map:pipeline>   
        
        <map:match pattern="**.daisy.xml">
-        <map:aggregate element="daisyDocument">
-          <map:part src="cocoon://{1}.daisy.source" />
-          <map:part src="{lm:daisy.site.660}" />
-        </map:aggregate>
-        <map:transform src="{lm:daisy.transform.daisy.html}">
-          <map:parameter name="documentPath" value="{0}"/>
-          <map:parameter name="daisyExtension" value=".daisy"/>
-          <map:parameter name="pathPrefix" value=""/>
-        </map:transform>
-        <map:transform src="{lm:transform.html.document}"/>
-        <map:select type="exists">
-          <map:when test="{project:resources.stylesheets}/daisy/postFilter.xsl">
-            <map:transform src="{project:resources.stylesheets}/daisy/postFilter.xsl"/>
-          </map:when>
-        </map:select>
-        <map:serialize type="xml"/>
+          <map:aggregate element="daisyDocument">
+            <map:part src="cocoon://{1}.daisy.source" />
+            <map:part src="cocoon://daisy.site.{project:daisy.navigation.docID}" />
+          </map:aggregate>
+          <map:transform src="{lm:daisy.transform.daisy.html}">
+            <map:parameter name="documentPath" value="{0}"/>
+            <map:parameter name="daisyExtension" value=".daisy"/>
+            <map:parameter name="pathPrefix" value=""/>
+          </map:transform>
+          <map:transform src="{lm:transform.html.document}"/>
+          <map:select type="exists">
+            <map:when test="{project:resources.stylesheets}/daisy/postFilter.xsl">
+              <map:transform src="{project:resources.stylesheets}/daisy/postFilter.xsl"/>
+            </map:when>
+          </map:select>
+          <map:serialize type="xml"/>
        </map:match>
 		</map:pipeline>
 	</map:pipelines>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/locationmap.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/locationmap.xml?rev=348312&r1=348311&r2=348312&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/locationmap.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/locationmap.xml Tue Nov 22 16:20:57 2005
@@ -31,8 +31,10 @@
   
   <locator>    
     <match pattern="daisy.transform.*.*">
-      <location src="{project:resources.stylesheets}/daisy/{1}-to-{2}.xsl"/>
-      <location src="resources/stylesheets/{1}-to-{2}.xsl"/>
+      <select>
+        <location src="{project:resources.stylesheets}/daisy/{1}-to-{2}.xsl"/>
+        <location src="resources/stylesheets/{1}-to-{2}.xsl"/>
+      </select>
     </match>   
   </locator>
 </locationmap>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources.xmap?rev=348312&r1=348311&r2=348312&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources.xmap (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources.xmap Tue Nov 22 16:20:57 2005
@@ -37,8 +37,8 @@
        </map:match>
 
        <map:match pattern="**.daisy.rawHTML">
-         <map:generate src="{lm:{0}}"/>
-         <map:serialize type="xml"/>
+         <map:generate type="html" src="{lm:{0}}"/>
+         <map:serialize type="html"/>
        </map:match>
 
 		</map:pipeline>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/daisy-to-html.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/daisy-to-html.xsl?rev=348312&r1=348311&r2=348312&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/daisy-to-html.xsl (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/daisy-to-html.xsl Tue Nov 22 16:20:57 2005
@@ -20,7 +20,6 @@
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:p="http://outerx.org/daisy/1.0#publisher"
     xmlns:ns="http://outerx.org/daisy/1.0"
-    xmlns:nav="http://outerx.org/daisy/1.0#navigationspec"
     version="1.0">
     
   
@@ -31,6 +30,10 @@
   <!-- The pathPrefix is added to the start of all resolved Daisy links 
        It must include a trailing slash if it is non-empty -->
   <xsl:param name="pathPrefix">/</xsl:param>
+  
+  <!-- The daisyExt is added between the Daisy ID and the extension of 
+        of all daisy links. If non-empty it must include a prefixing '.' -->
+  <xsl:param name="daisyExt">.daisy</xsl:param>
     
   <xsl:template match="daisyDocument">
     <xsl:variable name="rootElementName"><xsl:value-of select="name(*)"/></xsl:variable>
@@ -177,7 +180,12 @@
           <xsl:value-of select="$pathPrefix"/>
           <xsl:for-each select="//daisyDocument/descendant::doc[@id=$docId][1]/ancestor::group|//daisyDocument/descendant::doc[@id=$docId][1]/ancestor::doc[@nodeId]"><xsl:value-of select="@href"/></xsl:for-each>
         </xsl:variable>
-        <xsl:variable name="url"><xsl:value-of select="$pathToRoot"/><xsl:value-of select="$path"/><xsl:value-of select="//doc[@id=$docId]/@href"/></xsl:variable>
+        <xsl:variable name="url">
+          <xsl:choose>
+            <xsl:when test="//daisyDocument/descendant::doc[@id=$docId]"><xsl:value-of select="$pathToRoot"/><xsl:value-of select="$path"/><xsl:value-of select="//doc[@id=$docId]/@href"/></xsl:when>
+            <xsl:otherwise><xsl:value-of select="$pathToRoot"/><xsl:value-of select="$docId"/><xsl:value-of select="$daisyExt"/>.html</xsl:otherwise>
+          </xsl:choose>
+        </xsl:variable>
         <a>
           <xsl:choose>
             <xsl:when test="contains($url, '#')">

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/navigation-to-locationmap.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/navigation-to-locationmap.xsl?rev=348312&r1=348311&r2=348312&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/navigation-to-locationmap.xsl (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/navigation-to-locationmap.xsl Tue Nov 22 16:20:57 2005
@@ -22,11 +22,12 @@
 <xsl:stylesheet version="1.0"
                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 xmlns:d="http://outerx.org/daisy/1.0#navigationspec"
-                xmlns="http://apache.org/forrest/locationmap/1.0">
+                xmlns="http://apache.org/forrest/locationmap/1.0"
+                xmlns:xi="http://www.w3.org/2001/XInclude" >
                 
   <xsl:param name="publisherURL"/>
   <xsl:param name="pathPrefix"/>
-  <xsl:param name="index"/>
+  <xsl:param name="navigationID"/>
                 
   <xsl:template match="/">
     <locationmap>
@@ -40,30 +41,38 @@
       </components>
       
       <locator>
-     
-       <match pattern="index.xml">
-           <location>
-             <xsl:attribute name="src"><xsl:value-of select="$index"/></xsl:attribute>
-           </location>
-       </match>
+      
+       <xi:include href="locationmap-daisy-include.xml #xpointer(//locationmapInclude/*)"/>
      
        <xsl:apply-templates/>
         
-       <match pattern="project.*.daisy.source">
+       <match pattern="*.daisy.source">
            <location>
              <xsl:attribute name="src"><xsl:value-of select="$publisherURL"/>document?documentId={1}&amp;includeNavigation=false&amp;locale=en_US&amp;version=live</xsl:attribute>
            </location>
        </match>
      
-       <match pattern="**/*.daisy.img">
+       <match pattern="project.**/*.daisy.img">
            <location>
              <xsl:attribute name="src"><xsl:value-of select="$publisherURL"/>blob?documentId={2}&amp;version=live&amp;partType=3</xsl:attribute>
            </location>
        </match>
      
+       <match pattern="project.**.daisy.img">
+           <location>
+             <xsl:attribute name="src"><xsl:value-of select="$publisherURL"/>blob?documentId={1}&amp;version=live&amp;partType=3</xsl:attribute>
+           </location>
+       </match>
+     
        <match pattern="daisy.site.*">
            <location>
              <xsl:attribute name="src"><xsl:value-of select="$publisherURL"/>blob?documentId={1}&amp;version=live&amp;partType=1</xsl:attribute>
+           </location>
+       </match>
+     
+       <match pattern="*.daisy.rawHTML">
+           <location>
+             <xsl:attribute name="src"><xsl:value-of select="$publisherURL"/>blob?documentId={1}&amp;version=live&amp;partType=4</xsl:attribute>
            </location>
        </match>
       </locator>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/navigation-to-siteSnippet.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/navigation-to-siteSnippet.xsl?rev=348312&r1=348311&r2=348312&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/navigation-to-siteSnippet.xsl (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/navigation-to-siteSnippet.xsl Tue Nov 22 16:20:57 2005
@@ -21,6 +21,8 @@
     xmlns:d="http://outerx.org/daisy/1.0#navigationspec"
     xmlns:xi="http://www.w3.org/2001/XInclude"
     version="1.0">
+    
+  <xsl:param name="daisyExt">.daisy</xsl:param>
       
   <xsl:template match="/">
     <xsl:apply-templates/>
@@ -40,14 +42,14 @@
               <doc>
                 <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
                 <xsl:attribute name="label">Section Home</xsl:attribute>
-                <xsl:attribute name="href">../<xsl:value-of select="@nodeId"/>.html</xsl:attribute>
+                <xsl:attribute name="href">../<xsl:value-of select="@nodeId"/><xsl:value-of select="$daisyExt"/>.html</xsl:attribute>
               </doc>
             </xsl:when>
             <xsl:otherwise>
               <doc>
                 <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
                 <xsl:attribute name="label">Section Home</xsl:attribute>
-                <xsl:attribute name="href"><xsl:value-of select="@id"/>.html</xsl:attribute>
+                <xsl:attribute name="href"><xsl:value-of select="@id"/><xsl:value-of select="$daisyExt"/>.html</xsl:attribute>
               </doc>
             </xsl:otherwise>
           </xsl:choose>
@@ -70,10 +72,10 @@
           <xsl:attribute name="label"><xsl:value-of select="@label"/></xsl:attribute>
           <xsl:choose>
             <xsl:when test="@nodeId">
-              <xsl:attribute name="href"><xsl:value-of select="@nodeId"/>.html</xsl:attribute>
+              <xsl:attribute name="href"><xsl:value-of select="@nodeId"/><xsl:value-of select="$daisyExt"/>.html</xsl:attribute>
             </xsl:when>
             <xsl:otherwise>
-              <xsl:attribute name="href"><xsl:value-of select="@id"/>.html</xsl:attribute>
+              <xsl:attribute name="href"><xsl:value-of select="@id"/><xsl:value-of select="$daisyExt"/>.html</xsl:attribute>
             </xsl:otherwise>
           </xsl:choose>
         </doc>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/src/documentation/content/xdocs/index.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/src/documentation/content/xdocs/index.xml?rev=348312&r1=348311&r2=348312&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/src/documentation/content/xdocs/index.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/src/documentation/content/xdocs/index.xml Tue Nov 22 16:20:57 2005
@@ -56,26 +56,35 @@
     <map:parameter name="publisherURL" value="http://username:password@repo.domain.org:9263/publisher/"/>
     <map:parameter name="pathPrefix" value="/"/>
   </map:transform>
+  <map:transform rtype="xinclude"/>
   <map:serialize type="xml"/>
 </map:match>
         ]]></source>
         
-        <p>Note that we use <code>xi:include</code> to include a navigation
-        document in the site.xml file, in this case the document retrieved has
-        id 1208. By using include in this way the site editor is free to use
-        site.xml to reference content from other sources.</p>
-        
         <p>The <code>pathPrefix</code> is  a prefix added to all paths to documents
-        that are to be retrieved from the Daisy repository.</p>
+        that are to be retrieved from the Daisy repository. It can, of course, be ommitted
+        in which case there will no prefix.</p>
+        
+        <p>If your site needs to provide additional locationmap entires it can
+        do so by including them in 
+        <code>PROJECT_HOME/src/documentation/locationmap-daisy-include.xml</code>.
+        The matchers in this file will override any of the auto-generated matchers
+        from the Daisy navigation file.</p>
+        
+        <note>It is recomended that the pipelines that generate the locationmap
+        are cached for at least 1 hour. This is because it is computationally
+        expensive to regenerate these files. A future version of this plugin will provide
+        a more flexible caching mechanism. But for now you need to force a refresh 
+        during development.</note>
         
       </section>
       
       <section>
         <title>Using Daisy Navigation Documents</title>
         <p>It is possible to use a daisy navigation document in place of a local
-        site.xml file. However, in order to allow other content to be added to the
-        forrest publication without requiring write access to the Daisy repository
-        your project still requries a site.xml file.</p>
+        site.xml file. However, you may want to mix content from different sources
+        by adding other entries to site.xml, ones that are not sourced from the 
+        Daisy navigation document. Therefore, you still need a site.xml file.</p>
         
         <p>A minimal site.xml file for your project would be:</p>
         
@@ -87,6 +96,17 @@
   <xi:include href="cocoon://1208.daisy.navigation"/>
 </site>
         ]]></source>
+        
+        <p>Note that we use <code>xi:include</code> to include a navigation
+        document in the site.xml file, in this case the document retrieved has
+        id 1208. By using include in this way the site editor is free to use
+        site.xml to reference content from other sources.</p>
+        
+        <note>As with the locationmap generation, the pipelines that generate the site.xml
+        snippets are cached for at least 1 hour. This is because it is computationally
+        expecnsive to regenerate these files. A future version of this plugin will provide
+        a more flexible caching mechanism. But for now you need to force a refresh 
+        during development.</note>
       </section>
       
       <section>
@@ -99,6 +119,7 @@
       
       <section>
         <title>Filtering Content</title>
+        
         <p>You may not have full control of the content in the repository, or
         you may wish to supress the presentation of some of the parts, for 
         example, the fields within the repository. There are two points at 

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/build.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/build.xml?rev=348312&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/build.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/build.xml Tue Nov 22 16:20:57 2005
@@ -0,0 +1,42 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  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.
+-->
+<project default="docs" basedir="." name="Forrest org.apache.forrest.plugin.internal.NoteTaking build file">
+  <property name="plugin-name" value="org.apache.forrest.plugin.internal.NoteTaking"/>
+  <property name="forrest.version" value="0.8-dev"/>
+  <property name="type" value="internal"/>
+  <property name="plugin-version" value="0.1-dev"/>
+  <property name="description" value="Provides features that facilitate the creation of a study aid package with Forrest."/>
+  <property name="author" value="Apache Forrest Project"/>
+  <property name="websiteURL" value="http://forrest.apache.org/docs/plugins/org.apache.forrest.plugin.internal.NoteTaking"/>
+  <property name="downloadURL" value="http://forrest.apache.org/plugins/"/>
+  
+  <import file="../build.xml"/>
+
+  <!-- Add any additional installation work here in the build target, for example:
+  <target name="build"
+          description="Extract the tools">
+     <unzip dest="${plugins.localDeploy-dir}/${plugin-name}/resources">
+       <fileset dir="tools">
+          <include name="pluginBionaryTools.zip"/>
+        </fileset>
+     </unzip>   
+  </target>
+  -->
+</project>
+  
+  

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/forrest.properties
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/forrest.properties?rev=348312&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/forrest.properties (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/forrest.properties Tue Nov 22 16:20:57 2005
@@ -0,0 +1,110 @@
+# Copyright 2002-2005 The Apache Software Foundation or its licensors,
+# as applicable.
+#
+# 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.
+
+##############
+# Properties used by forrest.build.xml for building the website
+# These are the defaults, un-comment them if you need to change them.
+##############
+
+# Prints out a summary of Forrest settings for this project
+#forrest.echo=true
+
+# Project name (used to name .war file)
+#project.name=my-project
+
+# Specifies name of Forrest skin to use
+#project.skin=tigris
+project.skin=leather-dev
+
+# comma separated list, file:// is supported
+#forrest.skins.descriptors=http://forrest.apache.org/skins/skins.xml,file:///c:/myskins/skins.xml
+
+##############
+# behavioural properties
+#project.menu-scheme=tab_attributes
+#project.menu-scheme=directories
+
+##############
+# layout properties
+
+# Properties that can be set to override the default locations
+#
+# Parent properties must be set. This usually means uncommenting
+# project.content-dir if any other property using it is uncommented
+
+#project.status=status.xml
+#project.content-dir=src/documentation
+#project.raw-content-dir=${project.content-dir}/content
+#project.conf-dir=${project.content-dir}/conf
+#project.sitemap-dir=${project.content-dir}
+#project.xdocs-dir=${project.content-dir}/content/xdocs
+#project.resources-dir=${project.content-dir}/resources
+#project.stylesheets-dir=${project.resources-dir}/stylesheets
+#project.images-dir=${project.resources-dir}/images
+#project.schema-dir=${project.resources-dir}/schema
+#project.skins-dir=${project.content-dir}/skins
+#project.skinconf=${project.content-dir}/skinconf.xml
+#project.lib-dir=${project.content-dir}/lib
+#project.classes-dir=${project.content-dir}/classes
+#project.translations-dir=${project.content-dir}/translations
+
+##############
+# validation properties
+
+# This set of properties determine if validation is performed
+# Values are inherited unless overridden.
+# e.g. if forrest.validate=false then all others are false unless set to true.
+#forrest.validate=true
+#forrest.validate.xdocs=${forrest.validate}
+#forrest.validate.skinconf=${forrest.validate}
+#forrest.validate.sitemap=${forrest.validate}
+#forrest.validate.stylesheets=${forrest.validate}
+#forrest.validate.skins=${forrest.validate}
+#forrest.validate.skins.stylesheets=${forrest.validate.skins}
+
+# *.failonerror=(true|false) - stop when an XML file is invalid
+#forrest.validate.failonerror=true
+
+# *.excludes=(pattern) - comma-separated list of path patterns to not validate
+# e.g.
+#forrest.validate.xdocs.excludes=samples/subdir/**, samples/faq.xml
+#forrest.validate.xdocs.excludes=
+
+
+##############
+# General Forrest properties
+
+# The URL to start crawling from
+#project.start-uri=linkmap.html
+# Set logging level for messages printed to the console
+# (DEBUG, INFO, WARN, ERROR, FATAL_ERROR)
+#project.debuglevel=ERROR
+# Max memory to allocate to Java
+#forrest.maxmemory=64m
+# Any other arguments to pass to the JVM. For example, to run on an X-less
+# server, set to -Djava.awt.headless=true
+#forrest.jvmargs=
+# The bugtracking URL - the issue number will be appended
+#project.bugtracking-url=http://issues.apache.org/bugzilla/show_bug.cgi?id=
+#project.bugtracking-url=http://issues.apache.org/jira/browse/
+# The issues list as rss
+#project.issues-rss-url=
+#I18n Property only works for the "forrest run" target.
+#project.i18n=true
+# The names of plugins that are required to build the project
+# comma separated list (no spaces)
+# Run "forrest available-plugins" for a list of plug-ins currently available
+project.required.plugins=org.apache.forrest.plugin.internal.structurer,org.apache.forrest.plugin.output.themer,org.apache.forrest.plugin.internal.NoteTaking,org.apache.forrest.plugin.input.projectInfo,org.apache.forrest.plugin.output.pdf
+

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/forrest.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/forrest.properties.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/forrest.properties.xml?rev=348312&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/forrest.properties.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/forrest.properties.xml Tue Nov 22 16:20:57 2005
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<properties>
+  <property name="noteTaking.repository.URL" value="src/notes/"/>
+  <property name="noteTaking.filename" value="notes.xml"/>
+</properties>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/forrest.properties.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/internal.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/internal.xmap?rev=348312&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/internal.xmap (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/internal.xmap Tue Nov 22 16:20:57 2005
@@ -0,0 +1,75 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  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:generators>
+      <map:generator name="request" src="org.apache.cocoon.generation.RequestGenerator"/>
+    </map:generators>
+
+    <map:transformers>
+      <map:transformer name="write-source"
+          src="org.apache.cocoon.transformation.SourceWritingTransformer">
+        <map:parameter name="serializer" value="xml"/>
+      </map:transformer>
+    </map:transformers>
+    
+    <map:selectors>
+      <map:selector name="exists" logger="sitemap.selector.exists"  
+                    src="org.apache.forrest.sourceexists.SourceExistsSelector" />
+    </map:selectors>
+  </map:components>
+
+  <map:pipelines>
+
+    <map:pipeline>
+
+      <map:match pattern="noteTaking/do/addNote">
+        <map:generate type="request"/>
+        <map:transform src="{lm:noteTaking.transform.postedNotes.sourceWriterNotes}">
+          <map:parameter name="notesFile" value="{project:noteTaking.repository.URL}{project:noteTaking.filename}"/>
+        </map:transform>
+        <map:transform type="write-source"/>
+<!-- FIXME: return to a logical page -->
+        <map:serialize type="xml"/>
+      </map:match>
+
+      <map:match pattern="noteTaking/do/getNotes">
+        <map:generate src="{project:noteTaking.repository.URL}{project:noteTaking.filename}"/>
+        <map:serialize type="xml"/>
+      </map:match>
+
+      <map:match pattern="noteTaking/do/getNotes/**">
+        <map:select type="exists">
+          <map:when test="{project:noteTaking.repository.URL}{project:noteTaking.filename}">
+            <map:generate src="{project:noteTaking.repository.URL}{project:noteTaking.filename}"/>
+          </map:when>
+          <map:otherwise>
+            <map:generate src="resources/xml/notes-bootstrap.xml"/>
+          </map:otherwise>
+        </map:select>
+        <map:transform src="{lm:noteTaking.transform.notes.pageNote}">
+          <map:parameter name="path" value="{1}/note"/>
+        </map:transform>
+        <map:serialize type="xml"/>
+      </map:match>
+
+    </map:pipeline>
+  </map:pipelines>
+
+</map:sitemap>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/internal.xmap
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/lib/readme.txt
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/lib/readme.txt?rev=348312&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/lib/readme.txt (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/lib/readme.txt Tue Nov 22 16:20:57 2005
@@ -0,0 +1 @@
+Place any libraries required by your plugin in this directory.
\ No newline at end of file

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/lib/readme.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/locationmap.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/locationmap.xml?rev=348312&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/locationmap.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/locationmap.xml Tue Nov 22 16:20:57 2005
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  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.
+-->
+
+<!-- Default Forrest locationmap for the structurer/themer -->
+
+<locationmap xmlns="http://apache.org/forrest/locationmap/1.0">
+
+  <components>
+    <matchers default="lm">
+      <matcher 
+        name="lm" 
+        src="org.apache.forrest.locationmap.WildcardLocationMapHintMatcher"/>
+    </matchers>
+    <selectors default="exists">
+          <selector name="exists" logger="sitemap.selector.exists"  
+                    src="org.apache.forrest.sourceexists.SourceExistsSelector" />
+    </selectors>
+  </components>
+  
+  <locator>
+    <match pattern="noteTaking.transform.*.*">
+      <location src="resources/stylesheets/{1}-to-{2}.xsl" />
+    </match>
+  </locator>
+</locationmap>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/locationmap.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/resources/stylesheets/notes-to-pageNote.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/resources/stylesheets/notes-to-pageNote.xsl?rev=348312&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/resources/stylesheets/notes-to-pageNote.xsl (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/resources/stylesheets/notes-to-pageNote.xsl Tue Nov 22 16:20:57 2005
@@ -0,0 +1,18 @@
+<?xml version='1.0'?>
+<xsl:stylesheet version="1.0" 
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:dyn="http://exslt.org/dynamic">
+  
+  <!-- the page for which we want to get the notes -->
+  <xsl:param name="path"/>
+  
+  <xsl:template match="notes">
+    <xsl:apply-templates select="dyn:evaluate($path)"/>
+  </xsl:template>
+  
+  <xsl:template match="note">
+    <note>
+      <xsl:apply-templates/>
+    </note>
+  </xsl:template>
+</xsl:stylesheet>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/resources/stylesheets/notes-to-pageNote.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/resources/stylesheets/postedNotes-to-sourceWriterNotes.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/resources/stylesheets/postedNotes-to-sourceWriterNotes.xsl?rev=348312&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/resources/stylesheets/postedNotes-to-sourceWriterNotes.xsl (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/resources/stylesheets/postedNotes-to-sourceWriterNotes.xsl Tue Nov 22 16:20:57 2005
@@ -0,0 +1,24 @@
+<?xml version='1.0'?>
+<xsl:stylesheet version="1.0" 
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:h="http://apache.org/cocoon/request/2.0"
+  xmlns:source="http://apache.org/cocoon/source/1.0">
+  
+  <!-- the name of the file to append the notes to -->
+  <xsl:param name="notesFile"/>
+  
+  <xsl:template match="h:request">
+   <source:insert>
+      <source:path>notes/<xsl:value-of select="h:requestParameters/h:parameter[@name='path']"/></source:path>
+      <source:source>
+        <xsl:value-of select="$notesFile"/>
+      </source:source>
+      <source:replace>note</source:replace>
+      <source:fragment>
+        <note>
+          <xsl:value-of select="h:requestParameters/h:parameter[@name='note']"/>
+        </note>
+      </source:fragment>
+    </source:insert>
+  </xsl:template>
+</xsl:stylesheet>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/resources/stylesheets/postedNotes-to-sourceWriterNotes.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/resources/xml/notes-bootstrap.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/resources/xml/notes-bootstrap.xml?rev=348312&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/resources/xml/notes-bootstrap.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/resources/xml/notes-bootstrap.xml Tue Nov 22 16:20:57 2005
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<notes/>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/resources/xml/notes-bootstrap.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/group-logo.gif
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/group-logo.gif?rev=348312&view=auto
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/group-logo.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/group.svg
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/group.svg?rev=348312&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/group.svg (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/group.svg Tue Nov 22 16:20:57 2005
@@ -0,0 +1,82 @@
+<?xml version="1.0" standalone="no"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  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" width="1.4" height="1.4">
+      <!-- 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>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/group.svg
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/icon.png
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/icon.png?rev=348312&view=auto
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/icon.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/project-logo.gif
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/project-logo.gif?rev=348312&view=auto
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/project-logo.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/project.svg
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/project.svg?rev=348312&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/project.svg (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/project.svg Tue Nov 22 16:20:57 2005
@@ -0,0 +1,82 @@
+<?xml version="1.0" standalone="no"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  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="420" 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" width="1.4" height="1.4">
+      <!-- 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="100%" y="60%" style="font-size:24pt; font-family:Verdana ; text-anchor: end" >
+    <for:project-name />
+    </text>
+  </g>
+</svg>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/project.svg
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/usemap.gif
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/usemap.gif?rev=348312&view=auto
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/images/usemap.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/index.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/index.xml?rev=348312&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/index.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/index.xml Tue Nov 22 16:20:57 2005
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  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.internal.NoteTaking Plugin</title> 
+  </header> 
+  <body> 
+    <section id="overview">
+      <title>Apache Forrest - org.apache.forrest.plugin.internal.NoteTaking Plugin</title>
+      <p>Provides features that facilitate the creation of a study aid package with Forrest.</p>
+      
+      <warning>This plugin will only work with a Views enabled site.</warning>
+      <note>This plugin will only work when Forrest is running in dynamic mode.</note>
+    </section>
+    
+    <section>
+      <title>Adding a Notes Section</title>
+      <p>A notes section is provided by a contract called 
+      <code>content-noteTaking</code>. See the 
+      <a href="/ls.contracts.project.html">contract documentation</a>
+      for an example of how to include this contract in your pages.</p>
+    </section>
+    
+    <section>
+      <title>Configuration</title>
+      <p>As can be seen above, the physical representation of the notes field
+      is controlled by the contract definition in your structurer file. In addition,
+      There are various non-visual aspects of this plugin can be configured
+      by the site designer.
+      The table below lists the properties that may be configured and their 
+      defaults. To change a property add it to your 
+      <code>forrest.properties.xml</code> file.</p>
+      
+      <table>
+        <tr>
+          <th>Property Name</th>
+          <th>Description</th>
+          <th>Default</th>
+        </tr>
+        <tr>
+          <td>noteTaking.repository.URL</td>
+          <td>The URL of the repository for notes. It should end with a '/'.</td>
+          <td>PLUGIN_DIR/src/notes</td>
+        </tr>
+        <tr>
+          <td>noteTaking.filename</td>
+          <td>The name of the file that will contain notes.</td>
+          <td>notes.xml</td>
+        </tr>
+      </table>
+      
+      <warning>
+        Defaults are not currently implemented. They are waiting on 
+        <a href="http://issues.apache.org/jira/browse/FOR-739">this issue</a>.
+        However, the forrest.properties.xml file is present in the plugin
+        directory and will should start working once the above issue is
+        resolved. In the meantime, projects should define the above properties.
+      </warning>
+    </section>
+    
+    <section>
+      <title>Notes File</title>
+      <p>All notes are kept in a single notes file. This file has the 
+      following structure:</p>
+      <source><![CDATA[
+<notes>
+  <path>
+    <to>
+      <page>
+        <pageName>
+          <notes>The notes</notes>
+        </pageName>
+        <anotherPage>
+          <notes>Some other notes</notes>
+        </anotehrPage>
+      </page>
+    </to>
+  </path>
+</notes>
+      ]]></source>
+    </section>
+  </body>
+</document>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/index.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/site.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/site.xml?rev=348312&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/site.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/site.xml Tue Nov 22 16:20:57 2005
@@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  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.internal.NoteTaking" 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.internal.NoteTaking"/>
+    <!--<forrestPlugins label="Plugins Index" href="site:forrest/plugins" description="Index of Forrest Plugins"/>-->
+    <changes label="Changes" href="changes.html" description="History of Changes" />
+    <todo label="Todo" href="todo.html" description="Todo List" />
+  </about>
+
+  <!--
+  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"/>
+      <plugins href="docs/plugins"/>
+    </forrest>
+  </external-refs>
+
+</site>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/tabs.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/tabs.xml?rev=348312&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/tabs.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/tabs.xml Tue Nov 22 16:20:57 2005
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  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="plugins" label="Forrest Plugins" href="http://forrest.apache.org/pluginDocs" indexfile="index.html"/>
+  <tab id="" label="Plugin Home" dir="" indexfile="index.html"/>
+  <!-- Add new tabs here, eg:
+  <tab label="How-Tos" dir="community/howto/"/>
+  <tab label="XML Site" dir="xml-site/"/>
+  -->
+
+</tabs>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/content/xdocs/tabs.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/resources/themes/common.fv
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/resources/themes/common.fv?rev=348312&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/resources/themes/common.fv (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/resources/themes/common.fv Tue Nov 22 16:20:57 2005
@@ -0,0 +1,146 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2002-2005 The Apache Software Foundation or its licensors,
+as applicable.
+
+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:views 
+  xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
+  <forrest:view type="html">
+    <forrest:css url="common.css"/>
+    <forrest:contract name="siteinfo-meta">
+      <forrest:properties contract="siteinfo-meta">
+        <forrest:property name="siteinfo-meta" nugget="get.build.info">
+          <jx:import uri="cocoon://build-info"/>
+        </forrest:property>
+      </forrest:properties>
+    </forrest:contract>
+    <forrest:hook name="container">
+      <forrest:hook name="header">
+        <forrest:contract name="branding-tagline">
+          <forrest:properties contract="branding-tagline">
+            <forrest:property name="branding-tagline-name">Note Taking Plugin</forrest:property>
+            <forrest:property name="branding-tagline-tagline">The ability to write notes within Forrest content objects</forrest:property>
+          </forrest:properties>
+        </forrest:contract>
+        <forrest:hook name="nav-main-hook">
+          <forrest:contract name="nav-main">
+            <forrest:properties contract="nav-main">
+              <forrest:property name="nav-main" nugget="get.navigation">
+                <jx:import uri="cocoon://${cocoon.parameters.getRequest}.navigation.xml"/>
+              </forrest:property>
+            </forrest:properties>
+          </forrest:contract>
+          <forrest:contract name="nav-main-sub">
+            <forrest:properties contract="nav-main-sub">
+              <forrest:property name="nav-main-sub" nugget="get.navigation">
+                <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.navigation.xml"/>
+              </forrest:property>
+            </forrest:properties>
+          </forrest:contract>
+        </forrest:hook>
+      </forrest:hook>
+      <forrest:hook name="page">
+        <forrest:hook name="leftbar">
+          <forrest:contract name="nav-section">
+            <forrest:properties contract="nav-section">
+              <forrest:property name="nav-section" nugget="get.navigation">
+                <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.navigation.xml"/>
+              </forrest:property>
+            </forrest:properties>
+          </forrest:contract> 
+          <forrest:contract name="search-input">
+            <forrest:properties contract="search-input">
+              <forrest:property name="search-input">
+                <search name="MyProject" domain="mydomain" provider="google"/>
+              </forrest:property>
+            </forrest:properties>
+          </forrest:contract>
+        </forrest:hook>
+<!-- 
+ You can group elements to a template and call it from any view. e.g.
+<forrest:hook name="export-link">
+  <forrest:contract name="content-xml-link"/>
+  <forrest:contract name="content-pdf-link"/>
+</forrest:hook>
+ can be called as  <jx:import uri="cocoon://prepare.tiles.export-link"/>
+ when saved as 
+ {project:resources}/templates/{project:theme}/export-link.vt.xml 
+ or
+ {project:resources}/templates/export-link.vt.xml
+ 
+HEADSUP:
+<forrest:call-template name="export-link"/> is *not* working anymore!!!
+-->
+        <jx:import uri="cocoon://prepare.tiles.export-link"/>
+        <!-- FIXME: jxpath -->
+        <!-- Use this when jxpath bug is solved -->
+        <!--<jx:import uri="lm:tiles.export-link"/>-->
+
+        <forrest:hook name="content">
+          <forrest:contract name="content-title">
+            <forrest:properties contract="content-title">
+              <forrest:property name="content-title" nugget="get.title">
+                <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.title.xml"/>
+              </forrest:property>
+            </forrest:properties>
+          </forrest:contract>
+          <forrest:contract name="content-minitoc">
+            <forrest:properties contract="content-minitoc">
+              <forrest:property name="content-minitoc-toc" nugget="get.toc">
+                <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.toc.xml"/>
+              </forrest:property>
+              <forrest:property name="content-minitoc-conf" >
+                <toc max-depth="2" 
+                min-sections="1" location="page"/>
+              </forrest:property>
+            </forrest:properties>
+          </forrest:contract>
+          <forrest:contract name="content-main">
+            <forrest:properties contract="content-main">
+              <forrest:property name="content-main" nugget="get.body">
+                <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.body.xml"/>
+              </forrest:property>
+            </forrest:properties>
+          </forrest:contract>
+        </forrest:hook>
+      </forrest:hook>
+      <forrest:hook name="notes">
+        <forrest:contract name="content-noteTaking">
+          <forrest:properties contract="content-noteTaking">
+            <forrest:property name="content-noteTaking-srcDoc">#{$cocoon/parameters/getRequest}</forrest:property>
+            <forrest:property name="content-noteTaking-notes"><jx:import uri="cocoon://noteTaking/do/getNotes/#{$cocoon/parameters/getRequest}"/></forrest:property>
+            <forrest:property name="content-noteTaking-cols" value="60"/>
+            <forrest:property name="content-noteTaking-rows" value="10"/>
+          </forrest:properties>
+        </forrest:contract>
+      </forrest:hook>
+    </forrest:hook>
+    <forrest:hook name="footer">
+      <forrest:contract name="siteinfo-feedback">
+        <forrest:properties contract="siteinfo-feedback">
+          <forrest:property name="siteinfo-feedback">
+            <feedback to="webmaster@foo.com"
+              href="mailto:webmaster@foo.com?subject=Feedback&#160;" >
+              Send feedback about the website to:
+            </feedback>
+          </forrest:property>
+        </forrest:properties>
+      </forrest:contract>
+      <forrest:contract name="siteinfo-last-published"/>
+    </forrest:hook>
+  </forrest:view>
+</forrest:views>

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/resources/themes/common/html/content-noteTaking.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/resources/themes/common/html/content-noteTaking.ft?rev=348312&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/resources/themes/common/html/content-noteTaking.ft (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/documentation/resources/themes/common/html/content-noteTaking.ft Tue Nov 22 16:20:57 2005
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  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:contract
+    xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
+    xmlns:forrest="http://apache.org/forrest/templates/1.0"
+    name="content-noteTaking" type="nugget">
+
+  <description>
+    content-noteTaking will output a text box to enable notes to be taken.
+  </description>
+  <usage><![CDATA[<forrest:contract name="content-noteTaking">  
+  <forrest:properties contract="content-noteTaking">
+    <forrest:property name="content-noteTaking-srcDoc">#{$cocoon/parameters/getRequest}</forrest:properties>
+    <forrest:property name="content-noteTaking-notes"><jx:import uri="cocoon://noteTaking/do/getNotes/#{$cocoon/parameters/getRequest}"/></forrest:properties>
+    [<forrest:property name="content-noteTaking-cols" value="[Number of Columns]"/>]
+    [<forrest:property name="content-noteTaking-rows" vlaue="Number of Rows]"/>]
+  </forrest:properties>
+</forrest:contract>]]></usage>
+  <forrest:template xmlns:forrest="http://apache.org/forrest/templates/1.0"
+      format="html" name="content-noteTaking" inputFormat="xsl" body="true" head="false">
+    <xsl:stylesheet version="1.1"
+        xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+      <xsl:template name="content-noteTaking-body">
+        <xsl:param name="content-noteTaking-cols"/>
+        <xsl:param name="content-noteTaking-rows"/>
+        <xsl:param name="content-noteTaking-notes"/>
+        <xsl:param name="content-noteTaking-srcDoc"/>
+        
+        <xsl:variable name="notes">
+          <xsl:choose>
+            <xsl:when test="not($content-noteTaking-notes='')"><xsl:value-of select="$content-noteTaking-notes"/></xsl:when>
+            <xsl:otherwise>Enter your notes here and click "SAVE" when done.</xsl:otherwise>
+          </xsl:choose>
+        </xsl:variable>
+        
+        <form action="noteTaking/do/addNote" method="post">
+          <textarea name="note">
+            <xsl:attribute name="cols">
+              <xsl:value-of select="$content-noteTaking-cols/@value"/>
+            </xsl:attribute>
+            <xsl:attribute name="rows">
+              <xsl:value-of select="$content-noteTaking-rows/@value"/>
+            </xsl:attribute>
+            <xsl:value-of select="$notes"/>
+          </textarea>
+          <button type="submit">Save</button>
+          <!-- The path to the node we are writing -->
+          <input type="hidden" name="path">
+            <xsl:attribute name="value"><xsl:value-of select="$content-noteTaking-srcDoc"/></xsl:attribute>
+          </input>
+        </form>
+        
+      </xsl:template>
+
+    </xsl:stylesheet>
+  </forrest:template>
+</forrest:contract>

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/java/readme.txt
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/java/readme.txt?rev=348312&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/java/readme.txt (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/java/readme.txt Tue Nov 22 16:20:57 2005
@@ -0,0 +1 @@
+Place any java source code that your plugin requires in this directory.
\ No newline at end of file

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/src/java/readme.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/status.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/status.xml?rev=348312&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/status.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/status.xml Tue Nov 22 16:20:57 2005
@@ -0,0 +1,61 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  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.
+-->
+<status>
+
+  <developers>
+    <!-- Add new developers here -->
+    <person name="Volunteer needed" email="dev@forrest.apache.org" id="open"/>
+  </developers>
+
+  <!-- Define here the Title of the Context you want to display in the Changes pages.
+       id = the context value of actions
+       title = Title of the Context
+  -->  
+  <contexts>
+   <!-- Add new contexts here -->
+   <context id="code" title="Changes to the Code Base"/>
+   <context id="docs" title="Changes to Documentation"/>
+   <context id="admin" title="Changes to Project Administration"/>
+   <context id="design" title="Changes to Design"/>
+   <context id="build" title="Changes to Build"/>
+  </contexts> 
+
+  <changes>
+    <!-- Add new releases here -->
+    <release version="0.1" date="unreleased">
+      <action dev="RDG" type="add" context="admin">
+        Initial plugin code.
+      </action>
+    </release>
+  </changes>
+
+  <todo>
+    <actions priority="high">
+      <action context="docs" dev="open">
+        Customize this template plugin with your plugin's details.  This
+        TODO list is generated from 'status.xml'.
+      </action>
+      <action context="docs" dev="open">
+        Create the documentation with lots of examples and samples.  
+        XML content goes in
+        <code>src/documentation/content/xdocs</code>.
+      </action>
+    </actions>
+  </todo>
+
+</status>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.NoteTaking/status.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: forrest/trunk/whiteboard/plugins/whiteboard-plugins.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/whiteboard-plugins.xml?rev=348312&r1=348311&r2=348312&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/whiteboard-plugins.xml (original)
+++ forrest/trunk/whiteboard/plugins/whiteboard-plugins.xml Tue Nov 22 16:20:57 2005
@@ -134,6 +134,18 @@
   <!-- Internal Plugins                                                   -->
   <!-- ================================================================== -->
 
+  <plugin name="org.apache.forrest.plugin.internal.NoteTaking"
+        type="internal"
+        author="Apache Forrest Project"
+        website="http://forrest.apache.org/pluginDocs/plugins_0_70/org.apache.forrest.plugin.NoteTaking"
+        url="http://forrest.apache.org/plugins/"
+        version="0.1-dev">
+    <description>
+      Provides facilities for adding notes to pages when Forrest is run in dynamic mode.
+    </description>
+    <forrestVersion>0.8-dev</forrestVersion>
+  </plugin>
+  
   <plugin name="org.apache.forrest.plugin.internal.view"
         type="internal"
         author="Apache Forrest Project"



Mime
View raw message