[dokuwiki] Re: export entire site as html (offline-doku script)

you don't run it inside of docuwiki, you run it like a regular program
at the command line.

You have to have the full command-line version of php installed not
just mod_php (some linux distros have separate packages for mod_php
and php).

For example, if you have dokuwiki installed in
''/var/www/htdocs/mywiki'', you can make an offline copy in your home
directory by running:

php make.php --verbose /var/www/htdocs/mywiki ~/wikiexport

and you will have a copy of all of the html files in ~/wikiexport that
you can put on a webserver somewhere.


On 12/15/05, ragsman@xxxxxxxxxxx <ragsman@xxxxxxxxxxx> wrote:
> I have a fairly large wiki that I'd like to be able to export to an html
> format so people can use it from a shared drive (no server). I found the
> script offline-doku, but i can't seem to figure out how to use it.
>
> If my wiki resides in the root of my webserver, and I place this script in
> subfolder '/offlinedoku', then I want to export my site (from root) to
> '/offlinedoku/data', then what would the exact path/command be after
>
> http://localhost/offlinedoku/make.php
>
> The help says this:
> php make.php --verbose /path/to/your/dokuwiki/installation/
> /path/where/to/export/
>
> Thanks,
>
> Ragsman
>
> --
> DokuWiki mailing list - more info at
> http://wiki.splitbrain.org/wiki:mailinglist
>


--
Mark McCoy -- Professional Unix geek

"On two occasions I have been asked, 'Pray, Mr. Babbage, if you put
into the machine wrong figures, will the right answers come out?' I am
not able rightly to apprehend the kind of confusion of ideas that
could provoke such a question. "  -- Charles Babbage
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: