diff options
author | Uģis Ozols <ugis.ozolss@gmail.com> | 2011-07-27 17:28:09 +0300 |
---|---|---|
committer | Uģis Ozols <ugis.ozolss@gmail.com> | 2011-07-27 17:28:09 +0300 |
commit | 06071e558008477e1b8dbb376d6693af97eeff32 (patch) | |
tree | 0ed1e765b37975fbbd054b058a45712ee7464c73 /app/views/blog/posts/index.rss.builder | |
parent | 3fa8937b95a4d90000ad1be9c588424052136455 (diff) | |
download | refinerycms-blog-06071e558008477e1b8dbb376d6693af97eeff32.tar.gz refinerycms-blog-06071e558008477e1b8dbb376d6693af97eeff32.tar.bz2 refinerycms-blog-06071e558008477e1b8dbb376d6693af97eeff32.zip |
Wip.
Diffstat (limited to 'app/views/blog/posts/index.rss.builder')
-rw-r--r-- | app/views/blog/posts/index.rss.builder | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/app/views/blog/posts/index.rss.builder b/app/views/blog/posts/index.rss.builder deleted file mode 100644 index 51fa4da..0000000 --- a/app/views/blog/posts/index.rss.builder +++ /dev/null @@ -1,17 +0,0 @@ -xml.instruct! :xml, :version => "1.0" -xml.rss :version => "2.0" do - xml.channel do - xml.title RefinerySetting.find_or_set(:site_name, "Company Name") - xml.description RefinerySetting.find_or_set(:site_name, "Company Name") + " Blog Posts" - xml.link blog_root_url - - @blog_posts.each do |post| - xml.item do - xml.title post.title - xml.description post.body - xml.pubDate post.published_at.to_s(:rfc822) - xml.link blog_post_url(post) - end - end - end -end
\ No newline at end of file |