Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 02-12-2024, 08:16 AM   #1
isosphere
Junior Member
isosphere began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2024
Location: Amherst, Nova Scotia
Device: Koreader on Android
KOReader Annotation Plugin for Logseq

Hello!

If you use Logseq (a PKMS) & KOReader, I made a plugin for that!

It's on the official plugin screen as "Logseq Koreader Sync". It'll pull annotations from a bunch of sidecar files into a page in your graph. I just got finished making it.

It enables this workflow for me:

1. Read and annotate in Koreader
2. Use Syncthing to unilaterally sync the SDR files to a file server
3. Logseq Koreader Sync reads those files and produces blocks out of them

I can then reference any annotations I've taken elsewhere in my notebook; it's nearly frictionless. Highlights and notes are collected, and documents are tagged with description and authors as block properties.

I think the only downside is that you can't edit the synced content; it'll mess up future syncs. Maybe bidirectional syncing will be supported one day.

It's free & open source, just like Logseq and KOReader. The repo is here. There's a short little demo recording there that illustrates the use of it.
isosphere is offline   Reply With Quote
Old 02-12-2024, 10:45 AM   #2
hius07
Wizard
hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.
 
Posts: 1,179
Karma: 3592925
Join Date: Sep 2014
Location: Ukraine
Device: Kindle
Thanks for sharing!

I see you use the bookmark.text field only, that contains user's note.
You can also use bookmark.notes, that contains the highlighted text.

Also you expose the bookmark.page field, that for epubs contains the xpointer string, not very helpful for users.
You can enable the "Add page number/timestamp to bookmark" setting, to have the page number in every bookmark.text field.
(Please note that the page number is correct at the moment of making a highlight. If you later change the document layout (font size etc) page numbers in bookmarks will not be updated automatically.)
hius07 is offline   Reply With Quote
Advert
Old 02-12-2024, 02:23 PM   #3
isosphere
Junior Member
isosphere began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2024
Location: Amherst, Nova Scotia
Device: Koreader on Android
Thank you for the feedback!

Quote:
Originally Posted by hius07 View Post
You can also use bookmark.notes, that contains the highlighted text.
I do! See here: https://github.com/isosphere/logseq-...c/index.ts#L63

I present them in the outliner something like this:

> "Highlighted text represented as a markdown quote"
  • child block which is the user's note on this highlight

You should see this in the little demo GIF on the readme page, near the end of it when I expand some things.

Quote:
Originally Posted by hius07 View Post
Also you expose the bookmark.page field, that for epubs contains the xpointer string, not very helpful for users.

You can enable the "Add page number/timestamp to bookmark" setting, to have the page number in every bookmark.text field.
(Please note that the page number is correct at the moment of making a highlight. If you later change the document layout (font size etc) page numbers in bookmarks will not be updated automatically.)
I have noticed that the page references are sometimes a bit strange. Here's an example:

Code:
/body/DocFragment[10]/body/p[20]/text()[1].115
I guess that's telling us that it's paragraph 20 in doc fragment 10, whatever that means. It's nice that it probably won't vary with different layouts, but it is indeed kind of intractable to use for any purpose.

I'll play around with improving on this; if it comes to enabling a setting, I can always recommend that in the README.md.
isosphere is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Old Plugin Thread for KOReader Sync harmtemolder Plugins 112 08-01-2024 02:29 AM
ASCM/Adobe plugin for KOReader JJTech KOReader 2 07-07-2022 02:58 PM
How does the KOReader Evernote plugin work? maximus83 KOReader 3 01-27-2019 03:27 PM
What plugin do you suggest to move ebooks to your koreader? lori87 KOReader 2 10-27-2018 01:46 PM
Koreader device plugin? richo Devices 3 08-07-2018 08:12 AM


All times are GMT -4. The time now is 06:42 AM.


MobileRead.com is a privately owned, operated and funded community.