forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gmcdon...@apache.org
Subject svn commit: r609950 - in /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos: ./ resources/stylesheets/ resources/themes/ resources/themes/common/ resources/themes/common/html/ resources/themes/common/images/ src/documentation/ src/d...
Date Tue, 08 Jan 2008 12:22:30 GMT
Author: gmcdonald
Date: Tue Jan  8 04:22:27 2008
New Revision: 609950

URL: http://svn.apache.org/viewvc?rev=609950&view=rev
Log:
Use dispatcher as rendering engine, add W3C glossary examples, tabs to spaces also included in patch. Due to Sina K Heshmati (SKH) - Fixes FOR-1034

Added:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources.xmap   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/glossaryBundle-to-index.all.xsl   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/glossaryBundle-to-index.common.xsl   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/glossaryBundle-to-siteSnippet.xsl   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/locationmap-to-glossaryBundle.xsl   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/themes/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/themes/common/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/themes/common/html/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/themes/common/html/content-skos-link.ft   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/themes/common/html/skos-embedded.ft   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/themes/common/images/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/themes/common/images/skos-rdf.png   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/locationmap.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/xdocs/images/favicon.ico   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/resources/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/resources/themes/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/resources/themes/pelt/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/resources/themes/pelt.fv   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/resources/themes/pelt/panels/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/resources/themes/pelt/panels/pelt-html.panel.xml   (with props)
Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/forrest.properties
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/input.xmap
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/locationmap.xml
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/skos-to-document.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/xdocs/index.xml
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/xdocs/samples/index.xml
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/xdocs/site.xml
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/xdocs/tabs.xml
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/skinconf.xml
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/status.xml

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/forrest.properties
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/forrest.properties?rev=609950&r1=609949&r2=609950&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/forrest.properties (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/forrest.properties Tue Jan  8 04:22:27 2008
@@ -22,5 +22,6 @@
 
 # FIXME: FOR-785
 forrest.validate.skinconf=false
-
-project.required.plugins=org.apache.forrest.plugin.input.skos,org.apache.forrest.plugin.input.projectInfo,org.apache.forrest.plugin.output.pdf
+project.url=http://sina.khakbaz.com:8888/
+project.name=SKOS Plugin
+project.required.plugins=org.apache.forrest.plugin.input.skos,org.apache.forrest.plugin.internal.dispatcher,org.apache.forrest.themes.core,org.apache.forrest.plugin.output.inputModule,org.apache.forrest.plugin.output.pdf,org.apache.forrest.plugin.input.projectInfo

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/input.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/input.xmap?rev=609950&r1=609949&r2=609950&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/input.xmap (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/input.xmap Tue Jan  8 04:22:27 2008
@@ -16,12 +16,35 @@
   limitations under the License.
 -->
 <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+
   <!-- Components -->
   <map:components>
+    <map:generators>
+      <map:generator name="directory"
+                     src="org.apache.cocoon.generation.DirectoryGenerator"/>
+    </map:generators>
     <map:selectors default="parameter">
       <map:selector logger="sitemap.selector.parameter" name="parameter"
                     src="org.apache.cocoon.selection.ParameterSelector"/>
     </map:selectors>
+    <map:transformers default="xslt">
+      <map:transformer name="cinclude" 
+                  src="org.apache.cocoon.transformation.CIncludeTransformer"/>
+      <map:transformer name="i18n"
+                       src="org.apache.cocoon.transformation.I18nTransformer">
+        <catalogues default="projectInfo">
+          <!--
+          <catalogue id="skos" name="SKOSMessages"
+                     location="{lm:skos.translations}"/>
+          -->
+          <catalogue id="projectInfo" name="ProjectInfoMessages" 
+                     location="{lm:project.translations}"/>
+          <catalogue id="other" name="OtherMessages"
+                     location="{lm:project.translations}"/>
+        </catalogues>
+        <cache-at-startup>true</cache-at-startup>
+      </map:transformer>
+    </map:transformers>
     <map:actions>
       <map:action logger="sitemap.action.sourcetype" name="sourcetype"
                   src="org.apache.forrest.sourcetype.SourceTypeAction">
@@ -30,11 +53,62 @@
         </sourcetype>
       </map:action>
     </map:actions>
+    <map:pipes>
+      <map:pipe name="navigation"
+                src="org.apache.cocoon.components.pipeline.impl.ExpiresCachingProcessingPipeline">
+        <parameter name="cache-expires" value="0"/>
+      </map:pipe>
+    </map:pipes>
   </map:components>
   <!-- /Components -->
 
   <!-- Pipelines -->
   <map:pipelines>
+    <map:pipeline type="navigation">
+      <!-- Glossary bundle -->
+      <map:match pattern="samples/glossary/glossaryBundle.xml">
+        <map:generate type="file" src="{properties:content}/locationmap.xml"/>
+        <map:transform src="{lm:skos.transform.locationmap.glossaryBundle}"/>
+        <map:transform type="cinclude"/>
+        <map:serialize type="xml"/>
+      </map:match>
+      <!-- Not being used by samples -->
+      <map:match pattern="samples/glossary/index.siteSnippet.xml">
+        <map:generate type="file" src="cocoon:/samples/glossary/glossaryBundle.xml"/>
+        <map:transform src="{lm:skos.transform.glossaryBundle.siteSnippet}"/>
+        <map:serialize type="xml-document"/>
+      </map:match>
+    </map:pipeline>
+
+    <map:pipeline>
+      <!-- Glossary Indexs  -->
+      <map:match pattern="samples/glossary/index/*.xml">
+        <map:generate type="file" src="cocoon://samples/glossary/glossaryBundle.xml"/>
+        <map:transform src="{lm:skos.transform.glossaryBundle.index.{1}}">
+          <map:parameter name="documentPath" value="{0}"/>
+        </map:transform>
+        <map:serialize type="xml-document"/>
+      </map:match>
+      <map:match pattern="samples/glossary/index/*/*.xml">
+        <map:generate type="file" src="cocoon://samples/glossary/glossaryBundle.xml"/>
+        <map:transform src="{lm:skos.transform.glossaryBundle.index.{1}}">
+          <map:parameter name="documentPath" value="{0}"/>
+        </map:transform>
+        <map:serialize type="xml"/>
+      </map:match>
+      <!-- Glossary sources in SKOS RDF/XML -->
+      <map:match pattern="samples/glossary/**.source.xml">
+        <map:generate type="file" src="{lm:skos.glossary.{1}}"/>
+        <map:serialize type="xml"/>
+      </map:match>
+      <map:match pattern="samples/glossary/**.xml">
+        <map:generate type="file" src="cocoon://samples/glossary/{1}.source.xml"/>
+        <map:transform src="{lm:skos.transform.skos.document}"/>
+        <map:serialize type="xml-document"/>
+      </map:match>
+    </map:pipeline>
+
+    <!-- SourceTypeAction
     <map:pipeline>
       <map:match pattern="**skos.xml">
         <map:generate src="{properties:content.xdocs}{1}skos.xml"/>
@@ -53,6 +127,7 @@
         <map:serialize type="xml"/>
       </map:match>
     </map:pipeline>
+    -->
   </map:pipelines>
   <!-- /Pipelines -->
 </map:sitemap>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/locationmap.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/locationmap.xml?rev=609950&r1=609949&r2=609950&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/locationmap.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/locationmap.xml Tue Jan  8 04:22:27 2008
@@ -30,5 +30,23 @@
     <match pattern="skos.transform.*.*">
       <location src="resources/stylesheets/{1}-to-{2}.xsl"/>
     </match>
+    <match pattern="resolvePluginContract.*.**">
+      <select type="exists">
+        <location src="{forrest:forrest.plugins}/org.apache.forrest.plugin.input.skos/resources/themes/{properties:dispatcher.theme}/{1}/{2}.ft" />
+        <location src="{forrest:forrest.plugins}/org.apache.forrest.plugin.input.skos/resources/themes/{properties:dispatcher.fallback.theme}/{1}/{2}.ft" />
+      </select>
+    </match>
+    <match pattern="resolvePluginThemes.*.**">
+      <select type="exists">
+        <location src="{forrest:forrest.plugins}/org.apache.forrest.plugin.input.skos/resources/themes/{properties:dispatcher.theme}/{1}/{2}.{1}" />
+        <location src="{forrest:forrest.plugins}/org.apache.forrest.plugin.input.skos/resources/themes/{properties:dispatcher.fallback.theme}/{1}/{2}.{1}" />
+      </select>
+    </match>
+    <match pattern="resolvePluginPanels.**">
+      <select type="exists">
+        <location src="{forrest:forrest.plugins}/org.apache.forrest.plugin.input.skos/resources/themes/{properties:dispatcher.theme}/panels/{1}.panel.xml" />
+        <location src="{forrest:forrest.plugins}/org.apache.forrest.plugin.input.skos/resources/themes/{properties:dispatcher.fallback.theme}/panels/{1}.panel.xml" />
+      </select>
+    </match>
   </locator>
 </locationmap>

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources.xmap?rev=609950&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources.xmap (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources.xmap Tue Jan  8 04:22:27 2008
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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:pipelines>
+    <map:pipeline>
+      
+      <map:match pattern="samples/glossary/**.rdf">
+        <map:generate src="cocoon://samples/glossary/{1}.source.xml" />
+        <map:serialize type="xml"/>
+      </map:match>
+
+    </map:pipeline>
+  </map:pipelines>
+</map:sitemap>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources.xmap
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/glossaryBundle-to-index.all.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/glossaryBundle-to-index.all.xsl?rev=609950&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/glossaryBundle-to-index.all.xsl (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/glossaryBundle-to-index.all.xsl Tue Jan  8 04:22:27 2008
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:atom="http://www.w3.org/2005/Atom"
+                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
+                xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" 
+                xmlns:dc="http://purl.org/dc/elements/1.1/"
+                xmlns:skos="http://www.w3.org/2004/02/skos/core#"
+                version="1.0">
+  <xsl:include href="glossaryBundle-to-index.common.xsl"/>
+  <xsl:template match="/">
+    <document>
+      <header>
+        <!-- FIXME: il8n -->
+        <title>Available Glossaries</title>
+      </header>
+      <body>
+        <ul>
+          <xsl:apply-templates select="//glossary">
+            <xsl:sort select="*/rdf:Description/dc:title[1]"/>
+          </xsl:apply-templates>
+        </ul>
+      </body>
+    </document>
+  </xsl:template>
+</xsl:stylesheet>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/glossaryBundle-to-index.all.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/glossaryBundle-to-index.common.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/glossaryBundle-to-index.common.xsl?rev=609950&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/glossaryBundle-to-index.common.xsl (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/glossaryBundle-to-index.common.xsl Tue Jan  8 04:22:27 2008
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:atom="http://www.w3.org/2005/Atom"
+                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+                xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+                xmlns:dc="http://purl.org/dc/elements/1.1/"
+                xmlns:skos="http://www.w3.org/2004/02/skos/core#"
+                version="1.0">
+
+  <xsl:param name="documentPath"/>
+
+  <xsl:template match="glossary">
+    <xsl:variable name="pathToRoot">
+      <xsl:call-template name="dotdots">
+        <xsl:with-param name="path">
+          <xsl:value-of select="$documentPath"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:variable>
+    <xsl:variable name="name">
+      <xsl:choose>
+        <xsl:when test="descendant::rdf:Description/dc:title">
+          <xsl:value-of select="descendant::rdf:Description/dc:title[1]"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <!-- FIXME: il8n -->
+          <xsl:message terminate="no">
+            <xsl:text>WARNING: No title found for the glossary (</xsl:text>
+            <xsl:value-of select="concat($pathToRoot, @href-noext, '.rdf')"/>
+            <xsl:text>).</xsl:text>
+          </xsl:message>
+          <xsl:text>Untitled Glossary</xsl:text>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <li>
+      <p>
+        <a>
+          <xsl:attribute name="href">
+            <xsl:value-of select="concat($pathToRoot, @href-noext, '.html')"/>
+          </xsl:attribute>
+          <xsl:value-of select="$name"/>
+        </a>
+      </p>
+    </li>
+  </xsl:template>
+
+  <!-- Taken from DOAP plugin as it was; It's recursive, BTW -->
+  <!-- FIXME: this should come from include of dotdots.xsl in forest core -->
+  <xsl:template name="dotdots">
+    <xsl:param name="path"/>
+    <xsl:variable name="dirs" select="normalize-space(translate(concat($path, 'x'), ' /\', '_  '))"/>
+    <!-- The above does the following
+       o Adds a trailing character to the path. This prevents us having to deal
+         with the special case of ending with '/'
+       o Translates all directory separators to ' ', and normalize spaces,
+         cunningly eliminating duplicate '//'s. We also translate any real
+         spaces into _ to preserve them.
+    -->
+    <xsl:variable name="remainder" select="substring-after($dirs, ' ')"/>
+    <xsl:if test="$remainder">
+      <xsl:text>../</xsl:text>
+      <xsl:call-template name="dotdots">
+        <xsl:with-param name="path" select="translate($remainder, ' ', '/')"/>
+        <!-- Translate back to /'s because that's what the template expects. -->
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:template>
+</xsl:stylesheet>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/glossaryBundle-to-index.common.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/glossaryBundle-to-siteSnippet.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/glossaryBundle-to-siteSnippet.xsl?rev=609950&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/glossaryBundle-to-siteSnippet.xsl (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/glossaryBundle-to-siteSnippet.xsl Tue Jan  8 04:22:27 2008
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:atom="http://www.w3.org/2005/Atom"
+                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
+                xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" 
+                xmlns:dc="http://purl.org/dc/elements/1.1/"
+                exclude-result-prefixes="dc atom rdfs rdf"
+                version="1.0">
+
+  <xsl:param name="name">All</xsl:param>
+  <xsl:template match="glossaries">
+    <xsl:element name="{$name}">
+      <xsl:attribute name="label">
+        <xsl:value-of select="$name"/>
+      </xsl:attribute>
+      <xsl:apply-templates/>
+    </xsl:element>
+  </xsl:template>
+  <xsl:template match="glossary">
+    <xsl:variable name="name">
+      <xsl:choose>
+        <xsl:when test="descendant::rdf:Description/dc:title">
+          <xsl:value-of select="descendant::rdf:Description/dc:title"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="@id"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <glossary>
+      <xsl:attribute name="label">
+        <xsl:value-of select="$name"/>
+      </xsl:attribute>
+      <xsl:attribute name="href">
+        <xsl:value-of select="@href-noext"/>.html</xsl:attribute>
+        <xsl:attribute name="description">
+        <xsl:value-of select="$name"/>
+        <xsl:text> Glossary</xsl:text>
+      </xsl:attribute>
+    </glossary>
+  </xsl:template>
+</xsl:stylesheet>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/glossaryBundle-to-siteSnippet.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/locationmap-to-glossaryBundle.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/locationmap-to-glossaryBundle.xsl?rev=609950&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/locationmap-to-glossaryBundle.xsl (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/locationmap-to-glossaryBundle.xsl Tue Jan  8 04:22:27 2008
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:lm="http://apache.org/forrest/locationmap/1.0"
+                xmlns:cinclude="http://apache.org/cocoon/include/1.0"
+                version ="1.0">
+
+  <xsl:template match="lm:locationmap">
+    <glossaries>
+      <xsl:apply-templates/>
+    </glossaries>
+  </xsl:template>
+
+  <xsl:template match="lm:locator/lm:match[starts-with(@pattern, 'skos.glossary.')]">
+    <xsl:variable name="href-noext" 
+                  select="substring-after(@pattern, 'skos.glossary.')"/>
+    <glossary href-noext="samples/glossary/{$href-noext}">
+      <xsl:attribute name="id">
+        <xsl:value-of select="@pattern"/>
+      </xsl:attribute>
+      <cinclude:include>
+        <xsl:attribute name="src">
+          <xsl:choose>
+            <xsl:when test="starts-with(lm:location[1]/@src, 'http://')">
+              <xsl:value-of select="lm:location[1]/@src"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:value-of select="concat('cocoon:/samples/glossary/',
+                                    $href-noext, '.source.xml')"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:attribute>
+      </cinclude:include>
+    </glossary>
+  </xsl:template>
+</xsl:stylesheet>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/locationmap-to-glossaryBundle.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/skos-to-document.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/skos-to-document.xsl?rev=609950&r1=609949&r2=609950&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/skos-to-document.xsl (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/stylesheets/skos-to-document.xsl Tue Jan  8 04:22:27 2008
@@ -15,112 +15,225 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<xsl:stylesheet version="1.0"
-                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
+                xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
                 xmlns:skos="http://www.w3.org/2004/02/skos/core#"
+                xmlns:dc="http://purl.org/dc/elements/1.1/"
                 xmlns:exsl="http://exslt.org/common"
                 extension-element-prefixes="exsl"
-		exclude-result-prefixes="rdf skos">
+                exclude-result-prefixes="rdf skos dc"
+                version="1.0">
 
   <xsl:template match="/">
-    <xsl:apply-templates select="rdf:RDF" />
+    <xsl:apply-templates select="rdf:RDF" mode="skos.glossary"/>
   </xsl:template>
 
-  <xsl:template match="rdf:RDF">
+  <xsl:template match="rdf:RDF" mode="skos.glossary">
     <document>
-      <xsl:call-template name="header"/>
-      <xsl:call-template name="body"/>
+      <xsl:call-template name="skos.glossary.header"/>
+      <xsl:call-template name="skos.glossary.body"/>
     </document>
   </xsl:template>
 
-  <xsl:template name="header">
+  <xsl:template name="skos.glossary.header">
     <header>
-      <title>Glossary</title>
+      <xsl:call-template name="skos.glossary.title"/>
     </header>
   </xsl:template>
 
-  <xsl:template name="body">
+  <xsl:template name="skos.glossary.title">
+    <title>
+      <xsl:choose>
+        <xsl:when test="rdf:Description/dc:title">
+          <xsl:value-of select="rdf:Description[1]/dc:title[1]"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <!-- FIXME: il8n -->
+          <xsl:message terminate="no">
+            <xsl:text>WARNING: No title found for the glossary.</xsl:text>
+          </xsl:message>
+          <xsl:text>Glossary</xsl:text>
+        </xsl:otherwise>
+      </xsl:choose>
+    </title>
+  </xsl:template>
 
+  <xsl:template name="skos.glossary.body">
     <xsl:variable name="concepts">
       <xsl:for-each select="skos:Concept">
-        <!-- Sort wrapping sections -->
         <xsl:sort select="skos:prefLabel"/>
-	<xsl:copy-of select="."/>
+        <xsl:copy-of select="."/>
       </xsl:for-each>
     </xsl:variable>
 
+    <!-- upper/lower-case letters for case conversion -->
+    <xsl:variable name="ucl">ABCDEFGHIJKLMNOPQRSTUVWXYZ</xsl:variable>
+    <xsl:variable name="lcl">abcdefghijklmnopqrstuvwxyz</xsl:variable>
+
     <body>
-      <!-- Ignore terms starting with the same letter except the first one. -->
-      <xsl:for-each select="exsl:node-set($concepts)/skos:Concept[not(substring(skos:prefLabel, 1, 1)=substring(following-sibling::skos:Concept/skos:prefLabel, 1, 1))]">
-        <xsl:variable name="first-char" 
-		      select="substring(skos:prefLabel, 1, 1)"/>
-        <section id="{$first-char}">
+      <xsl:if test="rdf:Description">
+        <section>
           <title>
-  	    <xsl:value-of select="$first-char"/>
-	  </title>
-          <xsl:apply-templates 
-	             select="../*[substring(skos:prefLabel, 1, 1)=$first-char]">
-	    <!-- Sort terms inside a wrapping section -->
-  	    <xsl:sort select="skos:prefLabel"/>
+            <!-- FIXME: il8n -->
+            <xsl:text>Description</xsl:text>
+          </title>
+          <xsl:apply-templates select="rdf:Description" mode="skos.glossary"/>
+        </section>
+      </xsl:if>
+
+      <!-- Ignore terms starting with the same letter except the first one -->
+      <!-- FIXME: use of exsl is not necessary -->
+      <xsl:for-each select="exsl:node-set($concepts)/skos:Concept[not(translate(substring(skos:prefLabel, 1, 1), $ucl, $lcl)=translate(substring(following-sibling::skos:Concept/skos:prefLabel, 1, 1), $ucl, $lcl))]">
+        <xsl:variable name="firstChar" select="substring(skos:prefLabel, 1, 1)"/>
+
+        <section id="{$firstChar}">
+          <title>
+            <xsl:value-of select="translate($firstChar, $lcl, $ucl)"/>
+          </title>
+          <xsl:apply-templates select="../*[substring(skos:prefLabel, 1, 1)=$firstChar]" mode="skos.glossary">
+            <!-- Sort terms inside a wrapping section -->
+            <xsl:sort select="skos:prefLabel"/>
           </xsl:apply-templates>
-	</section>
+        </section>
       </xsl:for-each>
     </body>
   </xsl:template>
 
-  <xsl:template match="skos:Concept">
-    <xsl:call-template name="concept"/>
+  <xsl:template match="skos:Concept" mode="skos.glossary">
+    <xsl:call-template name="skos.glossary.concept"/>
   </xsl:template>
 
-  <xsl:template match="skos:prefLabel">
-    <dt>
-      <strong>
-        <xsl:apply-templates/>
-      </strong>
-    </dt>
+  <xsl:template match="skos:prefLabel" mode="skos.glossary">
+    <strong>
+      <xsl:apply-templates/>
+    </strong>
+    <!-- FIXME: il8n -->
+    <xsl:if test="position() != last()">
+      <xsl:text>, </xsl:text>
+    </xsl:if>
   </xsl:template>
 
-  <xsl:template match="skos:definition">
+  <xsl:template match="skos:definition" mode="skos.glossary">
     <li class="{local-name(.)}">
-      <xsl:apply-templates/>
+      <xsl:apply-templates mode="skos.glossary"/>
     </li>
   </xsl:template>
 
-  <xsl:template name="concept">
+  <xsl:template name="skos.glossary.concept">
     <dl class="concept" id="{skos:prefLabel[1]/text()}">
-      <xsl:apply-templates select="skos:prefLabel[1]"/>
+      <dt>
+        <xsl:apply-templates select="skos:prefLabel" mode="skos.glossary"/>
+      </dt>
       <dd class="definition">
-        <ol>
-          <xsl:apply-templates select="skos:definition"/>
-        </ol>
+        <ul>
+          <xsl:apply-templates select="skos:definition" mode="skos.glossary"/>
+        </ul>
       </dd>
-
+      <xsl:apply-templates select="rdfs:*" mode="skos.glossary"/>
       <xsl:if test="skos:related">
         <dd class="related">
-          <!-- il8n? -->
-	  <p>See Also:</p>
+          <!-- FIXME: il8n -->
+          <p>See Also:</p>
           <ul>
-            <xsl:apply-templates select="skos:related"/>
+            <xsl:apply-templates select="skos:related" mode="skos.glossary"/>
           </ul>
-	</dd>
+        </dd>
       </xsl:if>
     </dl>
   </xsl:template>
 
-  <xsl:template match="skos:related">
+  <xsl:template match="skos:related" mode="skos.glossary">
     <xsl:variable name="relatedConcept" 
-     		  select="@rdf:resource"/>
+                  select="@rdf:resource"/>
 
     <xsl:for-each select="../../skos:Concept">
       <xsl:if test="$relatedConcept = @rdf:about">
-	<li class="related">
+        <li class="related">
           <link href="#{skos:prefLabel/text()}">
-	    <xsl:value-of select="skos:prefLabel/text()"/>
+            <xsl:value-of select="skos:prefLabel/text()"/>
           </link>
         </li>
       </xsl:if>
     </xsl:for-each>
+  </xsl:template>
+
+  <xsl:template match="/*/rdf:Description" mode="skos.glossary">
+    <xsl:apply-templates select="*|@*" mode="skos.glossary"/>
+  </xsl:template>
+
+  <xsl:template match="@rdf:about[. != '']" mode="skos.glossary">
+    <p class="{local-name(.)}">
+      <strong>
+        <!-- FIXME: il8n -->
+        <xsl:text>Identifier: </xsl:text>
+      </strong>
+      <a>
+        <xsl:attribute name="href">
+          <xsl:value-of select="."/>
+        </xsl:attribute>
+        <xsl:attribute name="title">
+          <xsl:call-template name="skos.glossary.title"/>
+        </xsl:attribute>
+        <xsl:value-of select="."/>
+      </a>
+    </p>
+  </xsl:template>
+
+  <xsl:template match="dc:title" mode="skos.glossary"></xsl:template>
+
+  <xsl:template match="dc:date" mode="skos.glossary">
+    <p class="{local-name(.)}">
+      <strong>
+        <!-- FIXME: il8n -->
+        <xsl:text>Date: </xsl:text>
+      </strong>
+      <span>
+        <xsl:apply-templates/>
+      </span>
+    </p>
+  </xsl:template>
+
+  <xsl:template match="dc:description" mode="skos.glossary">
+    <p class="{local-name(.)}">
+      <xsl:apply-templates/>
+    </p>
+  </xsl:template>
+
+  <xsl:template match="rdfs:isDefinedBy" mode="skos.glossary">
+    <p class="{local-name(.)}">
+      <strong>
+        <!-- FIXME: il8n -->
+        <xsl:text>Source: </xsl:text>
+      </strong>
+      <a>
+        <xsl:attribute name="href">
+          <xsl:value-of select="@rdf:resource"/>
+        </xsl:attribute>
+        <xsl:attribute name="title">
+          <xsl:call-template name="skos.glossary.title"/>
+        </xsl:attribute>
+        <xsl:value-of select="@rdf:resource"/>
+      </a>
+    </p>
+  </xsl:template>
+
+  <xsl:template match="/*/rdf:Description/dc:rights" mode="skos.glossary">
+    <p class="{local-name(.)}">
+      <strong>
+        <!-- FIXME: il8n -->
+        <xsl:text>Legal Notice: </xsl:text>
+      </strong>
+      <a>
+        <xsl:attribute name="href">
+          <xsl:value-of select="@rdf:resource"/>
+        </xsl:attribute>
+        <xsl:attribute name="title">
+          <xsl:call-template name="skos.glossary.title"/>
+        </xsl:attribute>
+        <xsl:value-of select="@rdf:resource"/>
+      </a>
+    </p>
   </xsl:template>
 
 </xsl:stylesheet>

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/themes/common/html/content-skos-link.ft
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/themes/common/html/content-skos-link.ft?rev=609950&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/themes/common/html/content-skos-link.ft (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/themes/common/html/content-skos-link.ft Tue Jan  8 04:22:27 2008
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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 name="content-skos-link"
+  xmlns:forrest="http://apache.org/forrest/templates/1.0">
+  <description>
+    content-skos-link will output the skos link with image to the content.
+  </description>
+  <usage>
+<![CDATA[<forrest:contract name="content-skos-link"/>]]>
+  </usage>
+  <forrest:template xmlns:forrest="http://apache.org/forrest/templates/1.0"
+                    name="content-skos-link" inputFormat="xsl" >
+    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                    version="1.1">
+      <xsl:param name="defaultVariables" select="'test.html'"/>
+      <xsl:variable name="skin-img-dir" 
+        select="$defaultVariables/*/*[@name='skin-img-dir']/@value"/>
+      <xsl:variable name="filename-noext" 
+        select="$defaultVariables/*/*[@name='filename-noext']/@value"/>
+      <xsl:template match="/">
+        <forrest:content>
+          <forrest:part><a href="{$filename-noext}.rdf" class="format">
+            <img class="skin" src="{$skin-img-dir}/skos-rdf.png" 
+                alt="SKOS RDF - Icon"/>
+            <span class="caption">skos</span></a>
+          </forrest:part>
+        </forrest:content>
+      </xsl:template>
+    </xsl:stylesheet>
+  </forrest:template>
+</forrest:contract>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/themes/common/html/content-skos-link.ft
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/themes/common/html/skos-embedded.ft
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/themes/common/html/skos-embedded.ft?rev=609950&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/themes/common/html/skos-embedded.ft (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/themes/common/html/skos-embedded.ft Tue Jan  8 04:22:27 2008
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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="skos-embedded">
+  <description>
+    <p>
+      This template outputs html link elements for embedding SKOS files.
+    </p>
+    <p>
+      The contract requires the locations of SKOS files to be passed in as
+      parameters using the following syntax:
+    </p>
+    <source>&lt;skos url="<em>glossary.rdf</em>"&gt;</source>
+    <ul>
+      <li><strong>url</strong> attribute indicates the location of the SKOS 
+      file. The <strong>url</strong> attribute is required.
+      </li>
+      <li><strong>title</strong> attribute indicates the title of the SKOS file.
+        The <strong>title</strong> attribute is optional an has a default value
+        of "SKOS".
+      </li>
+    </ul>
+  </description>
+  <usage>
+<![CDATA[<forrest:contract name="skos-embedded">
+      <forrest:property name="skos-embedded-links">
+        <skos url="foo.rdf"/>
+        <skos url="foo.bar.xml"/>
+        ...
+      </forrest:property>
+    </forrest:contract>]]>
+  </usage>
+  <forrest:template xmlns:forrest="http://apache.org/forrest/templates/1.0" 
+                    name="skos-embedded" inputFormat="xsl">
+
+    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                    xmlns:forrest="http://apache.org/forrest/templates/1.0"
+                    version="1.1">
+      <xsl:param name="skos-embedded-links"/>
+      <xsl:template match="/">
+        <forrest:content>
+          <forrest:part xpath="/html/head">
+            <xsl:apply-templates select="$skos-embedded-links"/>
+          </forrest:part>
+        </forrest:content>
+      </xsl:template>
+
+      <xsl:template match="skos[@url]">
+        <link rel="meta" type="application/rdf+xml">
+        <xsl:choose>
+          <xsl:when test="@title">
+            <xsl:attribute name="title">
+              <xsl:value-of select="@title"/>
+            </xsl:attribute>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:attribute name="title">SKOS</xsl:attribute>
+          </xsl:otherwise>
+        </xsl:choose>
+        <xsl:attribute name="href">
+          <xsl:value-of select="@url"/>
+        </xsl:attribute></link>
+      </xsl:template>
+    </xsl:stylesheet>
+  </forrest:template>
+</forrest:contract>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/themes/common/html/skos-embedded.ft
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/themes/common/images/skos-rdf.png
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/themes/common/images/skos-rdf.png?rev=609950&view=auto
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/resources/themes/common/images/skos-rdf.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/locationmap.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/locationmap.xml?rev=609950&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/locationmap.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/locationmap.xml Tue Jan  8 04:22:27 2008
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+<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="skos.glossary.rdf-mt">
+      <location src="http://www.w3.org/2003/03/glossary-project/data/glossaries/rdf-mt.rdf"/>
+    </match>
+    <match pattern="skos.glossary.rdf-syntax">
+      <location src="http://www.w3.org/2003/03/glossary-project/data/glossaries/rdf-syntax.rdf"/>
+    </match>
+    <match pattern="skos.glossary.owl-guide">
+      <location src="http://www.w3.org/2003/03/glossary-project/data/glossaries/owl-guide.rdf"/>
+    </match>
+    <match pattern="skos.glossary.REC-xml">
+      <location src="http://www.w3.org/2003/03/glossary-project/data/glossaries/REC-xml.rdf"/>
+    </match>
+    <match pattern="skos.glossary.xml-names11">
+      <location src="http://www.w3.org/2003/03/glossary-project/data/glossaries/xml-names11.rdf"/>
+    </match>
+    <match pattern="skos.glossary.xpath20">
+      <location src="http://www.w3.org/2003/03/glossary-project/data/glossaries/xpath20"/>
+    </match>
+  </locator>
+</locationmap>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/locationmap.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/xdocs/images/favicon.ico
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/xdocs/images/favicon.ico?rev=609950&view=auto
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/xdocs/images/favicon.ico
------------------------------------------------------------------------------
    svn:mime-type = image/x-icon

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/xdocs/index.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/xdocs/index.xml?rev=609950&r1=609949&r2=609950&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/xdocs/index.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/xdocs/index.xml Tue Jan  8 04:22:27 2008
@@ -16,7 +16,7 @@
   limitations under the License.
 -->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" 
-			  "http://forrest.apache.org/dtd/document-v20.dtd">
+                          "http://forrest.apache.org/dtd/document-v20.dtd">
 <document>
   <header>
     <title>Welcome to SKOS Plugin for Forrest</title>
@@ -26,9 +26,9 @@
       <title>Apache Forrest - SKOS Plugin</title>
       <p>
         Rendering <a href="ext:skos">SKOS</a>, a set of 
-	<a href="ext:skos/specs">specifications</a> to 
-	support the representation of thesauri, classification schemes, 
-	taxonomies, etc.
+        <a href="ext:skos/specs">specifications</a> to 
+        support the representation of thesauri, classification schemes, 
+        taxonomies, etc.
       </p>
     </section>
     <section id="samples">
@@ -38,47 +38,65 @@
       </note>
       <p>
         This section includes samples that have been made available so far to 
-	demonstrate the existing functionalities of the plugin.
+        demonstrate the existing functionalities of the plugin.
       </p>
       <section id="glossary">
         <title>Glossary</title>
         <p>
-	  This sample generates a <a href="site:glossary">glossary</a> from 
-	  a collection of <code>skos:Concept</code>s written in RDF/XML format.
+          This sample generates a glossary from a collection of 
+          <code>skos:Concept</code>s written in RDF/XML format.
+          An example would be:
         </p>
-	<p>An example would be:</p>
         <source>
 <![CDATA[
-<skos:Concept rdf:about="http://forrest.apache.org/docs/glossary#Dispatcher">
-  <skos:prefLabel>Dispatcher</skos:prefLabel>
+<rdf:Description rdf:about="http://example.org/glossary/logic#">
+  <dc:title>Glossary of Logic</dc:title>
+  ...
+</rdf:Description>
+
+<skos:Concept rdf:about="http://example.org/glossary/logic#categorical_proposition">
+  <skos:prefLabel>categorical proposition</skos:prefLabel>
   <skos:definition>
   ...
   </skos:definition>
   <skos:definition>
   ...
   </skos:definition>
-  <skos:related rdf:resource="http://forrest.apache.org/docs/glossary#Contracts"/>
+  <skos:related rdf:resource="http://example.org/glossary/logic#proposition"/>
 </skos:Concept>
 ]]>
         </source>
-        <note>
-          We <a href="site:todo">plan</a> to provide a wider support 
-	  for the format in the near future.
-        </note>
         <p>
-          To retrieve the glossary file in its raw form --SKOS RDF/XML, please 
-	  request the file <code>samples/glossary-skos/source.xml</code>.
+          A map of available glossaries must be provided in the 
+          <a href="ext:forrest/locationmap">locationmap</a>, 
+          which is by default located in <code>{properties:content}</code>. The 
+          following example shows how to map glossaries in the locationmap.
         </p>
+        <source>
+<![CDATA[
+    <match pattern="skos.glossary.logic">
+      <location src="http://example.org/glossary/logic.rdf"/>
+    </match>
+    <match pattern="skos.glossary.string-theory">
+      <location src="{properties:content}skos/glossaries/string-theory.rdf"/>
+    </match>
+]]>
+        </source>
         <p>
-        To retrieve the glossary in other formats, please request the file
-        <code>samples/glossary-skos.[FORMAT]</code>. The following formats are 
-	currently supported:
+          Here are some requests served by the plugin.
         </p>
         <ul id="glossary-formats">
-	  <li><a href="site:glossary">HTML</a></li>
-	  <li><a href="/samples/glossary-skos.pdf">PDF</a></li>
-	  <li><a href="/samples/glossary-skos.xml">XDoc</a></li>
-	</ul>
+          <li>
+            <a href="site:glossary/all">List of all available glossaries</a>
+          </li>
+          <li>
+            An example glossary published by W3C in 
+            <a href="/samples/glossary/rdf-mt.html">HTML</a>, 
+            <a href="/samples/glossary/rdf-mt.pdf">PDF</a>, 
+            <a href="/samples/glossary/rdf-mt.rdf">RDF</a>, and
+            <a href="/samples/glossary/rdf-mt.xml">XDoc</a> formats.
+          </li>
+        </ul>
       </section>
     </section>
   </body>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/xdocs/samples/index.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/xdocs/samples/index.xml?rev=609950&r1=609949&r2=609950&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/xdocs/samples/index.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/xdocs/samples/index.xml Tue Jan  8 04:22:27 2008
@@ -15,8 +15,8 @@
   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">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN"
+                          "http://forrest.apache.org/dtd/document-v20.dtd">
 <document>
   <header>
     <title>Forrest SKOS Pligun - Samples</title>
@@ -26,16 +26,22 @@
       <title>Samples</title>
       <p>
         Samples that have been made available so far to 
-	show the current functionality of the plugin.
+        show the current functionality of the plugin.
       </p>
       <section id="glossary">
         <title>Glossary</title>
         <ul id="glossary-formats">
-	  <li><a href="/samples/glossary-skos.html">HTML</a></li>
-	  <li><a href="/samples/glossary-skos.pdf">PDF</a></li>
-	  <li><a href="/samples/glossary-skos.xml">XDoc</a></li>
-	  <li><a href="/samples/glossary-skos/source.xml">SKOS</a></li>
-	</ul>
+          <li>
+            <a href="site:glossary/all">List of all available glossaries</a>
+          </li>
+          <li>
+            An example glossary published by W3C in
+            <a href="/samples/glossary/rdf-mt.html">HTML</a>,
+            <a href="/samples/glossary/rdf-mt.pdf">PDF</a>,
+            <a href="/samples/glossary/rdf-mt.rdf">RDF</a>, and
+            <a href="/samples/glossary/rdf-mt.xml">XDoc</a> formats.
+          </li>
+        </ul>
       </section>
     </section>
   </body>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/xdocs/site.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/xdocs/site.xml?rev=609950&r1=609949&r2=609950&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/xdocs/site.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/xdocs/site.xml Tue Jan  8 04:22:27 2008
@@ -37,20 +37,20 @@
   <!-- About -->
   <about label="About">
     <index label="Overview" href="index.html" 
-    	   description="Home for Forrest SKOS Plugin"/>
+           description="Home for Forrest SKOS Plugin"/>
     <changes label="Changes" href="changes.html" 
-    	     description="Keeping Track of Changes" />
+           description="Keeping Track of Changes" />
     <todo label="Todo" href="todo.html" description="Todo List" />
   </about>
   <!-- /About -->
 
   <!-- Samples -->
   <samples label="Samples" href="samples/">
-    <index label="Overview" href="index.html"
-    	   description="Samples demonstrating the current functionality of the
-	   plugin"/>
-    <glossary label="Glossary" href="glossary-skos.html" 
-	      description="A Simple SKOS glossary in Forrest"/>
+    <index label="Overview" href="index.html" description="Samples 
+    		  demonstrating the current functionality of the plugin"/>
+    <glossary label="Glossary" href="glossary/">
+      <all label="All" href="index/all.html"/>
+    </glossary>
   </samples>
   <!-- /Samples -->
 
@@ -62,6 +62,7 @@
       <webapp href="docs/your-project.html#webapp"/>
       <dtd-docs href="docs/dtd-docs.html"/>
       <plugins href="docs/plugins"/>
+      <locationmap href="docs/locationmap.html"/>
     </forrest>
     <skos href="http://www.w3.org/2004/02/skos/">
       <specs href="specs"/>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/xdocs/tabs.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/xdocs/tabs.xml?rev=609950&r1=609949&r2=609950&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/xdocs/tabs.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/content/xdocs/tabs.xml Tue Jan  8 04:22:27 2008
@@ -15,24 +15,31 @@
   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=""
-  title="MyProj"
-  copyright="Foo"
-  xmlns:xlink="http://www.w3.org/1999/xlink">
-<!-- The rules for tabs are:
+<!DOCTYPE tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.1//EN" 
+                      "http://forrest.apache.org/dtd/tab-cocoon-v11.dtd">
+<tabs software="org.apache.forrest.plugin.input.skos"
+      title="SKOS Plugin"
+      copyright="The Apache Software Foundation"
+      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'
+    @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.
+    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.    
+    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="plugins" label="Forrest Plugins" 
+       href="http://forrest.apache.org/pluginDocs" indexfile="index.html"/>
   <tab id="home" label="Plugin Home" dir="" indexfile="index.html"/>
-<!-- Add new tabs here, eg:
+  <!-- 
+  Add new tabs here, eg:
   <tab label="How-Tos" dir="community/howto/"/>
   <tab label="XML Site" dir="xml-site/"/>
   -->

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/resources/themes/pelt.fv
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/resources/themes/pelt.fv?rev=609950&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/resources/themes/pelt.fv (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/resources/themes/pelt.fv Tue Jan  8 04:22:27 2008
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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">
+
+  <!-- 
+  The following variables are used to contact data models and/or contracts. 
+  -->
+  <jx:set var="contextPath" value="#{$cocoon/parameters/contextPath}"/>
+  <jx:set var="getRequest" value="#{$cocoon/parameters/getRequest}"/>
+  <jx:set var="getRequestExtension" 
+          value="#{$cocoon/parameters/getRequestExtension}" />
+
+  <forrest:view type="fo" hooksXpath="/">
+    <jx:import uri="cocoon://prepare.panels.common-fo"/>
+  </forrest:view>
+
+  <!-- CSS View of the request e.g. index.dispatcher.css -->
+  <forrest:view type="css" hooksXpath="/">
+    <jx:import uri="cocoon://prepare.panels.pelt-css"/>
+  </forrest:view>
+
+  <forrest:view type="html" hooksXpath="/html/body">
+    <!--
+    <forrest:contract name="skos-embedded">
+      <forrest:property name="skos-embedded-links">
+        <skos url="/#{$getRequest}.rdf"/>
+      </forrest:property>
+    </forrest:contract>
+    -->
+    <jx:import uri="cocoon://prepare.panels.pelt-html"/>
+  </forrest:view>
+
+</forrest:views>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/resources/themes/pelt.fv
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/resources/themes/pelt/panels/pelt-html.panel.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/resources/themes/pelt/panels/pelt-html.panel.xml?rev=609950&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/resources/themes/pelt/panels/pelt-html.panel.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/resources/themes/pelt/panels/pelt-html.panel.xml Tue Jan  8 04:22:27 2008
@@ -0,0 +1,169 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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:template xmlns:forrest="http://apache.org/forrest/templates/1.0"
+                  xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
+  <!-- 
+    @type defines this structurer to html.
+    @hooksXpath defines where all hooks will be injected (as prefix).
+  -->
+  <forrest:contract name="branding-css-links">
+    <!-- 
+      More information around this contract
+      http://marc.theaimsgroup.com/?l=forrest-dev&m=113473237805195&w=2
+    -->
+    <!-- Note: 
+      The forrest:properties element does not exit anymore (in comparison to
+      a previous versions) 
+    -->
+    <forrest:property name="branding-css-links-input">
+      <css url="common.css" media="screen" rel="alternate stylesheet" 
+          theme="common"/>
+      <css url="leather-dev.css" media="screen" rel="alternate stylesheet" 
+          theme="common"/>
+      <css url="pelt.screen.css" media="screen" theme="Pelt"/>
+      <!-- 
+        You can request url specific css as defined above, 
+        but beware that you need to use the *.dispatcher.css extension!!!
+      -->
+      <css prefix="" url="#{$getRequest}.dispatcher.css" media="screen" 
+           theme="Pelt"/>
+      <css url="pelt.print.css" media="print"/>
+      <css>/* Extra css */ 
+p.quote {
+ margin-left: 2em; 
+ padding: .5em; 
+ background-color: #f0f0f0; 
+ font-family: monospace; 
+}</css>
+    </forrest:property>
+  </forrest:contract>
+  <forrest:contract name="siteinfo-meta" dataURI="lm://project.build-info">
+    <forrest:property name="custom">
+      <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
+    </forrest:property>
+    <forrest:property name="theme" value="pelt"/>
+  </forrest:contract>
+  <forrest:contract name="siteinfo-meta-navigation" 
+      dataURI="cocoon://#{$getRequest}.navigation.xml"/>
+  <forrest:contract name="siteinfo-meta-icon">
+    <forrest:property name="siteinfo-meta-icon">
+      <favicon-url>images/favicon.ico</favicon-url>
+    </forrest:property>
+  </forrest:contract>
+  <!--
+  <forrest:contract name="skos-embedded">
+    <forrest:property name="skos-embedded-links">
+      <skos url="/#{$getRequest}.rdf"/>
+    </forrest:property>
+  </forrest:contract>
+  -->
+  <forrest:hook name="container">
+    <forrest:hook name="header">
+      <forrest:hook class="logo">
+        <forrest:contract name="branding-logo">
+          <forrest:property name="branding-logo-name">
+            Apache Forrest
+          </forrest:property>
+          <forrest:property name="branding-logo-description">
+            XML publishing framework
+          </forrest:property>
+          <forrest:property name="branding-logo-url">
+            http://forrest.apache.org/
+          </forrest:property>
+          <forrest:property name="branding-logo-logo">
+            images/project-logo.gif
+          </forrest:property>
+        </forrest:contract>
+      </forrest:hook>
+      <forrest:contract name="helper-form-blank"/>
+      <forrest:contract name="search-input">
+        <forrest:property name="input-size">25</forrest:property>
+        <forrest:property name="search-input">
+          <search name="Apache Forrest" 
+                  domain="forrest.apache.org" provider="google"/>
+        </forrest:property>
+      </forrest:contract>
+      <forrest:hook name="nav-main-hook">
+        <forrest:contract name="nav-main" 
+            dataURI="cocoon://#{$getRequest}.navigation.xml"/>
+        <forrest:hook name="publishedStrip" nbsp="true">
+          <forrest:contract name="nav-main-sub" 
+              dataURI="cocoon://#{$getRequest}.navigation.xml"/>
+          <forrest:contract name="siteinfo-last-published"/>
+        </forrest:hook>
+      </forrest:hook>
+    </forrest:hook>
+    <forrest:hook name="page">
+      <forrest:hook class="breadtrail" nbsp="true" />
+      <forrest:hook name="leftbar">
+        <forrest:contract name="nav-section" 
+                          dataURI="cocoon://#{$getRequest}.navigation.xml">
+          <forrest:property name="nav-section-toc" nugget="get.tov">
+           <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.toc.xml"/>
+          </forrest:property>
+          <forrest:property name="expanding">true</forrest:property>
+        </forrest:contract>
+        <forrest:contract name="siteinfo-credits">
+          <forrest:property name="top-separator">true</forrest:property>
+        </forrest:contract>
+        <forrest:contract name="nav-section-round-bottom"/>
+<!-- end of below-nav content -->
+      </forrest:hook>
+      <forrest:hook name="content">
+        <forrest:hook name="export-link">
+          <forrest:contract name="content-pdf-link"/>
+        </forrest:hook>
+<!-- FIXME - Problem with ndeSetTextSize() script from fontsize.js not compliant between Pelt and Leather-dev... -->
+        <forrest:hook class="trail">
+          <forrest:contract name="branding-fontsize"/>
+        </forrest:hook>
+        <forrest:contract name="content-title" 
+            dataURI="cocoon://#{$getRequest}.title.xml"/>
+        <forrest:contract name="content-abstract" 
+            dataURI="cocoon://#{$getRequest}.abstract.xml"/>
+        <forrest:contract name="content-minitoc" 
+            dataURI="cocoon://#{$getRequest}.toc.xml">
+          <forrest:property name="content-minitoc-conf" max-depth="2" 
+              min-sections="1" location="page"/>
+        </forrest:contract>
+        <forrest:contract name="content-main" 
+            dataURI="cocoon://#{$getRequest}.body.xml">
+          <forrest:property name="content-main-conf">
+            <headings type="underlined"/>
+          </forrest:property>
+        </forrest:contract>
+      </forrest:hook>
+    </forrest:hook>
+    <forrest:hook name="footer">
+      <forrest:hook class="lastmodified">
+        <forrest:contract name="siteinfo-last-published"/>
+      </forrest:hook>
+      <forrest:hook class="copyright">
+        <forrest:contract name="siteinfo-copyright">
+          <forrest:property name="siteinfo-copyright">
+            <copyright>
+              <year inception="true">2007</year>
+              <vendor>The Apache Software Foundation</vendor>
+              <copyright-link>http://www.apache.org/</copyright-link>
+            </copyright>
+          </forrest:property>
+        </forrest:contract>
+      </forrest:hook>
+    </forrest:hook>
+  </forrest:hook>
+</forrest:template>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/resources/themes/pelt/panels/pelt-html.panel.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/skinconf.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/skinconf.xml?rev=609950&r1=609949&r2=609950&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/skinconf.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/src/documentation/skinconf.xml Tue Jan  8 04:22:27 2008
@@ -22,6 +22,7 @@
 <skinconfig>
   &skinconf-common;
 
-  <project-name>Plugin: org.apache.forrest.plugin.input.skos</project-name>
-  <project-description>org.apache.forrest.plugin.input.skos plugin for Apache Forrest</project-description>
+  <project-name>Plugin: SKOS</project-name>
+  <project-url>http://sina.khakbaz.com:8888/</project-url>
+  <project-description>SKOS plugin for Apache Forrest</project-description>
 </skinconfig>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/status.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/status.xml?rev=609950&r1=609949&r2=609950&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/status.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.skos/status.xml Tue Jan  8 04:22:27 2008
@@ -37,11 +37,14 @@
     <release version="0.1" date="not-released">
       <action dev="SKH" type="update" context="code" fixes-bug="FOR-1005">
         Improved the Sitemap (input.xmap) to use the sourcetypeaction for 
-	handling requests to process input formats.
+        handling requests to process input formats.
+      </action>
+      <action dev="SKH" type="add" context="design">
+        Switched to Dispatcher as the rendering engine.
       </action>
       <action dev="SKH" type="add" context="code">
         Added automatic glossary divisions. Glossary terms starting with the 
-	same letter are all wrapped by the same section.
+        same letter are all wrapped by the same section.
       </action>
       <action dev="SKH" type="add" context="admin">
         Initial plugin code.
@@ -60,18 +63,15 @@
       </action>
       <action context="design" dev="SKH">
         Provide support for concept relationships so as to support taxonomies, 
-	etc.
-      </action>
-      <action context="design" dev="SKH">
-        Using the Dispatcher as the rendering engine.
+        etc.
       </action>
       <action context="code" dev="SKH">
         Writing CSS stylesheets and Javascript to have a reach, yet simple
-	user interface.
+        user interface.
       </action>
       <action context="design" dev="SKH">
         Making the output as compliant as possible to accessibility and
-	usability requirements.
+        usability requirements.
       </action>
     </actions>
     <actions priority="low">



Mime
View raw message