[dokuwiki] Re: How to generate static HTML from dokuwiki

  • From: Harry Fuecks <hfuecks@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 27 Oct 2005 09:13:15 +0200

Probably easiest to do via the command line.

As a starting point, have a look at
http://dev.splitbrain.org/view/darcs/dokuwiki/inc/parserutils.php -
the function p_wiki_xhtml will parse raw wiki text and give you back
its XHTML representation. You'd need to wrap it in a body tag + make
sure the CSS is available on the CD but it may just be a job of
recursing the directories where your wiki pages are stored and calling
that function for each file.

On 10/27/05, Marc Haber <mh+dokuwiki@xxxxxxxxxxxx> wrote:
> Hi,
>
> I have written some documentation inside a dokuwiki, and would like to
> ship that contents to a client on a CD. My ultimate goal is to have an
> index.html on that CD which links to other html files on the CD, so
> that the CD can be navigated just as the wiki can, of course without
> edit possibilities.
>
> One possible approach is to pull the pages rendered for printing from
> the wiki so that the buttons are not shown.
>
> Is there any suggested way to do so?
>
> Greetings
> Marc
>
> --
> -----------------------------------------------------------------------------
> Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
> Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
> Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835
> --
> DokuWiki mailing list - more info at
> http://wiki.splitbrain.org/wiki:mailinglist
>
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: