Instiki
Exporting Websites In Instiki

Exporting Websites in instiki is a little tricky, but not all that hard.

1.) The zip files you are looking for are on the computer that is hosting the server, in the (usually) C:inatikistorage2500 directory. There should be some zip files. They are in the format WIKINAME-TYPE-DATE, so, if your wiki name is “wiki” you are exporting HTML, and it is the 28 of december 05, the name will be wiki-html-2005-12-28-21-37-14.zip. If you extract the files from there, then go to step 2. If the zip file isn’t there, go to the normal export button in instiki. You can’t actually download the file, but it DOES generate the files into the zip file I was talking about.

2.) Once the files are extracted, move them to a new file. The problem now is that the hyperlinking doesn’t work. If you are going to put these into an Apache server, it will pickup and open the files correctly, but since the hyperlinks to other files in the instiki dont have an extention (.html) and the files exported do, they can not reference one-another. Now, you can do A.) rename all files so there is no .html at the end, or B.) re-write all files data (exported data) to reference files with a .html extention. In windows, you can make a batch file to do this. Since textile isn’t nice to the star in batch, I will just link you to it. Put that file in the directory of the files (only if the exported instiki files are the ONLY files in the directory), and run it. It backs up all files wth their name changed. Now, if they are in an apache server, you can access the wiki just fine in IE, but in firefox it shows you the HTML of the page instead. The same goes when viewing offline, without an apache server.

3.) If all that won’t work, you’ll have to try fixing all hyperlinks to reletive wiki files to include the .html extention.

NOTE: I’m currently working on a fix for this.


NOTE: The batch file WAS down, but is back now.