HTML::WikiConverter 0.61 review

Download
by rbytes.net on

HTML::WikiConverter is a Perl module that can convert HTML to wiki markup. SYNOPSIS use HTML::WikiConverter; my $wc = new

License: Perl Artistic License
File size: 34K
Developer: David J. Iberri
0 stars award from rbytes.net

HTML::WikiConverter is a Perl module that can convert HTML to wiki markup.

SYNOPSIS

use HTML::WikiConverter;
my $wc = new HTML::WikiConverter( dialect => 'MediaWiki' );

# Provide HTML directly
print $wc->html2wiki( $html );

# ...which is the same as
print $wc->html2wiki( html => $html );

# Or fetch it from a file
print $wc->html2wiki( file => $path );

# ...slurp it all at once rather than parsing incrementally
print $wc->html2wiki( file => $path, slurp => 1 );

# Or from a URI
print $wc->html2wiki( uri => $uri );

# Get a list of installed dialects
my @dialects = HTML::WikiConverter->available_dialects;

HTML::WikiConverter is an HTML to wiki converter. It can convert HTML source into a variety of wiki markups, called wiki "dialects". The following dialects are supported:

DokuWiki
Kwiki
MediaWiki
MoinMoin
Oddmuse
PbWiki
PhpWiki
PmWiki
SlipSlap
TikiWiki
UseMod
WakkaWiki
WikkaWiki

Note that while dialects usually produce satisfactory wiki markup, not all features of all dialects are supported. Consult individual dialects' documentation for details of supported features. Suggestions for improvements, especially in the form of patches, are very much appreciated.

Requirements:
Perl

HTML::WikiConverter 0.61 keywords