Help:WordToWiki

Here are some tools that may be helpful in converting Microsoft Word files to wiki markup:


 * Word to TikiWiki
 * Word to Confluence Converter

The conversion can also be done using a two step process using Perl. This requires the following software:
 * HTML::WikiConverter
 * wvWare

doc2mw: FILE=$1 TMP="$$-${FILE}" if [ -x "./html2mw" ]; then HTML2MW='./html2mw' else HTML2MW='html2mw' fi wvHtml --targetdir=/tmp "${FILE}" "${TMP}" perl -pi -e "s/\]+.\>//gi;" "/tmp/${TMP}" ${HTML2MW} "/tmp/${TMP}" rm "/tmp/${TMP}"
 * 1) !/bin/bash
 * 2)       doc2mw - Word to MediaWiki converter
 * 1) Remove extra divs

html2mw: use HTML::WikiConverter; my $b; while (<>) { $b .= $_; } my $w = new HTML::WikiConverter( dialect => 'MediaWiki' ); my $p = $w->html2wiki($b); $p =~ s///g; $p =~ s/\&nbsp\;//g; print $p;
 * 1) !/usr/bin/perl
 * 2)       html2mw - HTML to MediaWiki converter
 * 1) Substitutions to get rid of nasty things we don't need

''Disclaimer: These scripts are probably not the best way to do this, only a *possible* way to do this. Please feel free to improve them.''