public
Description: Archives, analyzes, and reblogs posts from the Tumblr Radar
Homepage: http://jamiedubs.com/radarchive
Clone URL: git://github.com/jamiew/tumblr-radarchive.git
jamiew (author)
Sun Apr 12 16:36:24 -0700 2009
commit  bfd98dc119238a49eb8a97332f7c5ea420c0b9a8
tree    1ab9a8145d321cc7efb86eefd39103bc95e48082
parent  a003c5e0e0feeeca3362752c35289aac28949ac2
name age message
file .gitignore Fri Aug 15 15:12:01 -0700 2008 add logged-in checks to runner, clean up some c... [jamiew]
file README.txt Fri Aug 29 09:30:25 -0700 2008 add extension to README [jamiew]
file Rakefile Fri Aug 15 14:41:46 -0700 2008 import from cleaned up prod code [jamiew]
file application.rb Thu Jan 22 16:51:13 -0800 2009 Merge branch 'master' of git@github.com:jamiew/... [jamiew]
file config.ru Sun Jan 18 20:54:45 -0800 2009 passenger phusion rackup [Jamie Wilkinson]
directory config/ Fri Aug 15 15:12:01 -0700 2008 add logged-in checks to runner, clean up some c... [jamiew]
file database.sql Fri Aug 15 14:41:46 -0700 2008 import from cleaned up prod code [jamiew]
file models.rb Sun Jan 18 20:44:27 -0800 2009 tumblr v5 support, along with significant refac... [jamiew]
directory public/ Sun Jan 18 20:50:45 -0800 2009 add the Tumblr search form + styling & layout m... [Jamie Wilkinson]
file runner.rb Sun Apr 12 16:36:24 -0700 2009 fix iframe hacking from yesterday [jamiew]
directory views/ Wed Jan 28 06:47:32 -0800 2009 updated top graphic -- need to adjust the tumbl... [jamiew]
README.txt
Radarchive
==============

Merb application that syndicates the Tumblr Radar -- semi-intelligently collects all the posts from it, and can 
optionally crosspost it to another Tumblr account or group

Adds archives, RSS, a leaderboard, rudimentary tagging and other fun features Marco and David either didn't want or 
neglected.

Currently in production at http://radarchive.tumblr.com

The Tumblr Radar scraper (runner.rb) is the bulk of the application, and is a well-behaved example of collecting outside 
of Tumblr's official API. I also have an earlier, much simpler version that generates an RSS feed from your Tumblr 
dashboard here:
http://github.com/jamiew/tumblr-dashboard-rss

The design is largely copied from Tumblr's Radar itself, with plans to change it 

Made last weekend by Jamie Wilkinson
http://jamiedubs.com

Free Art & Technology Lab
http://fffff.at



Install
============

Edit config/database.yml and load the tables into your database
$ echo database.sql | mysql radarchive_dev

Edit config/tumblr.yml and add your login info if you want to be reblog-cross-posting. Group is your group's URL or 
unique ID number, and "group name" is required so the scraper can find its name in the list

Run the scraper to get some data. Put this in a cronjob, or a while loop. Be nice and don't scrape at night (EST)... 
there are no new posts!
$ ruby runner.rb

Start merb and enjoy!
$ merb