HTML::WikiConverter::XWiki - Convert HTML to XWiki markup
use HTML::WikiConverter; my $wc = new HTML::WikiConverter( dialect => 'XWiki', space_identifier => 'MySpace' ); print $wc->html2wiki( $html ); - or - html2wiki --dialect XWiki --base-uri=http://yoursite.xwiki.org/ index.html
This module contains rules for converting HTML into XWiki markup, the wiki dialect used by xwiki.org. See HTML::WikiConverter for additional usage details.
The XWiki converter introduces a new attribute space_identifier.
space_identifier
The value of this attribute is used to generate local links. The default value is 'Main'.
'Main'
<a href="http://www.xwiki.org/Test">Test</a> would result as [Test|Main.Test].
<a href="http://www.xwiki.org/Test">Test</a>
[Test|Main.Test]
Patrick Stählin, <packi at cpan.org>. Many thanks to David J. Iberri, <diberri at cpan.org> for writing HTML::WikiConverter.
<packi at cpan.org>
<diberri at cpan.org>
You can find documentation for this module with the perldoc command.
perldoc HTML::WikiConverter::XWiki
Copyright 2006 Encodo Systems AG, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'Stählin,'. Assuming CP1252
To install HTML::WikiConverter::XWiki, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::WikiConverter::XWiki
CPAN shell
perl -MCPAN -e shell install HTML::WikiConverter::XWiki
For more information on module installation, please visit the detailed CPAN module installation guide.