Option to have .txt output match formatting of Kindle clippings? #1
Comments
Sure, I have no problem with that. Two routes:
If you go with 1., I suggest to add a new command line switch (e.g. |
Great! Since I’m not familiar with the codebase and am a bit sloppy with Python, I’d vote for the easy (for me) route 😄 A bookmark:
A highlight:
A note:
Here’s somebody else’s full file if that's easier: https://www.mobileread.com/forums/attachment.php?attachmentid=97944&d=1355946838 |
Thanks. I see your snippets and the linked file are a bit different. For example, you have I am not sure about the page and location values, which I think are not recoverable from the Kobo data. Probably I will just put dummy values. |
Yes, it looks like they changed the format at some point. The Mobileread file is from 2012, and it also has a slightly different date format. My clippings file, which ran from 2014 to the end of 2016, seems to be internally consistent. Thanks so much Alberto! (If the page numbers were in the SQLite somewhere, it’d be possible to roughly translate the locations to page numbers (1 "loc" ≈ 125 characters). It also might be possible to make a script, for highlights at least, that would search for the highlight in your ebook library and nab the location — but that would be a different project :) |
I added the Please see if the output is good. If so, just feel free to close this issue. If not, let me know. The problem with page/locations is that the Kobo SQLite file contains locations expressed using (roughly) EPUB CFI, which are not easily translatable in pages/locations in the Kindle sense. Moreover, they also have a |
@curiositry does it work? Shall I close the issue? |
Yes, it works great — thanks so much!
EDIT: looks like this is fixed already :) |
Sure, no problem. Yes, the misspelling has been fixed in bc7229e (current master). |
Is there any chance you’d consider adding the option to export to a text file formatted like Kindle’s “My Clippings.txt”?
It would be handy for people who have both devices, want to keep their notes coherent when they switch platforms — or want to use one of the many tools available for managing Kindle clippings.
The text was updated successfully, but these errors were encountered: