This is a follow-up on the post “Liberating annotations in Personal Documents from the Kindle”. If you haven’t done so, I recommend that you read that one first.
So you have a Kindle App/Kindle Fire and you have been annotating your books in there. Later, you realize that, while exporting those notes from books bought from Amazon is easy and convenient (especially if you use an app such as the excellent Clippings.io, which I love and strongly recommend!), the notes that you have been adding to your Personal Documents are locked in the Kindle, inside an encrypted MBP file. What to do?
I’ve already written a step-by-step guide showing how you can use an earlier version of a Kindle app to get an unencrypted version of that MBP file with your notes, and how you can use a software called MBP_Reader to extract those notes to plain text. This was better than nothing, but I wanted to be able to have all my notes in Clippings.io, where they can be neatly organized, regardless of where I made the annotations – in the Paperwhite or in my phone or in my tablet.
So I created a python script that grabs that unencrypted MBP file (it won’t be able to read the encrypted one, you really need the old version of the Kindle Android App, as explained here), uses the MBP_reader script and formats the output as a valid “My Clippings.txt” file, which can then be imported in Clippings.io.
The code is in Github, here: github.com/catdevrandom/k-clip-converter. Feel free to chip in and add your own improvements!