Sha256: ecf7cc4fdd991b64f5d5cceb5c0f6b80b6c47222432ff3fd3eeaccfaad737f0f

Contents?: true

Size: 453 Bytes

Versions: 9

Compression:

Stored size: 453 Bytes

Contents

xml.instruct! :xml, :version => "1.0"
xml.rss :version => "2.0" do
  xml.channel do
    xml.title Refinery::Core.site_name
    xml.description Refinery::Core.site_name + " Blog Posts"
    xml.link refinery.blog_root_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 refinery.blog_post_url(post)
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
refinerycms-blog-3.0.2 app/views/refinery/blog/posts/index.rss.builder
refinerycms-blog-3.0.1 app/views/refinery/blog/posts/index.rss.builder
refinerycms-blog-2.1.0 app/views/refinery/blog/posts/index.rss.builder
refinerycms-blog-2.0.5 app/views/refinery/blog/posts/index.rss.builder
refinerycms-blog-2.0.4 app/views/refinery/blog/posts/index.rss.builder
refinerycms-blog-2.0.3 app/views/refinery/blog/posts/index.rss.builder
refinerycms-blog-2.0.2 app/views/refinery/blog/posts/index.rss.builder
refinerycms-blog-2.0.1 app/views/refinery/blog/posts/index.rss.builder
refinerycms-blog-2.0.0 app/views/refinery/blog/posts/index.rss.builder