app/views/blog/posts/index.rss.builder in comfy_blog-0.1.8 vs app/views/blog/posts/index.rss.builder in comfy_blog-1.0.0

- old
+ new

@@ -1,18 +1,20 @@ xml.instruct! :xml, :version => '1.0' xml.rss :version => '2.0' do xml.channel do - xml.title ComfyBlog.config.title - xml.description ComfyBlog.config.description - xml.link request.url + xml.title @blog.label + xml.description @blog.description + xml.link blog_posts_url(@cms_site.path, @blog.path) @posts.each do |post| + url = blog_post_url(@cms_site.path, @blog.path, post.slug) + xml.item do xml.title post.title xml.description post.content xml.pubDate post.created_at.to_s(:rfc822) - xml.link blog_post_url(post) - xml.guid blog_post_url(post) + xml.link url + xml.guid url end end end end \ No newline at end of file