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/

  • http://superfeedr.com Julien

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

  • http://www.startbreakingfree.com Brian Armstrong

    Thanks for the writeup, worked great!

  • http://seanbehan.com Sean Behan

    ***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

  • Pingback: Install and Serve a Rails Application from PHP Subdirectory Using Apache, Phussion Passenger and Ruby Enterprise Edition « Sean Behan's Blog

  • http://www.mycollegesandcareers.com Brandon Buttars

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