HankSmackHood
HankSmackHood

Reputation: 4873

Export from Mindtouch wiki software

I'd like to export all pages from a Mindtouch wiki install to html. I found this script, but I'm not too sure how to use it. Anyone who has experience with this?

Upvotes: 2

Views: 3460

Answers (1)

Rob Tanzola
Rob Tanzola

Reputation: 1795

  • save the script to a file, export_pages.php, and edit it as follows: ** replace the $url variable with the corresponding path for your site ** replace the username and password that are needed to connect to the site to export your content - this would typically be an administrative user ** replace the API key with the API key for your site (can be found in your web\config\mindtouch.deki.startup.xml file)
  • create a directory called "pages" where the files will be written (or modify the PHP code to do this for you in case it is not there already)
  • run the script: php.exe export_pages.php

Also, there is an additional mindtouch.import.exe tool available if you are running 9.08 and .NET 3.5/Mono 2.4 or later that might suit your needs.

Upvotes: 3

Related Questions