The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

CGI::Wiki::Formatter::Kwiki - A Kwiki formatter for CGI::Wiki.

DESCRIPTION

A formatter backend for CGI::Wiki.

It wraps the Formatter module from CGI::Kwiki, =head1 SYNOPSIS

  my $store     = CGI::Wiki::Store::SQLite->new( ... );
  # See below for parameter details.
  my $formatter = CGI::Wiki::Formatter::Kwiki->new( %config );
  my $wiki      = CGI::Wiki->new( store     => $store,
                                  formatter => $formatter );

METHODS

new
  my $formatter = CGI::Wiki::Formatter::Kwiki->new(
                 node_prefix     => 'wiki.cgi?node='
             );
format
  my $html = $formatter->format( $content );

Calls Kwiki::Formatter->process on the content (with some slight changes to allow for the fact that it's not in the context of a Kwiki.

  my @links_to = $formatter->find_internal_links( $content );

Returns a list of all nodes that the supplied content links to.

SEE ALSO

CGI::Wiki, CGI::Kwiki

AUTHOR

Tom Insam (tom@jerakeen.org)

CREDITS

Thanks to Kake for writing CGI::Wiki in the first place, and davorg for giving me a nice lumpy data-set to test things on. And I have to credit whomever came up with this markup language, I suppose. Hi.

COPYRIGHT

     Copyright (C) 2003 Tom Insam.  All Rights Reserved.

This module 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:

Around line 67:

'=item' outside of any '=over'