Forum Import Tool
Installing the software
Once the script has been installed on it's first run it will check to see if necessary packages are already installed on your system and install them where necessary. It will also attempt to create a sandbox for the program on the desktop.
Preparing text file for import
Prior to running the import software have the tutorial you wish to transform open in your browser and a text editor open with an empty page.
Open the forum thread as source, in Firefox Ctrl+U will do this.
Search for the first instance of
<! -- message -- >
and note the line number at the bottom of the screen, search for the first instance of
<! -- / message -- >
The text between this markers is the text of the first post.
Select and copy all of the text between the message markers and paste into a new text file in your text editor. Save this with the name you wish to use for the new wiki page.
It should appear similar to this
Using the tool
Open a terminal, navigate to where you have the script and run ./forum2wiki
The program will start.
Enter the path and file to the text fiel you created from the thread source.
After you fill in the file details and enter you should now see an extra two files, in total you should have foo.txt. foo.txt.new and foo.txt.old.
Open foo.txt.new, you should now see the thread text in moinmoin markdown ready for copying to the new wiki page.
You can either create a new page by directly entering it's name, if it does not exist you will be prompted to create the new page.
Alternatively you can use the Page Creation macro to do so.
Once you have the new page, paste in the text from your new foo.txt.new file, check for any further editing and when happy save changes. You can if you wish preview the page before saving.