Show
Ignore:
Timestamp:
02/01/09 00:06:59 (3 years ago)
Author:
dom
Message:

fix up pod and add pod testing (fixes #45)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • wiki-toolkit/trunk/lib/Wiki/Toolkit/Feed/Listing.pm

    r446 r497  
    44use Carp qw( croak ); 
    55 
    6 =item B<fetch_recently_changed_nodes> 
     6=head1 NAME 
     7 
     8Wiki::Toolkit::Feed::Listing - parent class for Feeds from Wiki::Toolkit. 
     9 
     10=head1 DESCRIPTION 
     11 
     12Handles common data fetching tasks, so that child classes need only 
     13worry about formatting the feeds. 
     14 
     15Also enforces some common methods that must be implemented. 
     16 
     17=head1 METHODS 
     18 
     19=head2 C<fetch_recently_changed_nodes> 
    720 
    821Based on the supplied criteria, fetch a list of the recently changed nodes 
     
    4053} 
    4154 
    42 =item B<fetch_newest_for_recently_changed> 
     55=head2 C<fetch_newest_for_recently_changed> 
    4356 
    4457Based on the supplied criteria (but not using all of those used by 
     
    5669 
    5770 
    58 =item B<fetch_node_all_versions> 
     71=head2 C<fetch_node_all_versions> 
    5972 
    6073For a given node (name or ID), return all the versions there have been, 
     
    92105 
    93106 
    94 =item B<recent_changes> 
     107=head2 C<recent_changes> 
    95108 
    96109Build an Atom Feed of the recent changes to the Wiki::Toolkit instance, 
     
    120133 
    121134 
    122 =item B<node_all_versions> 
     135=head2 C<node_all_versions> 
    123136 
    124137Build an Atom Feed of all the different versions of a given node. 
     
    144157}  
    145158 
    146 =item B<format_geo> 
     159=head2 C<format_geo> 
    147160 
    148161Using the geo and space xml namespaces, format the supplied node metadata 
     
    187200} 
    188201 
    189 #item B<handle_supply_one_of> 
    190202# Utility method, to help with argument passing where one of a list of  
    191203#  arguments must be supplied 
    192 # 
    193 #=cut 
    194204 
    195205sub handle_supply_one_of { 
     
    214224 
    215225 
    216 # The following are methods that any feed renderer must provide 
    217  
    218 =item B<feed_timestamp> 
     226=pod 
     227 
     228The following are methods that any feed renderer must provide: 
     229 
     230=head2 C<feed_timestamp> 
    219231 
    220232All implementing feed renderers must implement a method to produce a 
     
    225237sub feed_timestamp          { die("Not implemented by feed renderer!"); } 
    226238 
    227 =item B<generate_node_list_feed> 
     239=head2 C<generate_node_list_feed> 
    228240 
    229241All implementing feed renderers must implement a method to produce a 
     
    234246sub generate_node_list_feed { die("Not implemented by feed renderer!"); } 
    235247 
    236 =item B<generate_node_name_distance_feed> 
     248=head2 C<generate_node_name_distance_feed> 
    237249 
    238250All implementing feed renderers must implement a method to produce a 
     
    244256sub generate_node_name_distance_feed { die("Not implemented by feed renderer!"); } 
    245257 
    246 =item B<parse_feed_timestamp> 
     258=head2 C<parse_feed_timestamp> 
    247259 
    248260Take a feed_timestamp and return a Time::Piece object.  
     
    256268__END__ 
    257269 
    258 =head1 NAME 
    259  
    260 Wiki::Toolkit::Feed::Listing - parent class for Feeds from Wiki::Toolkit. 
    261  
    262 =head1 DESCRIPTION 
    263  
    264 Handles common data fetching tasks, so that child classes need only 
    265 worry about formatting the feeds. 
    266  
    267 Also enforces some common methods that must be implemented. 
    268  
    269270=head1 MAINTAINER 
    270271 
     
    273274=head1 COPYRIGHT AND LICENSE 
    274275 
    275 Copyright 2006 the Wiki::Toolkit team. 
     276Copyright 2006-2009 the Wiki::Toolkit team. 
    276277 
    277278This module is free software; you can redistribute it and/or modify it