Suppose you want to take the pages from a DokuWiki wiki and view them using DokuwikiStick.
Firstly, the default admin password for dokuwiki on a stick appears to be 'admin'. It says that in the documentation but I didn't read it.
Secondly, if all you do is copy the files from the pages directory of the original wiki and paste them into the DWS one, you can access them only by typing their names as part of the DokuWiki URL. Eg 'http://localhost:8800/thepage'.
If you want to use them with the search function in the usual way, you have to rebuild the index. In theory you can do this with the searchindex plugin - in practice it doesn't work and you probably won't even be able to download it.
So it has to be done manually by running bin/indexer.php (not to be confused with lib/exe/indexer.php).
DWS does not come with a command line version of PHP - it'd be nice if you could get MicroApache to run this script - so if you haven't got PHP you'll have to download it from php.net . At least it doesn't require installation, just unzip the downloaded file into a directory of your choice and run the script with it:
the-php-directory\php the-dokuwiki-path\bin\indexer.php
It reassuringly reports the page files as it indexes them, and when it's finished your DWS will finally recognise the existence of the pages.
DWS is a handy app to have but they really do need to sort out this reindexing thing, it shouldn't take hours of poking round the net and a 14M PHP download to get it done.
Anti-nuisance lawsuit warning: The purpose of these notes is to remind me, Zoegond, of stuff or to help me work stuff out. They may contain mistakes.
Quick
- ($a, $b....) = unpack("A2A7...", $packed)
- push( array, list )