Sha256: 2a6869a0f7f2328f7b3c6d870c869434bd2f8b22344faccae7592ed086150198
Contents?: true
Size: 486 Bytes
Versions: 1
Compression:
Stored size: 486 Bytes
Contents
xml.instruct! :xml, :version => "1.0" xml.rss :version => "2.0" do xml.channel do xml.title t("transit.rss.#{scope_name.underscore}_feed_title") xml.description "" xml.link polymorphic_url(scope_class) for post in @resources xml.item do xml.title post.title xml.description strip_tags(post.teaser) xml.pubDate post.post_date.to_s(:rfc822) xml.link deliver_rss(post) xml.guid deliver_rss(post) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
transit-0.0.2 | app/views/posts/index.rss.builder |