Sha256: 180f40ab313caa54387033176b6799a2e563a61bd2bdf9484cf61fd7501fb0a7
Contents?: true
Size: 527 Bytes
Versions: 56
Compression:
Stored size: 527 Bytes
Contents
cache ['rss', Virgo::Post.posts.publicly_viewable.order(publish_at: :desc).first, 'feed'] do @posts = Virgo::Post.posts.publicly_viewable.order(publish_at: :desc).limit(@limit) xml.instruct! :xml, :version => "1.0" xml.rss(version: '2.0', "xmlns:media" => "http://search.yahoo.com/mrss") { xml.channel { xml.title(site.name) xml.link(request.host) xml.description(site.description) @posts.each do |post| cache post do rss_post(xml, post) end end } } end
Version data entries
56 entries across 30 versions & 1 rubygems