Return-Path: Delivered-To: apmail-forrest-site-svn-archive@minotaur.apache.org Received: (qmail 78122 invoked from network); 9 Dec 2010 23:51:42 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Dec 2010 23:51:42 -0000 Received: (qmail 43247 invoked by uid 500); 9 Dec 2010 23:51:42 -0000 Delivered-To: apmail-forrest-site-svn-archive@forrest.apache.org Received: (qmail 43215 invoked by uid 500); 9 Dec 2010 23:51:42 -0000 Mailing-List: contact site-svn-help@forrest.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@forrest.apache.org Delivered-To: mailing list site-svn@forrest.apache.org Received: (qmail 43208 invoked by uid 99); 9 Dec 2010 23:51:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 23:51:42 +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; Thu, 09 Dec 2010 23:51:37 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 438D42388A39; Thu, 9 Dec 2010 23:51:17 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r1044173 [1/2] - in /forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown: ./ images/ skin/ skin/css/ skin/images/ skin/scripts/ skin/translations/ Date: Thu, 09 Dec 2010 23:51:16 -0000 To: site-svn@forrest.apache.org From: crossley@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20101209235117.438D42388A39@eris.apache.org> Author: crossley Date: Thu Dec 9 23:51:13 2010 New Revision: 1044173 URL: http://svn.apache.org/viewvc?rev=1044173&view=rev Log: Deployment of docs for org.apache.forrest.plugin.output.Markdown plugin (deployed by 'deploy-docs' target of plugin build script) Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/broken-links.xml (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/changes.html (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/changes.rss (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/favicon.ico (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/images/ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/images/add.jpg (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/images/built-with-forrest-button.png (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/images/instruction_arrow.png (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/images/project-logo.gif (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/images/project.png (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/images/rss.png (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/index.html (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/linkmap.html (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/sample-1.html (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/sample-1.mdtext (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/CommonMessages_de.xml (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/CommonMessages_en_US.xml (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/CommonMessages_es.xml (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/CommonMessages_fr.xml (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/basic.css (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/breadcrumbs-optimized.js (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/breadcrumbs.js (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/css/ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/fontsize.js (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/getBlank.js (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/getMenu.js (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/README.txt (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/add.jpg (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/built-with-forrest-button.png (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/chapter.gif (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/chapter_open.gif (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/current.gif (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/error.png (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/external-link.gif (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/fix.jpg (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/forrest-credit-logo.png (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/hack.jpg (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/header_white_line.gif (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/info.png (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/instruction_arrow.png (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/label.gif (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/page.gif (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/pdfdoc.gif (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/poddoc.png (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/printer.gif (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/rc-b-l-15-1body-2menu-3menu.png (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/rc-b-r-15-1body-2menu-3menu.png (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/rc-t-r-15-1body-2menu-3menu.png (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/remove.jpg (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/rss.png (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/spacer.gif (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/success.png (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/txtdoc.png (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/update.jpg (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/valid-html401.png (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/vcss.png (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/warning.png (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/xmldoc.gif (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/menu.js (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/note.txt (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/print.css (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/profile.css (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/prototype.js (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/screen.css (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/scripts/ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/translations/ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/todo.html (with props) Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/broken-links.xml URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/broken-links.xml?rev=1044173&view=auto ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/broken-links.xml (added) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/broken-links.xml Thu Dec 9 23:51:13 2010 @@ -0,0 +1,2 @@ + + Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/broken-links.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/changes.html URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/changes.html?rev=1044173&view=auto ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/changes.html (added) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/changes.html Thu Dec 9 23:51:13 2010 @@ -0,0 +1,218 @@ + + + + + + + +History of Changes + + + + + + + + + +
+ + + +
+ + + + +
+Plugin: Markdown output +
+ + + + +
+
+
+
+ +
+ + +
+ +
+ +   +
+ + + + + +
+
Font size: +   +   +   +
+

History of Changes

+ +

+RSS +

+ +

Introduction and explanation of symbols

+
+

Changes are sorted by "type" and then chronologically with the most recent at the top. These symbols denote the various action types:add=add

+
+ + + +

Version 0.1 (not-released)

+
+ +

Changes to the Code Base

+
    +
  • +add + Using initial anakia-to-markdown.xsl being a copy from + http://svn.apache.org/repos/infra/infrastructure/trunk/projects/cms/prototype/conversion-utilities/anakia2markdown.xslt (r777924 2010-09-24). + Committed by DC.
  • +
  • +add + Initial plugin code. + Committed by DC.
  • +
+ +

Contributors to this release

+

We thank the following people for their contributions to this release.

+

This is a list of all people who participated as committers:
David Crossley (DC).

+
+ + +

All Committers

+
+

This is a list of all people who have ever participated + as committers on this project.

+
    +
  • David Crossley (DC)
  • +
  • Volunteer needed (open)
  • +
+
+
+ +
 
+
+ + + Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/changes.html ------------------------------------------------------------------------------ svn:eol-style = native Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/changes.rss URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/changes.rss?rev=1044173&view=auto ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/changes.rss (added) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/changes.rss Thu Dec 9 23:51:13 2010 @@ -0,0 +1,55 @@ + +MyProject (0.1) Changeshttp://example.org/myproj//changes.htmlMyProject + ( + 0.1 + ) Changes + en-us + + + + + + + + + + + + + + + + + + MyProject code addhttp://example.org/myproj//changes.htmlcode add + by + DC + : + + Using initial anakia-to-markdown.xsl being a copy from + http://svn.apache.org/repos/infra/infrastructure/trunk/projects/cms/prototype/conversion-utilities/anakia2markdown.xslt (r777924 2010-09-24). + + MyProject code addhttp://example.org/myproj//changes.htmlcode add + by + DC + : + + Initial plugin code. + + + + +MyProject code addhttp://example.org/myproj//changes.htmlcode add + by + DC + : + + Using initial anakia-to-markdown.xsl being a copy from + http://svn.apache.org/repos/infra/infrastructure/trunk/projects/cms/prototype/conversion-utilities/anakia2markdown.xslt (r777924 2010-09-24). + MyProject code addhttp://example.org/myproj//changes.htmlcode add + by + DC + : + + Initial plugin code. + \ No newline at end of file Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/changes.rss ------------------------------------------------------------------------------ svn:eol-style = native Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/favicon.ico URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/favicon.ico?rev=1044173&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/favicon.ico ------------------------------------------------------------------------------ svn:mime-type = image/x-icon Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/images/add.jpg URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/images/add.jpg?rev=1044173&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/images/add.jpg ------------------------------------------------------------------------------ svn:mime-type = image/jpeg Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/images/built-with-forrest-button.png URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/images/built-with-forrest-button.png?rev=1044173&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/images/built-with-forrest-button.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/images/instruction_arrow.png URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/images/instruction_arrow.png?rev=1044173&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/images/instruction_arrow.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/images/project-logo.gif URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/images/project-logo.gif?rev=1044173&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/images/project-logo.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/images/project.png URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/images/project.png?rev=1044173&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/images/project.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/images/rss.png URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/images/rss.png?rev=1044173&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/images/rss.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/index.html URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/index.html?rev=1044173&view=auto ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/index.html (added) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/index.html Thu Dec 9 23:51:13 2010 @@ -0,0 +1,325 @@ + + + + + + + +Welcome to the org.apache.forrest.plugin.output.Markdown Plugin + + + + + + + + + +
+ + + +
+ + + + +
+Plugin: Markdown output +
+ + + + +
+
+
+
+ +
+ + +
+ +
+ +   +
+ + + + + +
+
Font size: +   +   +   +
+

Welcome to the org.apache.forrest.plugin.output.Markdown Plugin

+
+
+ +
+
+ + +

Overview

+
+

+ Produce output in + Markdown + "mdtext" format. This enables use of Forrest as + a tool for gathering input from various sources, and generate a + consistent set of output documents. + See example. +

+
+ + +

Howto

+
+

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

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

+ Now do 'forrest' to build your site as normal. +

+

+ Alongside each *.html file there will now be a matching + *.mdtext file. +

+

+ Of course you can also do 'forrest run' and request + individual *.mdtext files. +

+
+ + + +

Notes

+
+

+ This first version of the plugin might not convert all complex content. +

+

+ May need a combination of editing output, editing input and running + again, or tweaking transformations to do special things. +

+

+ See the two transformations mentioned below. We can adjust to treat + certain input differently. +

+

+ The initial anakia-to-markdown.xsl referred to below was from + https://svn.apache.org/repos/infra/infrastructure/trunk/projects/cms/prototype/conversion-utilities/anakia2markdown.xslt (r776923 2010-09-24). Monitor/integrate changes. +

+

+ See some other notes here: + https://svn.apache.org/repos/infra/infrastructure/trunk/projects/cms/prototype/Markdown-limitations.mdtext + +

+

+ See some notes in this mail thread on the "site-dev" mail list: + "[CMS] handling tables and other complex html" 2010-10-16. +

+
+ + +

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 + *.mdtext extension. +

+

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

+

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

+

+ The output.xmap sitemap then handles each mdtext URI to + transform the internal XML content structure. This plugin provides a + stylesheet document-to-anakia.xsl to transform the + internal XML to something close to Anakia-like XML + The following transformation anakia-to-markdown.xsl (see + above) transforms that XML to Markdown text. +

+

+ To enhance the output, either amend the document-to-anakia.xsl + stylesheet or the anakia-to-markdown.xsl stylesheet + (and please send changes), or insert another output transformation. +

+
+ + +

Links

+
+ +
+ +
+ +
 
+
+ + + Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/index.html ------------------------------------------------------------------------------ svn:eol-style = native Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/linkmap.html URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/linkmap.html?rev=1044173&view=auto ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/linkmap.html (added) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/linkmap.html Thu Dec 9 23:51:13 2010 @@ -0,0 +1,196 @@ + + + + + + + +Site Linkmap Table of Contents + + + + + + + + + +
+ + + +
+ + + + +
+Plugin: Markdown output +
+ + + + +
+
+
+
+ +
+ + +
+ +
+ +   +
+ + + + + +
+
Font size: +   +   +   +
+

Site Linkmap Table of Contents

+
+

+ This is a map of the complete site and its structure. +

+
    +
  • +org.apache.forrest.plugin.output.Markdown  ___________________  site +
  • +
      + +
        +
      • +About  ___________________  about +
      • +
          + +
            +
          • +Index  ___________________  index : Welcome to org.apache.forrest.plugin.output.Markdown
          • +
          + +
            +
          • +Changes  ___________________  changes : History of Changes
          • +
          + +
            +
          • +Todo  ___________________  todo : Todo List
          • +
          + +
            +
          • +Sample-1  ___________________  sample-1 : Sample simple generated html
          • +
          + + +
        +
      + + +
    +
+
+ +
 
+
+ + + Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/linkmap.html ------------------------------------------------------------------------------ svn:eol-style = native Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/sample-1.html URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/sample-1.html?rev=1044173&view=auto ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/sample-1.html (added) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/sample-1.html Thu Dec 9 23:51:13 2010 @@ -0,0 +1,210 @@ + + + + + + + +Example document + + + + + + + + + +
+ + + +
+ + + + +
+Plugin: Markdown output +
+ + + + +
+
+
+
+ +
+ + +
+ +
+ +   +
+ + + + + +
+
Font size: +   +   +   +
+

Example document

+ + +

+ An introduction paragraph outside of a section. +

+ + +

Sample section level One

+
+

+ Paragraph One. +

+

+ Paragraph Two, + and a link which will transform to mdtext. +

+
+ + +

Sample section level One

+
+

+ Paragraph One. +

+ +

Sample section level Two

+

+ Paragraph One. +

+ +

Sample section level Three

+

+ Paragraph One. +

+
+ +
+ +
 
+
+ + + Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/sample-1.html ------------------------------------------------------------------------------ svn:eol-style = native Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/sample-1.mdtext URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/sample-1.mdtext?rev=1044173&view=auto ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/sample-1.mdtext (added) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/sample-1.mdtext Thu Dec 9 23:51:13 2010 @@ -0,0 +1,22 @@ +Title: Example document + + +An introduction paragraph outside of a section. + +# Sample section level One # {#s1} + +Paragraph One. + +Paragraph Two, and a link which will transform to [mdtext](sample-1.mdtext) . + +# Sample section level One # {#s2} + +Paragraph One. + +## Sample section level Two ## {#s3} + +Paragraph One. + +### Sample section level Three ### {#s4} + +Paragraph One. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/sample-1.mdtext ------------------------------------------------------------------------------ svn:eol-style = native Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/CommonMessages_de.xml URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/CommonMessages_de.xml?rev=1044173&view=auto ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/CommonMessages_de.xml (added) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/CommonMessages_de.xml Thu Dec 9 23:51:13 2010 @@ -0,0 +1,23 @@ + + + + Schriftgrösse: + Zuletzt veröffentlicht: + Suche: + Suche auf der Seite mit + Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/CommonMessages_de.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/CommonMessages_en_US.xml URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/CommonMessages_en_US.xml?rev=1044173&view=auto ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/CommonMessages_en_US.xml (added) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/CommonMessages_en_US.xml Thu Dec 9 23:51:13 2010 @@ -0,0 +1,23 @@ + + + + Font size: + Last Published: + Search + Search site with + Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/CommonMessages_en_US.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/CommonMessages_es.xml URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/CommonMessages_es.xml?rev=1044173&view=auto ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/CommonMessages_es.xml (added) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/CommonMessages_es.xml Thu Dec 9 23:51:13 2010 @@ -0,0 +1,23 @@ + + + + Tamaño del texto: + Fecha de publicación: + Buscar + Buscar en + Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/CommonMessages_es.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/CommonMessages_fr.xml URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/CommonMessages_fr.xml?rev=1044173&view=auto ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/CommonMessages_fr.xml (added) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/CommonMessages_fr.xml Thu Dec 9 23:51:13 2010 @@ -0,0 +1,23 @@ + + + + Taille : + Dernière publication : + Rechercher + Rechercher sur le site avec + Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/CommonMessages_fr.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/basic.css URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/basic.css?rev=1044173&view=auto ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/basic.css (added) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/basic.css Thu Dec 9 23:51:13 2010 @@ -0,0 +1,167 @@ +/* +* 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. +*/ +/** + * General + */ + +img { border: 0; } + +#content table { + border: 0; + width: 100%; +} +/*Hack to get IE to render the table at 100%*/ +* html #content table { margin-left: -3px; } + +#content th, +#content td { + margin: 0; + padding: 0; + vertical-align: top; +} + +.clearboth { + clear: both; +} + +.note, .warning, .fixme { + clear:right; + border: solid black 1px; + margin: 1em 3em; +} + +.note .label { + background: #369; + color: white; + font-weight: bold; + padding: 5px 10px; +} +.note .content { + background: #F0F0FF; + color: black; + line-height: 120%; + font-size: 90%; + padding: 5px 10px; +} +.warning .label { + background: #C00; + color: white; + font-weight: bold; + padding: 5px 10px; +} +.warning .content { + background: #FFF0F0; + color: black; + line-height: 120%; + font-size: 90%; + padding: 5px 10px; +} +.fixme .label { + background: #C6C600; + color: black; + font-weight: bold; + padding: 5px 10px; +} +.fixme .content { + padding: 5px 10px; +} + +/** + * Typography + */ + +body { + font-family: verdana, "Trebuchet MS", arial, helvetica, sans-serif; + font-size: 100%; +} + +#content { + font-family: Georgia, Palatino, Times, serif; + font-size: 95%; +} +#tabs { + font-size: 70%; +} +#menu { + font-size: 80%; +} +#footer { + font-size: 70%; +} + +h1, h2, h3, h4, h5, h6 { + font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif; + font-weight: bold; + margin-top: 1em; + margin-bottom: .5em; +} + +h1 { + margin-top: 0; + margin-bottom: 1em; + font-size: 1.4em; +} +#content h1 { + font-size: 160%; + margin-bottom: .5em; +} +#menu h1 { + margin: 0; + padding: 10px; + background: #336699; + color: white; +} +h2 { font-size: 120%; } +h3 { font-size: 100%; } +h4 { font-size: 90%; } +h5 { font-size: 80%; } +h6 { font-size: 75%; } + +p { + line-height: 120%; + text-align: left; + margin-top: .5em; + margin-bottom: 1em; +} + +#content li, +#content th, +#content td, +#content li ul, +#content li ol{ + margin-top: .5em; + margin-bottom: .5em; +} + + +#content li li, +#minitoc-area li{ + margin-top: 0em; + margin-bottom: 0em; +} + +#content .attribution { + text-align: right; + font-style: italic; + font-size: 85%; + margin-top: 1em; +} + +.codefrag { + font-family: "Courier New", Courier, monospace; + font-size: 110%; +} Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/basic.css ------------------------------------------------------------------------------ svn:eol-style = native Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/breadcrumbs-optimized.js URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/breadcrumbs-optimized.js?rev=1044173&view=auto ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/breadcrumbs-optimized.js (added) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/breadcrumbs-optimized.js Thu Dec 9 23:51:13 2010 @@ -0,0 +1,90 @@ +/* +* 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. +*/ +var PREPREND_CRUMBS=new Array(); +var link1="@skinconfig.trail.link1.name@"; +var link2="@skinconfig.trail.link2.name@"; +var link3="@skinconfig.trail.link3.name@"; +if(!(link1=="")&&!link1.indexOf( "@" ) == 0){ + PREPREND_CRUMBS.push( new Array( link1, @skinconfig.trail.link1.href@ ) ); } +if(!(link2=="")&&!link2.indexOf( "@" ) == 0){ + PREPREND_CRUMBS.push( new Array( link2, @skinconfig.trail.link2.href@ ) ); } +if(!(link3=="")&&!link3.indexOf( "@" ) == 0){ + PREPREND_CRUMBS.push( new Array( link3, @skinconfig.trail.link3.href@ ) ); } +var DISPLAY_SEPARATOR=" > "; +var DISPLAY_PREPREND=" > "; +var DISPLAY_POSTPREND=":"; +var CSS_CLASS_CRUMB="breadcrumb"; +var CSS_CLASS_TRAIL="breadcrumbTrail"; +var CSS_CLASS_SEPARATOR="crumbSeparator"; +var FILE_EXTENSIONS=new Array( ".html", ".htm", ".jsp", ".php", ".php3", ".php4" ); +var PATH_SEPARATOR="/"; + +function sc(s) { + var l=s.toLowerCase(); + return l.substr(0,1).toUpperCase()+l.substr(1); +} +function getdirs() { + var t=document.location.pathname.split(PATH_SEPARATOR); + var lc=t[t.length-1]; + for(var i=0;i < FILE_EXTENSIONS.length;i++) + { + if(lc.indexOf(FILE_EXTENSIONS[i])) + return t.slice(1,t.length-1); } + return t.slice(1,t.length); +} +function getcrumbs( d ) +{ + var pre = "/"; + var post = "/"; + var c = new Array(); + if( d != null ) + { + for(var i=0;i < d.length;i++) { + pre+=d[i]+postfix; + c.push(new Array(d[i],pre)); } + } + if(PREPREND_CRUMBS.length > 0 ) + return PREPREND_CRUMBS.concat( c ); + return c; +} +function gettrail( c ) +{ + var h=DISPLAY_PREPREND; + for(var i=0;i < c.length;i++) + { + h+=''+sc(c[i][0])+''; + if(i!=(c.length-1)) + h+=DISPLAY_SEPARATOR; } + return h+DISPLAY_POSTPREND; +} + +function gettrailXHTML( c ) +{ + var h=''+DISPLAY_PREPREND; + for(var i=0;i < c.length;i++) + { + h+=''+sc(c[i][0])+''; + if(i!=(c.length-1)) + h+=''+DISPLAY_SEPARATOR+''; } + return h+DISPLAY_POSTPREND+''; +} + +if(document.location.href.toLowerCase().indexOf("http://")==-1) + document.write(gettrail(getcrumbs())); +else + document.write(gettrail(getcrumbs(getdirs()))); + Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/breadcrumbs-optimized.js ------------------------------------------------------------------------------ svn:eol-style = native Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/breadcrumbs.js URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/breadcrumbs.js?rev=1044173&view=auto ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/breadcrumbs.js (added) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/breadcrumbs.js Thu Dec 9 23:51:13 2010 @@ -0,0 +1,237 @@ +/* +* 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. +*/ +/** + * This script, when included in a html file, builds a neat breadcrumb trail + * based on its url. That is, if it doesn't contains bugs (I'm relatively + * sure it does). + * + * Typical usage: + * + */ + +/** + * IE 5 on Mac doesn't know Array.push. + * + * Implement it - courtesy to fritz. + */ +var abc = new Array(); +if (!abc.push) { + Array.prototype.push = function(what){this[this.length]=what} +} + +/* ======================================================================== + CONSTANTS + ======================================================================== */ + +/** + * Two-dimensional array containing extra crumbs to place at the front of + * the trail. Specify first the name of the crumb, then the URI that belongs + * to it. You'll need to modify this for every domain or subdomain where + * you use this script (you can leave it as an empty array if you wish) + */ +var PREPREND_CRUMBS = new Array(); + +var link1 = "@skinconfig.trail.link1.name@"; +var link2 = "@skinconfig.trail.link2.name@"; +var link3 = "@skinconfig.trail.link3.name@"; + +var href1 = "@skinconfig.trail.link1.href@"; +var href2 = "@skinconfig.trail.link2.href@"; +var href3 = "@skinconfig.trail.link3.href@"; + + if(!(link1=="")&&!link1.indexOf( "@" ) == 0){ + PREPREND_CRUMBS.push( new Array( link1, href1 ) ); + } + if(!(link2=="")&&!link2.indexOf( "@" ) == 0){ + PREPREND_CRUMBS.push( new Array( link2, href2 ) ); + } + if(!(link3=="")&&!link3.indexOf( "@" ) == 0){ + PREPREND_CRUMBS.push( new Array( link3, href3 ) ); + } + +/** + * String to include between crumbs: + */ +var DISPLAY_SEPARATOR = " > "; +/** + * String to include at the beginning of the trail + */ +var DISPLAY_PREPREND = " > "; +/** + * String to include at the end of the trail + */ +var DISPLAY_POSTPREND = ""; + +/** + * CSS Class to use for a single crumb: + */ +var CSS_CLASS_CRUMB = "breadcrumb"; + +/** + * CSS Class to use for the complete trail: + */ +var CSS_CLASS_TRAIL = "breadcrumbTrail"; + +/** + * CSS Class to use for crumb separator: + */ +var CSS_CLASS_SEPARATOR = "crumbSeparator"; + +/** + * Array of strings containing common file extensions. We use this to + * determine what part of the url to ignore (if it contains one of the + * string specified here, we ignore it). + */ +var FILE_EXTENSIONS = new Array( ".html", ".htm", ".jsp", ".php", ".php3", ".php4" ); + +/** + * String that separates parts of the breadcrumb trail from each other. + * When this is no longer a slash, I'm sure I'll be old and grey. + */ +var PATH_SEPARATOR = "/"; + +/* ======================================================================== + UTILITY FUNCTIONS + ======================================================================== */ +/** + * Capitalize first letter of the provided string and return the modified + * string. + */ +function sentenceCase( string ) +{ return string; + //var lower = string.toLowerCase(); + //return lower.substr(0,1).toUpperCase() + lower.substr(1); +} + +/** + * Returns an array containing the names of all the directories in the + * current document URL + */ +function getDirectoriesInURL() +{ + var trail = document.location.pathname.split( PATH_SEPARATOR ); + + // check whether last section is a file or a directory + var lastcrumb = trail[trail.length-1]; + for( var i = 0; i < FILE_EXTENSIONS.length; i++ ) + { + if( lastcrumb.indexOf( FILE_EXTENSIONS[i] ) ) + { + // it is, remove it and send results + return trail.slice( 1, trail.length-1 ); + } + } + + // it's not; send the trail unmodified + return trail.slice( 1, trail.length ); +} + +/* ======================================================================== + BREADCRUMB FUNCTIONALITY + ======================================================================== */ +/** + * Return a two-dimensional array describing the breadcrumbs based on the + * array of directories passed in. + */ +function getBreadcrumbs( dirs ) +{ + var prefix = "/"; + var postfix = "/"; + + // the array we will return + var crumbs = new Array(); + + if( dirs != null ) + { + for( var i = 0; i < dirs.length; i++ ) + { + prefix += dirs[i] + postfix; + crumbs.push( new Array( dirs[i], prefix ) ); + } + } + + // preprend the PREPREND_CRUMBS + if(PREPREND_CRUMBS.length > 0 ) + { + return PREPREND_CRUMBS.concat( crumbs ); + } + + return crumbs; +} + +/** + * Return a string containing a simple text breadcrumb trail based on the + * two-dimensional array passed in. + */ +function getCrumbTrail( crumbs ) +{ + var xhtml = DISPLAY_PREPREND; + + for( var i = 0; i < crumbs.length; i++ ) + { + xhtml += ''; + xhtml += unescape( crumbs[i][0] ) + ''; + if( i != (crumbs.length-1) ) + { + xhtml += DISPLAY_SEPARATOR; + } + } + + xhtml += DISPLAY_POSTPREND; + + return xhtml; +} + +/** + * Return a string containing an XHTML breadcrumb trail based on the + * two-dimensional array passed in. + */ +function getCrumbTrailXHTML( crumbs ) +{ + var xhtml = ''; + xhtml += DISPLAY_PREPREND; + + for( var i = 0; i < crumbs.length; i++ ) + { + xhtml += ''; + xhtml += unescape( crumbs[i][0] ) + ''; + if( i != (crumbs.length-1) ) + { + xhtml += '' + DISPLAY_SEPARATOR + ''; + } + } + + xhtml += DISPLAY_POSTPREND; + xhtml += ''; + + return xhtml; +} + +/* ======================================================================== + PRINT BREADCRUMB TRAIL + ======================================================================== */ + +// check if we're local; if so, only print the PREPREND_CRUMBS +if( document.location.href.toLowerCase().indexOf( "http://" ) == -1 ) +{ + document.write( getCrumbTrail( getBreadcrumbs() ) ); +} +else +{ + document.write( getCrumbTrail( getBreadcrumbs( getDirectoriesInURL() ) ) ); +} + Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/breadcrumbs.js ------------------------------------------------------------------------------ svn:eol-style = native Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/fontsize.js URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/fontsize.js?rev=1044173&view=auto ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/fontsize.js (added) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/fontsize.js Thu Dec 9 23:51:13 2010 @@ -0,0 +1,166 @@ +/* +* 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. +*/ +function init() +{ //embedded in the doc + //ndeSetTextSize(); +} + +function checkBrowser(){ + if (!document.getElementsByTagName){ + return true; + } + else{ + return false; + } +} + + +function ndeSetTextSize(chgsize,rs) +{ + var startSize; + var newSize; + + if (!checkBrowser) + { + return; + } + + startSize = parseInt(ndeGetDocTextSize()); + + if (!startSize) + { + startSize = 16; + } + + switch (chgsize) + { + case 'incr': + newSize = startSize + 2; + break; + + case 'decr': + newSize = startSize - 2; + break; + + case 'reset': + if (rs) {newSize = rs;} else {newSize = 16;} + break; + + default: + try{ + newSize = parseInt(ndeReadCookie("nde-textsize")); + } + catch(e){ + alert(e); + } + + if (!newSize || newSize == 'NaN') + { + newSize = startSize; + } + break; + + } + + if (newSize < 10) + { + newSize = 10; + } + + newSize += 'px'; + + document.getElementsByTagName('html')[0].style.fontSize = newSize; + document.getElementsByTagName('body')[0].style.fontSize = newSize; + + ndeCreateCookie("nde-textsize", newSize, 365); +} + +function ndeGetDocTextSize() +{ + if (!checkBrowser) + { + return 0; + } + + var size = 0; + var body = document.getElementsByTagName('body')[0]; + + if (body.style && body.style.fontSize) + { + size = body.style.fontSize; + } + else if (typeof(getComputedStyle) != 'undefined') + { + size = getComputedStyle(body,'').getPropertyValue('font-size'); + } + else if (body.currentStyle) + { + size = body.currentStyle.fontSize; + } + + //fix IE bug + if( isNaN(size)){ + if(size.substring(size.length-1)=="%"){ + return + } + + } + + return size; + +} + + + +function ndeCreateCookie(name,value,days) +{ + var cookie = name + "=" + value + ";"; + + if (days) + { + var date = new Date(); + date.setTime(date.getTime()+(days*24*60*60*1000)); + cookie += " expires=" + date.toGMTString() + ";"; + } + cookie += " path=/"; + + document.cookie = cookie; + +} + +function ndeReadCookie(name) +{ + var nameEQ = name + "="; + var ca = document.cookie.split(';'); + + + for(var i = 0; i < ca.length; i++) + { + var c = ca[i]; + while (c.charAt(0) == ' ') + { + c = c.substring(1, c.length); + } + + ctest = c.substring(0,name.length); + + if(ctest == name){ + return c.substring(nameEQ.length,c.length); + } + } + return null; +} Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/fontsize.js ------------------------------------------------------------------------------ svn:eol-style = native Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/getBlank.js URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/getBlank.js?rev=1044173&view=auto ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/getBlank.js (added) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/getBlank.js Thu Dec 9 23:51:13 2010 @@ -0,0 +1,40 @@ +/* +* 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. +*/ +/** + * getBlank script - when included in a html file and called from a form text field, will set the value of this field to "" + * if the text value is still the standard value. + * getPrompt script - when included in a html file and called from a form text field, will set the value of this field to the prompt + * if the text value is empty. + * + * Typical usage: + * + * + */ + Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/getBlank.js ------------------------------------------------------------------------------ svn:eol-style = native Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/getMenu.js URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/getMenu.js?rev=1044173&view=auto ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/getMenu.js (added) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/getMenu.js Thu Dec 9 23:51:13 2010 @@ -0,0 +1,45 @@ +/* +* 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. +*/ +/** + * This script, when included in a html file, can be used to make collapsible menus + * + * Typical usage: + * + */ + +if (document.getElementById){ + document.write('') +} + + +function SwitchMenu(obj, thePath) +{ +var open = 'url("'+thePath + 'images/chapter_open.gif")'; +var close = 'url("'+thePath + 'images/chapter.gif")'; + if(document.getElementById) { + var el = document.getElementById(obj); + var title = document.getElementById(obj+'Title'); + + if(el.style.display != "block"){ + title.style.backgroundImage = open; + el.style.display = "block"; + }else{ + title.style.backgroundImage = close; + el.style.display = "none"; + } + }// end - if(document.getElementById) +}//end - function SwitchMenu(obj) Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/getMenu.js ------------------------------------------------------------------------------ svn:eol-style = native Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/README.txt URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/README.txt?rev=1044173&view=auto ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/README.txt (added) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/README.txt Thu Dec 9 23:51:13 2010 @@ -0,0 +1 @@ +The images in this directory are used if the current skin lacks them. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/README.txt ------------------------------------------------------------------------------ svn:eol-style = native Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/add.jpg URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/add.jpg?rev=1044173&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/add.jpg ------------------------------------------------------------------------------ svn:mime-type = image/jpeg Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/built-with-forrest-button.png URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/built-with-forrest-button.png?rev=1044173&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/built-with-forrest-button.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/chapter.gif URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/chapter.gif?rev=1044173&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/chapter.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/chapter_open.gif URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/chapter_open.gif?rev=1044173&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/chapter_open.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/current.gif URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/current.gif?rev=1044173&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/current.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/error.png URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/error.png?rev=1044173&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/error.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/external-link.gif URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/external-link.gif?rev=1044173&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/external-link.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/fix.jpg URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Markdown/skin/images/fix.jpg?rev=1044173&view=auto ============================================================================== Binary file - no diff available.