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

Kwiki to TWiki Text File Converter

Convert Kwiki wiki content to TWiki file format

Overview

This script is a modification of TWiki:Main.PeterThoeny 's TWiki:Plugins.DolphinToTWikiAddOn for people who want to import content from TWiki:Main.BrianIngerson 's Kwiki into a TWiki.

Converts pretty much everything, although there are idiosyncrasies.

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

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:
    data/TWiki/KwikiToTWikiAddOn.txt Add-on topic
    tools/kwiki2twiki.pl Perl 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
Copyright: © 2004 TWiki:Main.FredMorris
© 2008-2011 TWiki:TWiki.TWikiContributor
License: GPL (GNU General Public License)
Add-on Version: 2011-03-17
Change History:  
2011-03-17: TWikibug:Item6638: Doc fixes; package add-on properly -- TWiki:Main.PeterThoeny
2004-01-19: Initial version
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.006
Add-on Home: http://TWiki.org/cgi-bin/view/Plugins/KwikiToTWikiAddOn
Feedback: http://TWiki.org/cgi-bin/view/Plugins/KwikiToTWikiAddOnDev

Acknowledgments

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

Related Topic: TWikiAddOns

Topic attachments
I Attachment Action Size Date Who Comment
Unknown file formatmd5 KwikiToTWikiAddOn.md5 manage 0.2 K 2011-03-18 - 02:05 PeterThoeny  
Compressed Zip archivetgz KwikiToTWikiAddOn.tgz manage 4.9 K 2011-03-18 - 02:04 PeterThoeny  
Compressed Zip archivezip KwikiToTWikiAddOn.zip manage 6.1 K 2011-03-18 - 02:04 PeterThoeny  
Unknown file formatEXT KwikiToTWikiAddOn_installer manage 3.4 K 2011-03-18 - 02:05 PeterThoeny  
Topic revision: r6 - 2011-08-23 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.