From 6567a1b3dac163c281c8f90665c484a9c49f45b0 Mon Sep 17 00:00:00 2001 From: lresende Date: Sat, 21 Nov 2009 07:40:34 +0000 Subject: Moving to site trunk git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882842 13f79535-47bb-0310-9956-ffa450edef68 --- .../templates/TUSCANY_confluence_html_export.xml | 158 +++++++++++++++++++++ 1 file changed, 158 insertions(+) create mode 100644 site/trunk/templates/TUSCANY_confluence_html_export.xml (limited to 'site/trunk/templates/TUSCANY_confluence_html_export.xml') diff --git a/site/trunk/templates/TUSCANY_confluence_html_export.xml b/site/trunk/templates/TUSCANY_confluence_html_export.xml new file mode 100644 index 0000000000..fee5c3bda1 --- /dev/null +++ b/site/trunk/templates/TUSCANY_confluence_html_export.xml @@ -0,0 +1,158 @@ + +## +#set ($pageContentHeaderEnabled = false) +## +#macro (spacer $width $height) + ## + ## Note: Replaced the spacer.gif with a table because IE wont honor the image height + ## + ## + ## + + + + +
+#end +## +#macro (renderPage $title) + #set($globalHelper = $action.getGlobalHelper()) + #set($renderer = $globalHelper.getWikiStyleRenderer()) + + ## + ## FIXME: Must be a more efficient way to find a page... + ## + + #foreach ($child in $page.space.pages) + #if ($child.title.equals($title)) + #set ($content = $renderer.convertWikiToXHtml($child.toPageContext(), $child.content).trim()) + + ## + ## HACK: Remove the leading

and trailing

+ ## + + #set ($content = $content.substring(3, $content.length())) + #set ($end = $content.length() - 4) + #set ($content = $content.substring(0, $end)) + + $content + #end + #end +#end +## +#macro (generateKeywords) + + +#end +## +#macro (topNav) + + + + + + + + + + + + +
+ + + + +   + +
+ + +
+
+#end +## +#macro (pageControls) +
+ + +
+#end +## +#macro (breadCrumbs) + + + + + + +
+  $autoexport.breadcrumbs($page) + + User List | Dev List | Issue Tracker   +
+#end +## +#macro (pageContent) +
+ #if ($pageContentHeaderEnabled) + + #end + +
+
+ $body +
+
+
+#end +## +#macro (footer) + ## Google Analytics script + + + + ## StatCounter script + website stats + + +#end +## + + + #generateKeywords() + + + + $page.title : Apache Tuscany + + + + + #topNav() + + #breadCrumbs() + + + + + +
+ #pageContent() +
+ + #footer() + + + -- cgit v1.2.3