Sha256: 1840a558648bcf8540dbc979528d5310c8bdb7b49f81bb27b2d8f9a298c61b99
Contents?: true
Size: 502 Bytes
Versions: 19
Compression:
Stored size: 502 Bytes
Contents
xml.instruct! :xml, :version => "1.0" xml.rss :version => "2.0" do xml.channel do xml.title RefinerySetting.find_or_set(:site_name, "Company Name") xml.description RefinerySetting.find_or_set(:site_name, "Company Name") + " Blog Posts" xml.link blog_root_url @blog_posts.each do |post| xml.item do xml.title post.title xml.description post.body xml.pubDate post.published_at.to_s(:rfc822) xml.link blog_post_url(post) end end end end
Version data entries
19 entries across 19 versions & 1 rubygems