app/views/wiki/rss_feed.rhtml in Pimki-1.5.092 vs app/views/wiki/rss_feed.rhtml in Pimki-1.6.092

- old
+ new

@@ -1,19 +1,31 @@ <?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><%= "#{@web_url}/show/HomePage" %></link> - <description>An Instiki wiki</description> + <description>Pimki - a PIM based on Instiki's wiki technology</description> <language>en-us</language> <ttl>40</ttl> + <% for entry in @bliki_entries %> + <item> + <title>Bliki: <%= entry.plain_name %></title> + <% unless @hide_description %> + <description><%= CGI.escapeHTML(entry.display_content) %></description> + <% end %> + <pubDate><%= ctime = entry.created_at; ctime.strftime "%a, %e %b %Y %H:%M:%S #{ctime.gmt_offset/3600}" %></pubDate> + <guid><%= "#{@web_url}/bliki_revision/#{entry.name}?rev=#{entry.revisions.length-1}" %></guid> + <link><%= "#{@web_url}/bliki_revision/#{entry.name}?rev=#{entry.revisions.length-1}" %></link> + <dc:creator><%= WikiWords.separate(entry.author) %></dc:creator> + </item> + <% end %> <% for page in @pages_by_revision %> - <item> + <item> <title><%= page.plain_name %></title> <% unless @hide_description %> <description><%= CGI.escapeHTML(page.display_content) %></description> <% end %> - <pubDate><%= page.created_at.strftime "%a, %e %b %Y %H:%M:%S %Z" %></pubDate> + <pubDate><%= ctime = page.created_at; ctime.strftime "%a, %e %b %Y %H:%M:%S #{ctime.gmt_offset/3600}" %></pubDate> <guid><%= "#{@web_url}/show/#{page.name}" %></guid> <link><%= "#{@web_url}/show/#{page.name}" %></link> <dc:creator><%= WikiWords.separate(page.author) %></dc:creator> </item> <% end %> \ No newline at end of file