gabrielflorit/conditionof — pull request #16 by danielsmc (2012-06-21 11:51:05+00:00)
Title: db backing

There are still a few outstanding issues: html entities aren't handled, and I need to get the gripping working, but it's basically here.

The database should be set up like this:
https://devcenter.heroku.com/articles/heroku-postgres-dev-plan

The first time you load it up, hit the "/init" endpoint to set up the database. This is, of course, super insecure. Each time "/update" is hit, it'll load a new reason from today into the db, and return in in an atom feed.