pauldix/feedzirra — Issue #93: Feedzirra hangs with some feed urls
Author: josegrad
Created: 2012-03-07 07:40:42+00:00
State: open

Hi,

I'm making a module to find the url of a feed from a blog. So it takes a blog url, parses its HTML with nokogiri to find the that contains the feed url and then uses Feedzirra on that feed url.

Sometimes the contents of the feed url are wrong, like this one for example: http://thecoach.ir/feed
In the browser you get "The page isn't redirecting properly" quite fast.

But when giving that Feedzirra via Feedzirra::Feed.fetch_and_parse(feed_url) it just stays there and never comes back.
I've tried :on_failure but no help to recover control, it just waits forever.

Any suggestions how to recover from that situation?

----

I'm on Rails 3.0.5 and Ruby 1.9.2 (old enough I know...)
I'm still on Feedzirra 0.0.24 since I always find problems when upgrading, but I'll open a different issue for this one.

Cheers.