Sha256: bec552c2e1b65924dbfc4f8f0a3ac8599c6a9ebb7788b1f9792c5e5e7b678138
Contents?: true
Size: 532 Bytes
Versions: 41
Compression:
Stored size: 532 Bytes
Contents
xml.instruct! :xml, :version => "1.0" xml.rss :version => "2.0" do xml.channel do xml.title "#{Spud::Core.site_name} News" xml.description "News 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
41 entries across 41 versions & 2 rubygems