I was trying to dump my Kindle "My Clippings.txt" output in a cleaner format and found your script. It came very close to getting it right. I put together some tweaks that made it work for me.
Thanks,
David
Changelog:
Remove dependency upon Make executable.
Fix "absolute file paths" issue #3.
Fix "tests are broken" issue #4.
Update "test/My Clippings.txt" with snippet of the format
dumped from my Kindle Paperwhite 300ppi (as of 2017-06-10)
Fixed bug around parsing book titles with parentheses in them.
Updated date parsing; added 'moment.js' dependency.
Hey there,
I was trying to dump my Kindle "My Clippings.txt" output in a cleaner format and found your script. It came very close to getting it right. I put together some tweaks that made it work for me.
Thanks, David
Changelog: