Author: lresende Date: Mon Nov 23 03:15:12 2009 New Revision: 883234 URL: http://svn.apache.org/viewvc?rev=883234&view=rev Log: Confluence export template for the COMxDEV website Added: comdev/admin/ comdev/admin/confluence/ comdev/admin/confluence/COMxDEV_confluence_html_export.xml (with props) Added: comdev/admin/confluence/COMxDEV_confluence_html_export.xml URL: http://svn.apache.org/viewvc/comdev/admin/confluence/COMxDEV_confluence_html_export.xml?rev=883234&view=auto ============================================================================== --- comdev/admin/confluence/COMxDEV_confluence_html_export.xml (added) +++ comdev/admin/confluence/COMxDEV_confluence_html_export.xml Mon Nov 23 03:15:12 2009 @@ -0,0 +1,137 @@ + +## +#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 (generateIncludeStyles) + + + +#end +## +#macro (topNav) +
+
+
+
+ +
+
+
+#end +## +#macro (pageControls) +
+ + +
+#end +## +#macro (breadCrumbs) + + + + + +
+  $autoexport.breadcrumbs($page) + + Apache Community Development | Mailling List +
+#end +## +#macro (pageContent) +
+ #if ($pageContentHeaderEnabled) + + #end + +
+
+ $body +
+
+
+#end +## +#macro (footer) + +#end +## + + + #generateKeywords() + + #generateIncludeStyles() + + + $page.title : Apache Community Development + + + + #topNav() + + #breadCrumbs() + + + + + +
+ #pageContent() +
+ + #footer() + + + \ No newline at end of file Propchange: comdev/admin/confluence/COMxDEV_confluence_html_export.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: comdev/admin/confluence/COMxDEV_confluence_html_export.xml ------------------------------------------------------------------------------ svn:keywords = Rev Date Propchange: comdev/admin/confluence/COMxDEV_confluence_html_export.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml