Quick and Dirty Sinatra-Based Article Reclassifier
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
pub
tmp
views
README.md
StoryClasser.rb
catt_output.rb
config.ru
database_setup.rb
reclass.sqlite3
reclasser_import.rb
reclassr.pdf

README.md

reclassr

reclassr is a quick and dirty Sinatra app designed to whip people through the process of moving a bunch of content from one container to another.

How to use it

It needs a number of gems:

  • active_record
  • active_support
  • spreadsheet
  • sinatra

It needs a sqlite file (see reclass.sqlite3 for the format ... no migrations yet)

Running StoryClasser.rb from the command line should give you a working app at http://localhost:4567.

It also includes a simple .ru file for use with Rack, so it runs on Passenger-enabled domains on Dreamhost.

Things I Should Do

  • make it do something besides throw an exception when it reaches the last article
  • add some sample input and output files
  • add back the article preview capability it used to have (in case a headline isn't descriptive enough)