HTML::WikiConverter::Oddmuse - Convert HTML to Oddmuse markup


HTML-WikiConverter-Oddmuse documentation  | view source Contained in the HTML-WikiConverter-Oddmuse distribution.

Index


NAME

Top

HTML::WikiConverter::Oddmuse - Convert HTML to Oddmuse markup

SYNOPSIS

Top

  use HTML::WikiConverter;
  my $wc = new HTML::WikiConverter( dialect => 'Oddmuse' );
  print $wc->html2wiki( $html );

DESCRIPTION

Top

This module contains rules for converting HTML into Oddmuse markup. This dialect module supports most of Oddmuse's text formatting rules described at [1], notably:

  * bold, strong, italic, emphasized, and underlined text
  * paragraph blocks
  * external images
  * internal and external links
  * unordered and ordered lists
  * tables [2]

 [1] http://www.oddmuse.org/cgi-bin/wiki/Text_Formatting_Rules
 [2] http://www.oddmuse.org/cgi-bin/wiki/Table_Markup_Extension

See HTML::WikiConverter for usage details.

ATTRIBUTES

Top

In addition to the regular set of attributes recognized by the HTML::WikiConverter constructor, this dialect also accepts the following attributes:

camel_case

Boolean indicating whether CamelCase links are enabled in the target Oddmuse installation. This corresponds to Oddmuse's $WikiLinks configuration parameter. Enabling CamelCase links will turn HTML like this:

  <p><a href="/wiki/CamelCase">CamelCase</a> links are fun.</p>

into this Oddmuse markup:

  CamelCase links are fun.

Disabling CamelCase links (the default) would convert that HTML into

  [[CamelCase]] links are fun.

AUTHOR

Top

David J. Iberri, <diberri at cpan.org>

BUGS

Top

Please report any bugs or feature requests to bug-html-wikiconverter-oddmuse at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML-WikiConverter-Oddmuse. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

Top

You can find documentation for this module with the perldoc command.

    perldoc HTML::WikiConverter::Oddmuse

You can also look for information at:

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/HTML-WikiConverter-Oddmuse

* CPAN Ratings

http://cpanratings.perl.org/d/HTML-WikiConverter-Oddmuse

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTML-WikiConverter-Oddmuse

* Search CPAN

http://search.cpan.org/dist/HTML-WikiConverter-Oddmuse

COPYRIGHT & LICENSE

Top


HTML-WikiConverter-Oddmuse documentation  | view source Contained in the HTML-WikiConverter-Oddmuse distribution.