Return-Path: Delivered-To: apmail-forrest-svn-archive@www.apache.org Received: (qmail 39850 invoked from network); 8 Jun 2010 03:36:14 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Jun 2010 03:36:14 -0000 Received: (qmail 15005 invoked by uid 500); 8 Jun 2010 03:36:14 -0000 Delivered-To: apmail-forrest-svn-archive@forrest.apache.org Received: (qmail 14965 invoked by uid 500); 8 Jun 2010 03:36:14 -0000 Mailing-List: contact svn-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Forrest Developers List" List-Id: Delivered-To: mailing list svn@forrest.apache.org Received: (qmail 14955 invoked by uid 99); 8 Jun 2010 03:36:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jun 2010 03:36:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jun 2010 03:36:09 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 63B35238899C; Tue, 8 Jun 2010 03:35:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r952521 - in /forrest/trunk/whiteboard/plugins: ./ org.apache.forrest.plugin.output.Anakia/ org.apache.forrest.plugin.output.Anakia/resources/stylesheets/ org.apache.forrest.plugin.output.Anakia/src/documentation/content/xdocs/ Date: Tue, 08 Jun 2010 03:35:47 -0000 To: svn@forrest.apache.org From: crossley@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100608033547.63B35238899C@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: crossley Date: Tue Jun 8 03:35:46 2010 New Revision: 952521 URL: http://svn.apache.org/viewvc?rev=952521&view=rev Log: Upgrade the Anakia output plugin (now v0.2). Developed a much better way to configure this plugin. Removed the need for Dispatcher. So this plugin has no dependencies and can be easily applied to any site using 0.8 release or newer. Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/input.xmap (with props) forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/resources/stylesheets/linkmap-to-anakiamap.xsl (with props) Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/build.xml forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/output.xmap forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/src/documentation/content/xdocs/index.xml forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/src/documentation/content/xdocs/site.xml forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/status.xml forrest/trunk/whiteboard/plugins/whiteboard-plugins.xml Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/build.xml URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/build.xml?rev=952521&r1=952520&r2=952521&view=diff ============================================================================== --- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/build.xml (original) +++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/build.xml Tue Jun 8 03:35:46 2010 @@ -19,8 +19,8 @@ - - + + Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/input.xmap URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/input.xmap?rev=952521&view=auto ============================================================================== --- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/input.xmap (added) +++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/input.xmap Tue Jun 8 03:35:46 2010 @@ -0,0 +1,28 @@ + + + + + + + + + + + + + Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/input.xmap ------------------------------------------------------------------------------ svn:eol-style = native Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/output.xmap URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/output.xmap?rev=952521&r1=952520&r2=952521&view=diff ============================================================================== --- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/output.xmap (original) +++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/output.xmap Tue Jun 8 03:35:46 2010 @@ -29,6 +29,8 @@ + + Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/resources/stylesheets/linkmap-to-anakiamap.xsl URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/resources/stylesheets/linkmap-to-anakiamap.xsl?rev=952521&view=auto ============================================================================== --- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/resources/stylesheets/linkmap-to-anakiamap.xsl (added) +++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/resources/stylesheets/linkmap-to-anakiamap.xsl Tue Jun 8 03:35:46 2010 @@ -0,0 +1,38 @@ + + + + +
    + +
+
+ + + + + + + + + + + + + + +
Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/resources/stylesheets/linkmap-to-anakiamap.xsl ------------------------------------------------------------------------------ svn:eol-style = native Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/src/documentation/content/xdocs/index.xml URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/src/documentation/content/xdocs/index.xml?rev=952521&r1=952520&r2=952521&view=diff ============================================================================== --- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/src/documentation/content/xdocs/index.xml (original) +++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/src/documentation/content/xdocs/index.xml Tue Jun 8 03:35:46 2010 @@ -24,34 +24,75 @@
Overview

- Produce output in + Produce output in Anakia-like "xdoc" format. Enables use of Forrest as + a tool for gathering input from various sources, and output a + consistent set of xml output documents. + The output is similar to Apache Velocity Anakia - "xdoc" format, for example - localhost:8888/index.xdoc + "xdoc" format. + See example.

+
+
+ Howto +

+ In your project's forrest.properties file make the + following changes ... +

+
    +
  • + Declare the org.apache.forrest.plugin.output.Anakia + plugin at the project.required.plugins property + (comma-separated list). +
  • +
  • + Uncomment the project.start-uri property and set it to be + anakia-start.xml +
  • +

- One use of this plugin is to export a Forrest-based site to Anakia - "xdoc". + Now do 'forrest' to build your site as normal.

- Forrest can then be used as normal, to draw together source content - in various formats, and export a set of consistent documents. + Alongside each *.html file there will now be a matching + *.xdoc file.

-
- Howto +
+ How it works +

+ Explanation of how this plugin works + and how its output can be enhanced with additional processing. +

+

+ Without touching any of the site source content or navigation system, + we need to additionally inject another set of links to be processed. + Each html output document will then also have a matching URI with + *.xdoc extension. +

+

+ This is achieved with the input.xmap sitemap. For the + requested pipeline anakia-start.xml Forrest will generate + the "linkmap" of the site navigation, then apply a transformation + to amend each link. +

+

+ This automatically enables the crawler to gather this set of links. +

- You need a link from each page to its .xdoc version. The - easiest way to do that is with the new whiteboard - Dispatcher - functionality. Follow the "Quickstart" document. Edit your new structurer panels to add - a new contract "content-anakia-link" following the existing "content-pdf-link". - A contract is provided in the o.a.f.plugin.output.Anakia plugin at - resources/themes/common/html/content-anakia-link.ft to copy to the same place in your project. + The output.xmap sitemap then handles each xdoc URI to + transform the internal content structure. This plugin provides one + stylesheet document-to-xdoc.xsl then applies a core + transformation to make the xml output a bit more pretty.

- Don't forget to declare the o.a.f.plugin.output.Anakia plugin (and the usual Dispatcher - plugins) in your project's forrest.properties file. + To enhance the output, either amend the document-to-xdoc.xsl + stylesheet (and please send changes) or insert another transformation + of your own. In the output.xmap after the abovementioned + transformation, add the line + <map:transform src="{lm:anakia.transform.xdoc.mine}"/> + and add your stylesheet (following the locationmap naming convention) at + resources/stylesheets/xdoc-to-mine.xsl

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/src/documentation/content/xdocs/site.xml URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/src/documentation/content/xdocs/site.xml?rev=952521&r1=952520&r2=952521&view=diff ============================================================================== --- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/src/documentation/content/xdocs/site.xml (original) +++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/src/documentation/content/xdocs/site.xml Tue Jun 8 03:35:46 2010 @@ -39,6 +39,7 @@ See http://forrest.apache.org/docs/linki + Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/status.xml URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/status.xml?rev=952521&r1=952520&r2=952521&view=diff ============================================================================== --- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/status.xml (original) +++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/status.xml Tue Jun 8 03:35:46 2010 @@ -30,6 +30,14 @@ + + + Developed a much better way to configure this plugin. + See the overview page Howto section. + Removed the need for Dispatcher. So this plugin has no dependencies + and can be easily applied to any site using 0.8 release or newer. + + Update "content-anakia-link.ft" and instructions to use recent development @@ -47,6 +55,10 @@ + See issues at issue tracker in the + "Plugin: output.Anakia" Component. + + Enable use of the .xml filename extension, rather than the current .xdoc extension. This requires some work on Forrest internals. Modified: forrest/trunk/whiteboard/plugins/whiteboard-plugins.xml URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/whiteboard-plugins.xml?rev=952521&r1=952520&r2=952521&view=diff ============================================================================== --- forrest/trunk/whiteboard/plugins/whiteboard-plugins.xml (original) +++ forrest/trunk/whiteboard/plugins/whiteboard-plugins.xml Tue Jun 8 03:35:46 2010 @@ -237,9 +237,11 @@ author="Apache Forrest Project" website="http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Anakia/" url="http://forrest.apache.org/plugins/" - version="0.1"> + version="0.2"> - Produce output in Anakia "xdoc" format. + Produce output in Anakia-like "xdoc" format. Enables use of Forrest as a + tool for gathering input from various sources, and export a consistent + set of xml output documents. 0.8