Show
Ignore:
Timestamp:
12/20/09 16:18:44 (2 years ago)
Author:
dom
Message:

initial rename

Location:
wiki-toolkit-formatter-pod/trunk/lib/Wiki
Files:
1 added
1 modified
1 moved

Legend:

Unmodified
Added
Removed
  • wiki-toolkit-formatter-pod/trunk/lib/Wiki/Toolkit/Formatter/Pod.pm

    r98 r517  
    1 package CGI::Wiki::Formatter::Pod; 
     1package Wiki::Toolkit::Formatter::Pod; 
    22 
    33use strict; 
     
    1111=head1 NAME 
    1212 
    13 CGI::Wiki::Formatter::Pod - A Pod to HTML formatter for CGI::Wiki. 
     13Wiki::Toolkit::Formatter::Pod - A Pod to HTML formatter for Wiki::Toolkit. 
    1414 
    1515=head1 DESCRIPTION 
    1616 
    17 A Pod to HTML formatter backend for L<CGI::Wiki>. 
     17A Pod to HTML formatter backend for L<Wiki::Toolkit>. 
    1818 
    1919=head1 SYNOPSIS 
    2020 
    21   my $store     = CGI::Wiki::Store::SQLite->new( ... ); 
    22   my $formatter = CGI::Wiki::Formatter::Pod->new; 
    23   my $wiki      = CGI::Wiki->new( store     => $store, 
    24                                   formatter => $formatter ); 
     21  my $store     = Wiki::Toolkit::Store::SQLite->new( ... ); 
     22  my $formatter = Wiki::Toolkit::Formatter::Pod->new; 
     23  my $wiki      = Wiki::Toolkit->new( store     => $store, 
     24                                     formatter => $formatter ); 
    2525 
    26 Go look at L<CGI::Wiki> to find out more. This module is distributed 
     26Go look at L<Wiki::Toolkit> to find out more. This module is distributed 
    2727separately solely for convenience of testing and maintenance; it's 
    2828probably not too useful on its own. 
     
    3434=item B<new> 
    3535 
    36   my $formatter = CGI::Wiki::Formatter::Pod->new( 
     36  my $formatter = Wiki::Toolkit::Formatter::Pod->new( 
    3737                       node_prefix           => 'wiki.cgi?node=', 
    3838                       usemod_extended_links => 0, 
     
    4949names are forced to ucfirst, ie first letter of each word is capitalised.) 
    5050 
    51 B<Note:> You must have L<CGI::Wiki::Formatter::UseMod> installed if 
     51B<Note:> You must have L<Wiki::Toolkit::Formatter::UseMod> installed if 
    5252you wish to use the C<usemod_extended_links> parameter. 
    5353 
     
    6161    $self->{_node_prefix} = $node_prefix; 
    6262    $self->{_usemod_extended_links} = $args{usemod_extended_links} || 0; 
    63     my $link_mapper = CGI::Wiki::Formatter::Pod::LinkMapper->new( 
     63    my $link_mapper = Wiki::Toolkit::Formatter::Pod::LinkMapper->new( 
    6464                                               node_prefix => $node_prefix ); 
    6565    $self->{_link_mapper} = $link_mapper; 
     
    9696sub _linkify { 
    9797    my ($self, $node) = @_; 
    98     require CGI::Wiki::Formatter::UseMod; 
    99     my $formatter = CGI::Wiki::Formatter::UseMod->new( 
     98    require Wiki::Toolkit::Formatter::UseMod; 
     99    my $formatter = Wiki::Toolkit::Formatter::UseMod->new( 
    100100        implicit_links => 0, 
    101101        extended_links => 1, 
     
    112112=head1 SEE ALSO 
    113113 
    114 L<CGI::Wiki>, L<Pod::Tree::HTML>. 
     114L<Wiki::Toolkit>, L<Pod::Tree::HTML>. 
    115115 
    116116=head1 AUTHOR 
     
    130130 
    131131 
    132 package CGI::Wiki::Formatter::Pod::LinkMapper; 
     132package Wiki::Toolkit::Formatter::Pod::LinkMapper; 
    133133 
    134134sub new {