1Wiki::Toolkit::Feed::LiUssteirngC(o3n)tributed Perl DocuWmieknit:a:tTiooonlkit::Feed::Listing(3)
2
3
4
6 Wiki::Toolkit::Feed::Listing - parent class for Feeds from
7 Wiki::Toolkit.
8
10 Handles common data fetching tasks, so that child classes need only
11 worry about formatting the feeds.
12
13 Also enforces some common methods that must be implemented.
14
16 "fetch_recently_changed_nodes"
17 Based on the supplied criteria, fetch a list of the recently changed
18 nodes
19
20 "fetch_newest_for_recently_changed"
21 Based on the supplied criteria (but not using all of those used by
22 fetch_recently_changed_nodes), find the newest node from the recently
23 changed nodes set. Normally used for dating the whole of a Feed.
24
25 "fetch_node_all_versions"
26 For a given node (name or ID), return all the versions there have been,
27 including all metadata required for it to go into a "recent changes"
28 style listing.
29
30 "recent_changes"
31 Build an Atom Feed of the recent changes to the Wiki::Toolkit instance,
32 using any supplied parameters to narrow the results.
33
34 If the argument "also_return_timestamp" is supplied, it will return an
35 array of the feed, and the feed timestamp. Otherwise it just returns
36 the feed.
37
38 "node_all_versions"
39 Build an Atom Feed of all the different versions of a given node.
40
41 If the argument "also_return_timestamp" is supplied, it will return an
42 array of the feed, and the feed timestamp. Otherwise it just returns
43 the feed.
44
45 "format_geo"
46 Using the geo and space xml namespaces, format the supplied node
47 metadata into geo: and space: tags, suitable for inclusion in a feed
48 with those namespaces imported.
49
50 The following are methods that any feed renderer must provide:
51
52 "feed_timestamp"
53 All implementing feed renderers must implement a method to produce a
54 feed specific timestamp, based on the supplied node
55
56 "generate_node_list_feed"
57 All implementing feed renderers must implement a method to produce a
58 feed from the supplied list of nodes
59
60 "generate_node_name_distance_feed"
61 All implementing feed renderers must implement a method to produce a
62 stripped down feed from the supplied list of node names, and optionally
63 locations and distance from a reference point.
64
65 "parse_feed_timestamp"
66 Take a feed_timestamp and return a Time::Piece object.
67
69 The Wiki::Toolkit team, http://www.wiki-toolkit.org/.
70
72 Copyright 2006-2009 the Wiki::Toolkit team.
73
74 This module is free software; you can redistribute it and/or modify it
75 under the same terms as Perl itself.
76
77
78
79perl v5.28.1 2016-12-16 Wiki::Toolkit::Feed::Listing(3)