DolphinWiki to TWiki Text File Converter
This script converts DolphinWiki text files to the TWiki format. The script is for people who switch over from DolphinWiki to TWiki. It is intended to be used once to convert all existing text files into the TWiki format.
The following syntax rules are converted:
| From: |
To: |
%Topic% |
[[Topic]] |
%Web:Topic% |
[[Web.Topic]] |
[1] |
[<a href="#1">1</a>] |
[1: http://...] |
<a name="1">[1]</a>: http://... |
Note:
- DolphinWiki does not track users, so all users are set to "guest" (e.g. to the
$defaultUserName variable in TWiki.cfg).
- The timestamp of the files are preserved; TWiki
.txt and .txt,v files are created.
Usage
example% dolphin2twiki fromDir toDir
fromDir: |
Directory containing dolphin .txt files |
toDir: |
Directory where converted .txt and .txt,v files are stored |
Attention: toDir is assumed to be empty. Existing files will be overwritten!
Addon Installation Instructions
- Download the ZIP file from the Plugin web (see below)
- Unzip
dolphin2twiki.zip and copy script to twiki/tools or any location you like. ZIP Content:
- Make the
dolphin2twiki script executable
- The script looks for the TWiki libraries in
. and ../lib. Edit dolphin2twiki and to set a different path in case the TWiki libraries can't be found.
Plugin Info
- Set SHORTDESCRIPTION = Script to convert DolphinWiki text files to the TWiki format
Related Topics: TextFormattingRules
--
PeterThoeny - 09 Apr 2001