Feed.fetch_and_parse Returns '0' for Certain Feeds

174 views
Skip to first unread message

Hunter Hillegas

unread,
May 19, 2010, 6:12:52 PM5/19/10
to feedzirra
I have one feed that recently started returning just '0' when I
attempt to fetch and parse it:

>> feed = Feedzirra::Feed.fetch_and_parse('http://www.vegastripping.com/feeds/rss.xml')
=> 0

The feed passes validation and looks okay to my eye.

What does this mean? What can I do to fix it?

Thanks,
Hunter

--
You received this message because you are subscribed to the Google Groups "feedzirra" group.
To post to this group, send email to feed...@googlegroups.com.
To unsubscribe from this group, send email to feedzirra+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/feedzirra?hl=en.

Hunter Hillegas

unread,
May 24, 2010, 6:38:39 PM5/24/10
to feedzirra
If anyone else has seen this, it would be a huge huge help if you
could share your experience.

Thanks again.

Amiel Martin

unread,
Aug 2, 2012, 4:25:32 PM8/2/12
to feed...@googlegroups.com
I'm having this same issue.

[1] pry(main)> Feedzirra::Feed.fetch_and_parse("http://calendar.bellingham.org/rss/calendar_id/2.xml?maxcount=#{ 1 }&dayspan=#{ 1 }")
=> 0

However, in my case, it looks like the feed is down. ("Oops! Google Chrome could not connect to calendar.bellingham.org" is what google chrome gives me).

This feed used to work just fine...

I hope this helps; please let me know if you've found out anything moer about this situation.

-Amiel

vincent daubry

unread,
Aug 11, 2012, 3:12:23 AM8/11/12
to feed...@googlegroups.com
Same problem here :

feed = Feedzirra::Feed.fetch_and_parse("http://blog.youboox.fr/feed")
{
:root_url => feed.url,
:critic => feed.entries[0],
:news => feed.entries[1]
}

I randomly get :

"undefined method `url' for 0:Fixnum"

Ignacio Palomo Duarte

unread,
Jan 28, 2013, 11:13:21 AM1/28/13
to feed...@googlegroups.com
We are facing the same problem. It looks like that Feedzirra::Feed.fetch_and_parse returns 0 randomly :-(

tux...@gmail.com

unread,
Mar 13, 2013, 1:05:48 PM3/13/13
to feed...@googlegroups.com
I am facing the same issue with only HTTPS urls.

What could be the solution in that case?
Reply all
Reply to author
Forward
0 new messages