We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
You are here: TWiki> Plugins Web>KwikiToTWikiAddOn (07 Oct 2006, PeterThoeny)
Tags:
import1Add my vote for this tag create new tag
, view all tags

Kwiki to TWiki Text File Converter

This script is a mod of PeterThoeny's DolphinToTWikiAddOn for people who want to import content from BrianIngerson? 's Kwiki into a TWiki.

Converts pretty much everything, although there are idiosyncracies.

Metadata is not converted, however suitable default metadata is created.

(Seems like there were some changes to what is in TWiki.cfg, for instance $revCiDateCmd)

Usage

I might as well copy liberally from Thoeny's documentation as well. wink

example% kwiki2twiki.pl fromDir toDir

fromDir: Directory containing Kwiki files
toDir: Directory where converted .txt and .txt,v files are stored

Attention: toDir is assumed to be empty. Existing files will be overwritten!

Add-On Installation Instructions

Note: You do not need to install anything on the browser to use this add-on. The following instructions are for the administrator who installs the add-on on the server where TWiki is running.

  • Download the ZIP file from the Add-on Home (see below)
  • Unzip kwiki2twiki.zip in your twiki installation directory. Content:
File: Description:
kwiki2twiki.pl converter script
  • Make the kwiki2twiki.pl script executable
  • The script looks for the TWiki libraries in . and ../lib. Place it in bin or lib or create another top-level directory (such as add-ons ) and put it there.

Add-On Info

  • Set SHORTDESCRIPTION = Convert Kwiki wiki content to TWiki file format

Add-on Author: TWiki:Main/FredMorris
Add-on Version: 19 Jan 2004 (v1.000)
Change History:  
19 Jan 2004: Initial version
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.006
License: GPL
Add-on Home: http://TWiki.org/cgi-bin/view/Plugins/KwikiToTWikiAddOn
Feedback: http://TWiki.org/cgi-bin/view/Plugins/KwikiToTWikiAddOnDev

Acknowledgements

Thanks to GrayMatter Software for giving me permission to post this.

Related Topic: TWikiAddOns

-- TWiki:Main/FredMorris - 19 Jan 2004

Topic attachments
I Attachment Action Size Date Who Comment
zipzip kwiki2twiki.zip manage 2.3 K 19 Jan 2004 - 23:40 FredMorris Kwiki To TWiki converter script
Topic revision: r4 - 07 Oct 2006 - 22:04:25 - PeterThoeny
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback