Sha256: 26d64faf799a356abac0da5e355a3b628fda010aeb387003a28239c46cf6eae3
Contents?: true
Size: 541 Bytes
Versions: 22
Compression:
Stored size: 541 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 news_url(:format => :rss) for article in @posts xml.item do xml.title article.title xml.description article.content xml.pubDate article.created_at.to_s(:rfc822) xml.link news_post_url(article.url_name) xml.guid news_post_url(article.url_name) end end end end
Version data entries
22 entries across 22 versions & 1 rubygems