Skip to content

bertrandom/mefi-vs-youtube-comments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Metafilter comments vs. Youtube comments

Pulls the most recent Metafilter comments and the most recent Youtube comments from the most popular videos and puts them side-by-side for hilarity.

I recently rewrote this in Ruby, the original which was written in PHP using the Symfony 1.0 framework and Yahoo Pipes can be found here.

Installation

Install the feedzirra and mustache gems.

gem install feedzirra
gem install mustache

Run generate.rb. If all goes well, web/index.html should contain the latest comments. After you've confirmed that worked, add the contents of crontab to your web user's crontab, changing the absolute path to wherever you install this to. This will update the page once per day.

If you're using Ubuntu 12.10, feedzirra may refuse to install. I had to do this:

apt-get install libcurl4-gnutls-dev
git clone https://github.com/taf2/curb.git
cd curb
apt-get install rake
rake install
rake package
gem install ./curb-0.8.3.gem
gem install feedzirra --pre

References

Original MeFi project

MetaTalk post

Freakonomics blog post

About

Compare Metafilter comments to Youtube comments side-by-side for hilarity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published