Skip to content

Instantly share code, notes, and snippets.

@Znow
Created November 29, 2011 10:10
Show Gist options
  • Save Znow/1404276 to your computer and use it in GitHub Desktop.
Save Znow/1404276 to your computer and use it in GitHub Desktop.
- @rss.entries.each do |rss|
%li
%b= rss.pubDate.strftime('%d/%m/%y - %H:%M:%S')
%br/
= link_to(truncate(rss.title, :length => 50), rss.link)
@rss = SimpleRSS.parse open('http://borsen.dk/rss/investor/')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment