Sha256: a4f16e374af8493cdeaa05059b23e21c3d40371f4f97742229abf25c51a246cf
Contents?: true
Size: 464 Bytes
Versions: 3
Compression:
Stored size: 464 Bytes
Contents
xml.instruct! :xml, :version => "1.0" xml.rss :version => "2.0" do xml.channel do xml.title Hitchens.blog_name xml.description Hitchens.blog_description xml.link posts_url(format: :rss) @posts.each do |post| xml.item do xml.title post.title xml.description post.body_to_html xml.pubDate post.publication_date.to_s(:rfc822) xml.link post_url(post) xml.guid post_url(post) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hitchens-0.0.3 | app/views/hitchens/posts/index.rss.builder |
hitchens-0.0.2 | app/views/hitchens/posts/index.rss.builder |
hitchens-0.0.1 | app/views/hitchens/posts/index.rss.builder |