This is horribly hacky at the moment, sorry.
Run the default rake
task to retrieve all articles from breakfastpolitics.com, readability-ize them and generate a kindle-formatted file.
You'll need a copy of kindlegen at bin/kindlegen
You'll also need to install node.js
Run a bundle install
to retrieve the deps.
The generated mobi file will be in target/
Good luck.
TODO:
- fix broken links and images from inside article bodies
- clean up story html beyond what readability does (remove header weather forecast crap, "continue after ad" stuff)
- parameterize stuff (retrieve the "current" url, etc)
package node dependencies (http://www.google.com.au/search?sourceid=chrome&ie=UTF-8&q=npm+package.json)- better rakefile
- actually just rewrite it from scratch with some test coverage :D