app/views/blog/index.rss.builder in spud_blog-0.8.17 vs app/views/blog/index.rss.builder in spud_blog-0.8.18
- old
+ new
@@ -1,18 +1,18 @@
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)
+ xml.link blog_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)
+ xml.link blog_post_url(article.url_name)
+ xml.guid blog_post_url(article.url_name)
end
end
end
end
\ No newline at end of file