Repository URL to install this package:
|
Version:
2.4.0.1 ▾
|
xml.instruct! :xml, :version => "1.0"
xml.rss :version => "2.0" do
xml.channel do
xml.title "TODO: Title"
xml.description "TODO: Description"
xml.link <%= @article_class.underscore.pluralize %>_url
for post in @articles
xml.item do
xml.title post.title
xml.description post.body
xml.pubDate post.published_at.to_s(:rfc822)
xml.link article_url(post)
xml.guid article_url(post)
end
end
end
end