Atom Feeds

Replaced Instiki's RSS 2.0 feeds with Atom 1.0 feeds.
This commit is contained in:
Jacques Distler 2007-04-13 17:04:03 -05:00
parent 81d71854c0
commit 3a57d3aade
6 changed files with 54 additions and 41 deletions

View file

@ -16,7 +16,9 @@ module CacheSweepingHelper
end
end
expire_action :controller => 'wiki', :web => web.address, :action => 'authors'
%w(authors atom_with_content atom_with_headlines).each do |action|
expire_action :controller => 'wiki', :web => web.address, :action => action
end
expire_fragment :controller => 'wiki', :web => web.address, :action => %w(rss_with_headlines rss_with_content)
end