Edo78 / obsidian-koreader-sync

Obsidian.md plugin to sync highlights/notes from koreader
MIT License
77 stars 7 forks source link

Workflow question #74

Open moshin34 opened 7 months ago

moshin34 commented 7 months ago

Sorry if I am dense, but I want to be clear on workflow here.

I set the path to /Volumes/Kindles/koreader/clipboard

Then I, from Koreader went to highlights export all highlights and selected the Markdown format (correct format?)

I go into Obsidian and click sync, but nothing comes over. Is there a way to view logs? Is my workflow correct? Am I missing something obvious?

I exported ALL highlights as markdown maybe thats why?

Thanks

Edo78 commented 7 months ago

Hi,

first of all you don't need to export anything from koreader. This plugin automatically retrieve notes/highlights from the native koreader format.

The only issue I see is the path you set. You must be sure that the path point to the native koreader notes so that the plugin can do it's magic. Try to check with a file manager what you see in that path once koreader is mounted

moshin34 commented 7 months ago

Hey thank you for your reply. I was able to make progress by going straight to the root of /Volumes/Kindle.

This however only got me a bit further. The sync seems to pull and create the folders for each book, but none of the actual files come over. Have you seen this happen before?

wyrdash commented 5 months ago

I have the same problem, I can import the folders for each book, but no highlights come over. I'm on windows but the device is mounted to a folder.

TheOnlyWayUp commented 5 months ago

i fixed it (with some jank) https://towu.dev/pfxeFd

Rename the file to main.js and drop it into the obsidian-koreader-plugin folder in .obsidian/plugins, rewrite the old file with this one