Sha256: 790cf31a599c3f81b9768d80a6efc74402f0a5e20a720983058f9783ceb77231
Contents?: true
Size: 449 Bytes
Versions: 18
Compression:
Stored size: 449 Bytes
Contents
xml.instruct! :xml, version: "1.0" xml.rss version: "2.0" do xml.channel do xml.title Setting.first.try(:blog_name) xml.description Setting.first.try(:blog_tagline) xml.link blog_url @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 page_url(post) xml.guid page_url(post) end end end end
Version data entries
18 entries across 18 versions & 1 rubygems