this post was submitted on 09 Apr 2026
478 points (98.4% liked)

Technology

83705 readers
2392 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] fonix232@fedia.io 1 points 23 hours ago (1 children)

which is fucking useless for actual progress sync of books because it doesn't handle concurrency (multiple readers reading the same content, potentially offline), and more importantly, modern ebook formats have no concept of "page" in transit. Oh, you read page 10? Awesome! Now do tell, is it page 10 on a 5" 800x480 eink display with 48px font size and giant margins/lineheights/word paddings, or is it page 10 on a 13" display of 2480x1860 resolution with 11px font size and barely any margins? Since you'll get wildly different results in both cases, and OPDS doesn't really allow for adapting this simple integer to a precise position.

No, for that you require a proper locator scheme, something OPDS doesn't provide and cannot enforce.

Page based progress is fine for fixed format publications - comics, PDF/DOCX files, etc., but that approach breaks irreparably the moment you switch to dynamically formatted content. In case of EPUV/MOBI/the various Kindle formats, you want to determine the reader's position based on the first and last paragraph/sentence visible on the reader and correlate that to a position within the actual files of the book, which is actually dynamic, as it can be resolved regardless if it's XML formatted EPUB or if you dumbed the book down to a simple TXT file.

So no, OPDS's PSE is at best a stopgap solution for syncing progress.

[–] Fmstrat@lemmy.world 1 points 8 hours ago (1 children)

doesn't handle concurrency

Kavita is multiuser, each with their own progress sync. https://wiki.kavitareader.com/getting-started/

Now do tell, is it page 10 on a 5" 800x480 eink display with 48px font size and giant margins/lineheights/word paddings, or is it page 10 on a 13" display of 2480x1860 resolution with 11px font size and barely any margins

Again, it's a protocol and developer discression can be used. Page 10 could be word 10, or word 1000/avg 10 words = 10. PSE can be used to store progress, without needing to request the page because the eBook is local. It could be any API format.

[–] fonix232@fedia.io 1 points 5 hours ago

by concurrency I meant multiple devices of the same user, not multiple users. I don't know why you'd even consider that I think other users' progress should be exposed on a single call?

and yet again, that progress doesn't mean anything when you base it on a number. locator patterns that find the SECTION you're in based on first-last word (or rather, sentence, for actual precision) are the way to go. you can try hacking this simplified protocol as much as you want, it will never work as well as a dedicated one.