Skip to content

bertrandom/mefi-vs-youtube-comments

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
web
 
 
 
 
 
 
 
 
 
 

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