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

Marc Haber writes:

Wouldn't it be nice to have that taken care of by dokuwiki? For
example, adding "&style=print" to invoke the print CSS, and having
that URL suffix automatically added to the intrawiki URLs being
generated? I don't know enough PHP to be able to judge whether this
would be a big change to dokuwiki's sources, but maybe someone on this
list can comment about that.

The stylesheet is not what you are thinking of. You could simply replace the usual stylesheet with the print.css on your CD-ROM. But what you are looking for is probably ?do=export_html


BTW. if you want to try your wget solution. DokuWiki accepts the do parameter as X-DOKUWIKI-DO http header. (I think CURL is able to set userdefined headers). I once wrote a small script for exporting using this mechanism (don't have the code handy so don't ask).

Andi


-- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: