Site Export plugin

siteexport plugin by i-net software / Gerry Weißbach
Export your site or a namespace to standalone HTML pages - including images and media. This plugin is capable of creating an Eclipse Plugin help including the ''context.xml''. You can also select the template to which you want to export your content

Last updated on 2010-09-03. Provides Admin, Action.
Compatible with DokuWiki 2009-02-14, 2009-12-25c.

Similar to dokukiwix, offline.

Tagged with eclipse, export, html, template.

Download and Installation

Download and install the plugin using the Plugin Manager using the URL given above. Refer to Plugins on how to install plugins manually. For detailed information and download instructions see the home page.

Support

If any inconveniences or problems occur, please contact the support at tools [at] inetsoftware [dot] de. Please describe the problem as detailed as possible. The Site Export plugin comes with a logging feature and we ask you to send us the log with settings on debug (see the plugins configuration section).

Please make sure that you do not have any Javascript errors or warnings in your log. You can check this using the Firebug plugin for Firefox. Screenshots might help.

How it works

Well I'm not the author of the plugin, but it's really worthwhile getting it work. Especially if you want to make a static snapshot (customer presentation while development of content goes on; secure as plugins are not distributed).

  1. install an DokuWiki instance on your server;
    1. run install.php an choose: ACL enable and open wiki
  2. install plugin siteexport
  3. Get stuff in. This means
    1. config-files like: smileys,…
      be careful in using everything concerning authentification. In an non-open wiki export doesn't work
    2. used templates (I use the default without compatibility problems)
    3. hacks of your DokuWiki ;-)
    4. plugins + config for plugins in local.php
      my first attempts failed, as not all plugins seems to be compatible with this plugin or vice versa.
    5. pages you want to export
  4. create a startpage which links the pages, when you don't have a menu structure which doesn't show the subfolder
  5. if you just want to export a branch you have to go to this folder and there enter the admin-area; you can type in the wanted namespace ether. For me it seems to be more safe to view the namespace first!
  6. login and go to config-menu: siteexport; check options; to run links to wget and dl-link should appear otherwise it doesn't work
  7. click generate and download the packed pages
    by starting doku.htm you run the static version

The main aim is to export your pages in static HTML. Pictures are bundled. As far as you don't forget any plugins everything works fine.

FAQ

Can anyone tell me how this plugin work? I don't see any button to proceed the export function.

To the the page of the namespace to export start, then go to Admin and click "Site export". On Linux you need to give write access to some files (see message on top when opening "Site export" page).

The search button doesn't work in the exported site.

That's right. The search relies on the PHP backend which is gone once you've exported the site.

“Command unknown: siteexport”. Whats wrong?

Check if you have cleared the JS and CSS cache - and do a hard reload.
Check if you have any JavaScript errors or error messages in the webserver logfiles.
Check what the AJAX response from your DokuWiki was when the export page loads (e.g. use Firebug on Firefox)
If you find anything you think is very wrong, contact our support

The export runs fine from the GUI, but I get no file for downloading

This answer may not apply to all reasons of the question, but it is possible, that the php execution time, set in the php.ini is too short for the export-script.
The script takes a long time, depending on how many links there are in your page - and especially for the first request which fetches CSS, JS, raw alternatives of the page and so on.
Please consider to set a higher execution time (default is about 30sec, try something like 2 minutes ).

Discussion

There have been some problems with the Javascript, that are fixed now.

Error Message: Command unknown: siteexport can anyone give me a hint please im completely new to this. Regards

— deshi

“Command unknown: siteexport”

Whats wrong?

— timo

“Command unknown: siteexport”

I am also getting this. I am running the wiki locally. Trying to learn. deshi wrote “to run links to wget and dl-link should appear”. Both fields are blank. Ideas as to what I am doing wrong? Thank you.

— bvsanborn
 
plugin/siteexport.txt · Last modified: 2010/09/07 16:07 by gamma
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate