Convert html to dokuwiki markup
use HTML::WikiConverter; my $wc = new HTML::WikiConverter( dialect => 'DokuWiki' ); print $wc->html2wiki( $html );
This module contains rules for converting \s-1HTML\s0 into DokuWiki markup. See HTML::WikiConverter for additional usage details.
In addition to the regular set of attributes recognized by the HTML::WikiConverter constructor, this dialect also accepts the following attributes:
Boolean indicating whether CamelCase links are enabled in the target DokuWiki instance. Enabling CamelCase links will turn \s-1HTML\s0 like this
<p><a href="/wiki:camelcase">CamelCase</a> links are fun.</p>
into this DokuWiki markup:
CamelCase links are fun.
Disabling CamelCase links (the default) would convert that \s-1HTML\s0 into
[[CamelCase]] links are fun.
David J. Iberri, \*(C`<diberri at cpan.org>\*(C'
Please report any bugs or feature requests to \*(C`bug-html-wikiconverter-dokuwiki at rt.cpan.org\*(C', or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML-WikiConverter-DokuWiki <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML-WikiConverter-DokuWiki>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
perldoc HTML::WikiConverter::DokuWiki
You can also look for information at:
AnnoCPAN: Annotated \s-1CPAN\s0 documentation http://annocpan.org/dist/HTML-WikiConverter-DokuWiki <http://annocpan.org/dist/HTML-WikiConverter-DokuWiki>
\s-1CPAN\s0 Ratings http://cpanratings.perl.org/d/HTML-WikiConverter-DokuWiki <http://cpanratings.perl.org/d/HTML-WikiConverter-DokuWiki>
\s-1RT:\s0 \s-1CPAN\s0's request tracker http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTML-WikiConverter-DokuWiki <http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTML-WikiConverter-DokuWiki>
Search \s-1CPAN\s0 http://search.cpan.org/dist/HTML-WikiConverter-DokuWiki <http://search.cpan.org/dist/HTML-WikiConverter-DokuWiki>
Copyright 2006 David J. Iberri, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.