Sha256: a261bd00188a1b14fd7389bd7d2fec00bbd133a178592560e82e420d1dfc1ce7
Contents?: true
Size: 550 Bytes
Versions: 12
Compression:
Stored size: 550 Bytes
Contents
xml.instruct! :xml, :version => "1.0" xml.rss :version => "2.0" do xml.channel do xml.title "#{Spud::Core.site_name} Blog Articles" xml.description "Blog articles for #{Spud::Core.site_name}" xml.link posts_path(:format => :rss) for article in @posts xml.item do xml.title article.title xml.description strip_tags(article.content_processed).truncate(250) xml.pubDate article.created_at.to_s(:rfc822) xml.link post_path(article.url_name) xml.guid article.id end end end end
Version data entries
12 entries across 12 versions & 1 rubygems