Sha256: 43f685101208d84aa7a9d6be202b23f2203d07b831c1b2913a3e37e53aded8f0
Contents?: true
Size: 566 Bytes
Versions: 2
Compression:
Stored size: 566 Bytes
Contents
xml.instruct! :xml, :version => "1.0" xml.rss :version => "2.0" do xml.channel do xml.title SanteyBlog.meta_titles[:default] xml.description "View all posts" xml.link url_for({:format=>:rss}) for post in @posts xml.item do xml.title post.title xml.description cut_text(Sanitize.clean(post.content, SanteyBlog::ViewHelper::SANITIZER_CONFIG), path_to_content(post), 300) xml.pubDate post.created_at.to_s(:rfc822) xml.link path_to_content(post) xml.guid path_to_content(post) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
santey_blog-0.2.1 | app/views/sb/posts/index.rss.builder |
santey_blog-0.2.0 | app/views/sb/posts/index.rss.builder |