Tags:
import1Add my vote for this tag create new tag
, view all tags

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:
    File: Description:
    dolphin2twiki converter script
  • 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

Add-on Author: TWiki:Main.PeterThoeny
Copyright: © 2001, TWiki:Main.PeterThoeny
License: GPL (GNU General Public License)
Add-on Version: 09 Apr 2001
Change History:  
09 Apr 2001: Initial version
TWiki Dependency: TWiki 15 Mar 2001 and later
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.005
Add-on Home: http://TWiki.org/cgi-bin/view/Plugins/DolphinToTWikiAddOn
Feedback: http://TWiki.org/cgi-bin/view/Plugins/DolphinToTWikiAddOnDev
Appraisal: http://TWiki.org/cgi-bin/view/Plugins/DolphinToTWikiAddOnAppraisal

Related Topics: TextFormattingRules

-- PeterThoeny - 09 Apr 2001

Topic attachments
I Attachment History Action Size Date Who Comment
Compressed Zip archivezip dolphin2twiki.zip   manage 1.8 K 2001-04-09 - 07:52 PeterThoeny Converter script
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2006-09-25 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.