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

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 );

my $formatter = CGI::Wiki::Formatter::Kwiki->new(
node_prefix => 'wiki.cgi?node='
);
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.


Tom Insam (tom@jerakeen.org)

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 (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.