Sha256: cb764d11d9044c14fa7211efb64fcbb3e5adb1f48f04c1e052770f3c4d75efed
Contents?: true
Size: 544 Bytes
Versions: 5
Compression:
Stored size: 544 Bytes
Contents
xml.instruct! :xml, :version=>"1.0" xml.rss(:version=>"2.0") do xml.channel do xml.title("#{Settings.site_name} - #{page_title}") xml.link(url_for :only_path => false ) xml.language('en-gb') for article in @articles xml.item do xml.title(article.title) xml.category(article.tag_list) xml.description(article.description) xml.pubDate(article.published_at.rfc822) xml.link(article_url(article)) xml.guid(article_url(article)) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems