Installing Feedzirra RSS Parser on Ubuntu 8

I recently watched a RailsCasts episode (http://railscasts.com/episodes/168-feed-parsing) on parsing and persisting RSS feeds using Feedzirra. It took a little setting up on Ubuntu because it relies on some libraries that aren’t included with Ubuntu > 8.

The gem will fail right off the bat

gem sources -a http://gems.github.com # if you haven't already
gem install pauldix-feedzirra

Here is what I needed before I could install the gem

apt-get install libcurl3
apt-get install libxml2 libxml2-dev
apt-get install libxslt1-dev

Then go ahead and

gem install pauldix-feedzirra

Here are some other useful resources

http://github.com/pauldix/feedzirra/tree/master

http://ruby.zigzo.com/2009/02/15/feedzirra-installation-errors/

Don’t forget you can use something like Superfeedr http://superfeedr.com if yu have a huge number of feeds to poll and parse.

Thanks for the writeup, worked great!

***Here’s an update***

You need to run this command

sudo apt-get install libcurl4-gnutls-dev

I installed Feedzirra on a new machine and couldn’t install the gem w/out it.

Check the paul’s github page for updates/installation instructions
ttp://github.com/pauldix/feedzirra/tree/master

[...] You can visit the application by going to http://seanbehan.com/reader. The application just parses a bunch of RSS feeds and displays them. It uses the Feedzirra library, which I’ve also written about http://seanbehan.com/ruby-on-rails/installing-feedzirra-rss-parser-on-ubuntu-8/. [...]

Man I should have looked here first. Finally I got it working because of this post. Thanks.

 
*name

*e-mail

web site

leave a comment