Sha256: 23dc76c7cb587fb0e1911b39298760ff94903686549ef3773c0a4f3c00d7a8e4
Contents?: true
Size: 839 Bytes
Versions: 37
Compression:
Stored size: 839 Bytes
Contents
xml.instruct! :xml, :version => "1.0" xml.rss :version => "2.0", "xmlns:atom" => "http://www.w3.org/2005/Atom" do xml.channel do # Required to pass W3C validation. xml.atom :link, nil, { :href => admin_dashboard_index_url(:format => 'rss'), :rel => 'self', :type => 'application/rss+xml' } # Feed basics. xml.title "Refinery Updates" xml.description "See the recent activity on your Refinery site." xml.link admin_dashboard_index_url(:format => 'rss') # Recent activity. @recent_activity.each do |change| xml.item do xml.title change.class #xml.link link xml.description activity_message_for change #xml.pubDate date.to_s(:rfc822) #xml.guid unique end end end end
Version data entries
37 entries across 37 versions & 2 rubygems