Sha256: 27d8577e2ce2c77bc41d884298ec511b93c6dbf13fd630808563d5c9845fd8af
Contents?: true
Size: 652 Bytes
Versions: 11
Compression:
Stored size: 652 Bytes
Contents
xml.instruct! :xml, version: '1.0' xml.rss version: '2.0' do xml.channel do xml.title current_site.the_title xml.description current_site.the_excerpt xml.link current_site.the_url current_site.the_contents.paginate(page: params[:page], per_page: current_site.front_per_page).decorate.each do |post| xml.item do xml.title post.the_title xml.description post.the_excerpt xml.pubDate post.the_created_at xml.upDate post.the_updated_at xml.link post.the_url xml.guid post.the_id xml.thumb post.the_thumb_url end end end end
Version data entries
11 entries across 11 versions & 1 rubygems