HTML::WikiConverter::Txt2tags version 0.04 ========================================== HTML::WikiConverter::Txt2tags adds the Txt2tags dialect to HTML::WikiConverter allowing the conversion of HTML to Txt2tags markup. SYNOPSIS Converting HTML to wiki markup is easy: use HTML::WikiConverter; my $wc = new HTML::WikiConverter( dialect => 'Txt2tags' ); print $wc->html2wiki( $html ); Or from the command line: % html2wiki --dialect Txt2tags input.html > output.wiki There's also a web interface if you're so inclined: http://diberri.dyndns.org/wikipedia/html2wiki/ (this module is not online now) DEPENDENCIES * HTML::WikiConverter version 0.68 INSTALLATION Install html-wikiconverter and curl first. On Debian/Ubuntu: sudo apt-get install libhtml-wikiconverter-perl curl Then: cpan install HTML::WikiConverter::Txt2tags Alternatively, to install this module, download the HTML-WikiConverter-Txt2tags-0.##.zip archive, extract it and run the following commands: perl Makefile.PL make make test make install You can also copy html2txt2tags into your $PATH (for example /usr/local/bin) KNOWN BUGS In the case you don't get correct line break in some HTML files, you can call this kind of command which may correct the problem: for i in *.html ; do cat $i | sed 's@
@
@g' | sed 's@
@