View Single Post
Old 01-27-2022, 03:29 PM   #994
olof-ynwa
Junior Member
olof-ynwa began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2022
Device: Kindle Paperwhite 5
Minor detail... and some help please :)

Hello! I use obsidian quite a bit and I've wanted to easily insert highlights from my kindle into my obsidian notes. For this I've written a python script that parses the my clippings file and sorts them into note and highlight pairs where the note content may include commands that govern how and whether to check if there are valid commands in the note , how the content of the highlight should be modified (embedding words with pattern match in obsidian links, adding content above and below the highlight, basic search and replace) and how and where the note should be inserted (file pattern match, header pattern match/ which line, append/prepend etc).

This plugin has worked smoothly for me though so I don't plan to parse MyClippings directly anymore. So I just wonder how you would go about accessing the notes and highlights from either the specified columns or the comments section. And deleting the command notes when they served their purpose.

Also, when you create a note directly in kindle, it automatically creates a highlight at the same time. If you edit the note it creates a new note in my clippings, and if you're highlights are extremely close to eachother there are no ways of distinguishing which note belongs to which highlight except for the timestamp (if created at the same time, no problem, if edited, no chance). This made me notice a bombshell bug, in the plugin notes, are always registered as being created one second before the corresponing highlight even though they should be timestamped at the same time !!! (obviously not an issue but oh well)
olof-ynwa is offline   Reply With Quote