Sha256: 2f2328f3ac25c01bd58d9d62cde56aa41191dedbfae79ea8e56c48736c3dc2af
Contents?: true
Size: 500 Bytes
Versions: 2
Compression:
Stored size: 500 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.created_at.to_s(:rfc822) xml.link blog_post_url(post) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
refinerycms-blog-1.0.rc11 | app/views/blog/posts/index.rss.builder |
refinerycms-blog-1.0.rc10 | app/views/blog/posts/index.rss.builder |