app/views/wiki/rss_feed.rhtml in instiki-0.10.0 vs app/views/wiki/rss_feed.rhtml in instiki-0.10.1

- old
+ new

@@ -1,22 +1,22 @@ -<?xml version="1.0" encoding="UTF-8"?> -<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"> - <channel> - <title><%= @web.name %></title> - <link><%= url_for :only_path => false, :web => @web_name, :action => @link_action, :id => 'HomePage' %></link> - <description>An Instiki wiki</description> - <language>en-us</language> - <ttl>40</ttl> - <% for page in @pages_by_revision %> - <item> - <title><%= page.plain_name %></title> - <% unless @hide_description %> - <description><%= h page.display_content %></description> - <% end %> - <pubDate><%= page.created_at.strftime "%a, %e %b %Y %H:%M:%S %Z" %></pubDate> - <guid><%= url_for :only_path => false, :web => @web_name, :action => @link_action, :id => page.name %></guid> - <link><%= url_for :only_path => false, :web => @web_name, :action => @link_action, :id => page.name %></link> - <dc:creator><%= WikiWords.separate(page.author) %></dc:creator> - </item> - <% end %> - </channel> -</rss> +<?xml version="1.0" encoding="UTF-8"?> +<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <channel> + <title><%= @web.name %></title> + <link><%= url_for :only_path => false, :web => @web_name, :action => @link_action, :id => 'HomePage' %></link> + <description>An Instiki wiki</description> + <language>en-us</language> + <ttl>40</ttl> + <% for page in @pages_by_revision %> + <item> + <title><%= h page.plain_name %></title> + <% unless @hide_description %> + <description><%= h page.display_content %></description> + <% end %> + <pubDate><%= page.created_at.getgm.strftime "%a, %d %b %Y %H:%M:%S Z" %></pubDate> + <guid><%= url_for :only_path => false, :web => @web_name, :action => @link_action, :id => page.name %></guid> + <link><%= url_for :only_path => false, :web => @web_name, :action => @link_action, :id => page.name %></link> + <dc:creator><%= WikiWords.separate(page.author) %></dc:creator> + </item> + <% end %> + </channel> +</rss>