Sha256: 27df5b6664b68cf7f15881edbc2b1e9bc85f4f09d691f21862846a62cbca041a
Contents?: true
Size: 522 Bytes
Versions: 2
Compression:
Stored size: 522 Bytes
Contents
xml.instruct! :xml, :version => "1.0" xml.rss :version => "2.0" do xml.channel do xml.title (@blog.title) ? @blog.title : "Unnamed Blog" xml.description (@blog.description) ? @blog.description : "" xml.link posts_url for post in @posts xml.item do xml.title post.title xml.description @markdown_parser.markdown_to_html(post.body).html_safe xml.pubDate post.written_at.to_s(:rfc822) xml.link post_url(post) xml.guid post_url(post) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
almanac-0.6.1 | app/views/almanac/posts/index.rss.builder |
almanac-0.6.0 | app/views/almanac/posts/index.rss.builder |