ruby-on-railsfeedzirra

Linking URLs in tweets passed through Feedzirra


I'm working on a rails website that's using Feedzirra to bring in a rotating twitter feed. The tweets, however, aren't bringing clickable URLs - just an unlinked string.

Is there a "rails way" to link the URLs as they come through Feedzirra, before they are displayed? Or do I need to use something post-parse (like jQuery) to take care of it?

EDIT:

feed.rb - http://pastebin.com/0eSEGYZq

actual tweets - http://pastebin.com/KUMGZF4X


Solution

  • When you loop through the results you could try using this gem: https://github.com/tenderlove/rails_autolink