Skip to content

Commit

Permalink
add date
Browse files Browse the repository at this point in the history
  • Loading branch information
Paris John Sinclair committed Feb 13, 2010
1 parent 38d8d62 commit 5242b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/blog_tab_controller.rb
Expand Up @@ -4,6 +4,6 @@ def index

def tab
@rss = RSS::Parser.parse(open("http://gror.blogspot.com/feeds/posts/default").read, false)
render :text => "<ul>"+ @rss.items.collect{|i|"<li><h3>%s</h3><br />%s<br /></li>" % [ i.title.content, i.content.content ] }.join("\n") + "</ul>"
render :text => "<ul>"+ @rss.items.collect{|i|"<li><h3>%s (%s)</h3><br />%s<br /></li>" % [ i.title.content, i.updated.content, i.content.content ] }.join("\n") + "</ul>"
end
end

0 comments on commit 5242b85

Please sign in to comment.