Author: nick Date: 2006-06-01 16:34:58 +0100 (Thu, 01 Jun 2006) New Revision: 798
Modified: trunk/wiki.cgi Log: Allow feed version of list_all_versions if requested
Modified: trunk/wiki.cgi =================================================================== --- trunk/wiki.cgi 2006-06-01 15:23:29 UTC (rev 797) +++ trunk/wiki.cgi 2006-06-01 15:34:58 UTC (rev 798) @@ -95,7 +95,16 @@ host => $q->param("host") || "", ); } elsif ($action eq 'list_all_versions') { - $guide->list_all_versions( id => $node ); + if($format && ($format eq "rss" || $format eq "atom")) { + my %args = ( + feed_type => $format, + feed_listing => 'node_all_versions', + name => $node + ); + $guide->display_feed( %args ); + } else { + $guide->list_all_versions( id => $node ); + } } elsif ($action eq 'rc') { if ($format && $format eq 'rss') { my $feed = $q->param("feed");