Changeset 497 for wiki-toolkit/trunk/lib/Wiki/Toolkit/Feed/Listing.pm
- Timestamp:
- 02/01/09 00:06:59 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
wiki-toolkit/trunk/lib/Wiki/Toolkit/Feed/Listing.pm
r446 r497 4 4 use Carp qw( croak ); 5 5 6 =item B<fetch_recently_changed_nodes> 6 =head1 NAME 7 8 Wiki::Toolkit::Feed::Listing - parent class for Feeds from Wiki::Toolkit. 9 10 =head1 DESCRIPTION 11 12 Handles common data fetching tasks, so that child classes need only 13 worry about formatting the feeds. 14 15 Also enforces some common methods that must be implemented. 16 17 =head1 METHODS 18 19 =head2 C<fetch_recently_changed_nodes> 7 20 8 21 Based on the supplied criteria, fetch a list of the recently changed nodes … … 40 53 } 41 54 42 = item B<fetch_newest_for_recently_changed>55 =head2 C<fetch_newest_for_recently_changed> 43 56 44 57 Based on the supplied criteria (but not using all of those used by … … 56 69 57 70 58 = item B<fetch_node_all_versions>71 =head2 C<fetch_node_all_versions> 59 72 60 73 For a given node (name or ID), return all the versions there have been, … … 92 105 93 106 94 = item B<recent_changes>107 =head2 C<recent_changes> 95 108 96 109 Build an Atom Feed of the recent changes to the Wiki::Toolkit instance, … … 120 133 121 134 122 = item B<node_all_versions>135 =head2 C<node_all_versions> 123 136 124 137 Build an Atom Feed of all the different versions of a given node. … … 144 157 } 145 158 146 = item B<format_geo>159 =head2 C<format_geo> 147 160 148 161 Using the geo and space xml namespaces, format the supplied node metadata … … 187 200 } 188 201 189 #item B<handle_supply_one_of>190 202 # Utility method, to help with argument passing where one of a list of 191 203 # arguments must be supplied 192 #193 #=cut194 204 195 205 sub handle_supply_one_of { … … 214 224 215 225 216 # The following are methods that any feed renderer must provide 217 218 =item B<feed_timestamp> 226 =pod 227 228 The following are methods that any feed renderer must provide: 229 230 =head2 C<feed_timestamp> 219 231 220 232 All implementing feed renderers must implement a method to produce a … … 225 237 sub feed_timestamp { die("Not implemented by feed renderer!"); } 226 238 227 = item B<generate_node_list_feed>239 =head2 C<generate_node_list_feed> 228 240 229 241 All implementing feed renderers must implement a method to produce a … … 234 246 sub generate_node_list_feed { die("Not implemented by feed renderer!"); } 235 247 236 = item B<generate_node_name_distance_feed>248 =head2 C<generate_node_name_distance_feed> 237 249 238 250 All implementing feed renderers must implement a method to produce a … … 244 256 sub generate_node_name_distance_feed { die("Not implemented by feed renderer!"); } 245 257 246 = item B<parse_feed_timestamp>258 =head2 C<parse_feed_timestamp> 247 259 248 260 Take a feed_timestamp and return a Time::Piece object. … … 256 268 __END__ 257 269 258 =head1 NAME259 260 Wiki::Toolkit::Feed::Listing - parent class for Feeds from Wiki::Toolkit.261 262 =head1 DESCRIPTION263 264 Handles common data fetching tasks, so that child classes need only265 worry about formatting the feeds.266 267 Also enforces some common methods that must be implemented.268 269 270 =head1 MAINTAINER 270 271 … … 273 274 =head1 COPYRIGHT AND LICENSE 274 275 275 Copyright 2006 the Wiki::Toolkit team.276 Copyright 2006-2009 the Wiki::Toolkit team. 276 277 277 278 This module is free software; you can redistribute it and/or modify it
