Skip to content
Browse files

moving rss feed to feedburner

  • Loading branch information...
1 parent fc7c52a commit befb12bd2145084baca53ebf55856cd21d2b4539 Nelson Fernandez committed Feb 3, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 app.rb
View
7 app.rb
@@ -99,6 +99,13 @@ def get_news(start, title=nil)
erb :rss, :layout => false, :locals => {:news => news, :count => count}
end
+get '/feed' do
+ content_type 'text/xml', :charset => 'utf-8'
+ news,count = get_latest_news
+
+ erb :rss, :layout => false, :locals => {:news => news, :count => count}
+end
+
get '/acerca' do
erb :acerca, :locals => {:title => 'acerca'}
end

0 comments on commit befb12b

Please sign in to comment.
Something went wrong with that request. Please try again.