forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gav...." <brightoncomput...@brightontown.com.au>
Subject RE: How to integrate DokuWiki-Pages in my Forrest
Date Sat, 03 Feb 2007 09:58:09 GMT


> -----Original Message-----
> From: Ferdinand Soethe [mailto:ferdinand@apache.org]
> Sent: Saturday, 3 February 2007 6:49 PM
> To: user@forrest.apache.org
> Subject: How to integrate DokuWiki-Pages in my Forrest
> 
> I'd like to use DokuWiki as my CMS to generate content and Forrest to
> render it. Since DokuWiki has a different syntax from MoinMoin and the
> other wiki supported by our plugin I see two ways of rendering pages in
> forrest:
> 
> 1. Adapt the plugin to support DokuWiki-Syntax
>    I'll look into that tonite but it seems beyond me to accomplish that
> 
> 2. Use XHTML (that DokuWiki can generate) and have Forrest render it.
>    To do so I added this entry to my site.xml
> 
>    <wiki1 label="Leitseite des Wiki" href="/cmspage/start.html"/>
> 
>    and this section to my custom sitemap
> 
>    <map:match pattern="cmspage/**.xml">
>      <map:generate type="html"
> src="http://www.soethe.net/temp/dokuwiki/doku.php?id={1}&amp;do=export_htm
> l"
> />
>                         <map:transform
> src="{project:resources.stylesheets}/html2document.xsl" />
>                         <map:serialize type="xml" />
>             </map:match>
> 
> Which will in fact render the desired page, but
> unskinned as bare html where I expected it to get skinned in the usual
> way.
> 
> Any ideas what I did wrong?

Not really, just popped in to see if html2document.xsl is the correct name
For the version of forrest you are using with this, or if you should be
Using html-to-document.xsl.

Gav...

> 
> Thanks,
> Ferdinand
> 
> 
> 
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.411 / Virus Database: 268.17.20/664 - Release Date: 2/2/2007


Mime
View raw message