NAME

Wiki::Toolkit::Formatter::XHTMLMediaWiki - A Mediawiki-style formatter for Wiki::Toolkit.

VERSION

Version 0.01

SYNOPSIS

This package implements a formatter for the Wiki::Toolkit module which attempts to duplicate the behavior of the Mediawiki application (a set of PHP scripts used by Wikipedia and friends).

use Wiki::Toolkit
use Wiki::Toolkit::Store::Mediawiki;
use Wiki::Toolkit::Formatter::XHTMLMediaWiki;

my $store = Wiki::Toolkit::Store::Mediawiki->new( ... );
# See below for parameter details.
my $formatter = Wiki::Toolkit::Formatter::XHTMLMediaWiki->new(store => $store);
my $wiki = Wiki::Toolkit->new(store     => $store,
                              formatter => $formatter);

METHODS

new

my $store = Wiki::Toolkit::Store::Mediawiki->new( ... );
my $formatter = Wiki::Toolkit::Formatter::XHTMLMediaWiki->new(
    store => $store
);

format

my $html = $formatter->format($content);

SEE ALSO

Wiki::Toolkit::Kwiki
Wiki::Toolkit
Wiki::Toolkit::Formatter::Default
Wiki::Toolkit::Store::Mediawiki

AUTHOR

"G. Allen Morris III" <gam3 at gam3.net>

BUGS

Please report any bugs or feature requests to bug-cgi-wiki-formatter-XHTMLMediaWiki at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Wiki-Toolkit-Formatter-Mediawiki. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

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

perldoc Wiki::Toolkit::Formatter::XHTMLMediaWiki

You can also look for information at:

COPYRIGHT & LICENSE

Copyright 2008 G. Allen Morris III, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.