RAGINGNEXUS

Ruby Recipe book: Import Kindle clippings to MongoDB

Published
2012-07-05
Tags
Development, Zombie Quick Posts
Update: Gist here

Update: Code updated to mitigate duplication (a hopefully sufficient) checksum

Simple, quick and dirty way to get your kindle clippings (that My Clippings.txt file that sits on your kindle with notes and quotes) into a database, in this case MongoDB (so it can be even quicker and dirtier )

  1. Get your kindle file
  2. Get the kindleclippings gem and/or code https://github.com/georgboe/kindleclippings
  3. Get mongo and the ruby driver http://www.mongodb.org/
  4. A dirty script
    <script src="http://gist.github.com/3059207.js?file=import_clippings.rb"></script>
  5. Get off my lawn :)