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

Version Path
refinerycms-dashboard-0.9.9.21 app/views/admin/dashboard/index.rss.builder
refinerycms-dashboard-0.9.9.20 app/views/admin/dashboard/index.rss.builder
refinerycms-dashboard-0.9.9.19 app/views/admin/dashboard/index.rss.builder
refinerycms-dashboard-0.9.9.18 app/views/admin/dashboard/index.rss.builder
refinerycms-dashboard-0.9.9.17 app/views/admin/dashboard/index.rss.builder
refinerycms-dashboard-0.9.9.16 app/views/admin/dashboard/index.rss.builder
refinerycms-dashboard-0.9.9.15 app/views/admin/dashboard/index.rss.builder
refinerycms-dashboard-0.9.9.14 app/views/admin/dashboard/index.rss.builder
refinerycms-dashboard-0.9.9.13 app/views/admin/dashboard/index.rss.builder
refinerycms-dashboard-0.9.9.12 app/views/admin/dashboard/index.rss.builder
refinerycms-dashboard-0.9.9.11 app/views/admin/dashboard/index.rss.builder
refinerycms-dashboard-0.9.9.10 app/views/admin/dashboard/index.rss.builder
refinerycms-dashboard-0.9.9.9 app/views/admin/dashboard/index.rss.builder
refinerycms-dashboard-0.9.9.8 app/views/admin/dashboard/index.rss.builder
refinerycms-dashboard-0.9.9.7 app/views/admin/dashboard/index.rss.builder
refinerycms-dashboard-0.9.9.5 app/views/admin/dashboard/index.rss.builder
refinerycms-dashboard-0.9.9.4 app/views/admin/dashboard/index.rss.builder
refinerycms-dashboard-0.9.9.3 app/views/admin/dashboard/index.rss.builder
refinerycms-dashboard-0.9.9.2 app/views/admin/dashboard/index.rss.builder
refinerycms-dashboard-0.9.9.1 app/views/admin/dashboard/index.rss.builder