Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stopped working on ruby 1.9 #1

Open
jomz opened this issue Aug 28, 2014 · 1 comment
Open

Stopped working on ruby 1.9 #1

jomz opened this issue Aug 28, 2014 · 1 comment

Comments

@jomz
Copy link
Member

jomz commented Aug 28, 2014

ruby-feedparser 0.7.0 trips over UTF8/ASCII encoding issues in ruby 1.9.
I tried using feedparser 0.9.3 to fix this, but that version seems to have stopped working altogether..;
FeedParser::Feed::new is supposed to take a string with the content of the feed (according to the tests), but when I try that, I get ArgumentError: wrong number of arguments(1 for 0)...

ruby-feedparser seems abandoned, so I gave up trying to fix this.

I have switched to feed_reader which seems to still work. I did have to require feedzirra in my Gemfile, make sure to specify

gem 'feedzirra', '~> 0.7.1'

Because 0.8.0 is an empty gem that nudges you to use feedjira. I don't have the time atm to update feed_reader into a gem depending on feedjira, but figured this info may help someone..

@avonderluft
Copy link
Member

Thanks Benny, I'll take a look when I get a chance. If/when you have time, I'd be happy to have you make further improvements to this extension.
Would you like me to add you as an author on the gem? Happy to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants