View Single Post
Old 09-06-2015, 09:39 PM   #2386
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by ectoplasm View Post
Zsync doesn't add involve adding code to the server, the code is client side and pulls from the server via http and byte ranges. There must be logic in the koreader implementation to seek out other clients. I looked at the code, but didn't feel inclined to undertake to work out a way to imitate a client (maybe simple, maybe not).

I found a fairly simple alternative (at least one I know how to implement), and that is serving up a bare-bones ODPS file from Lighttpd. I got the idea from Calibre's ODPS server. I can script a file change monitor, which generates the ODPS file list, without all the extraneous tags Calibre uses which I don't care about.

This gets me where I wanted, which is to drop epubs in a folder (step 1), and then pull them later from the reader (step 2). I do this now with nickel and kobo's browser (and could still do that from KSM if I load up nickel). I prefer this to the standard approach, where both steps must be done at the same time. Note that my "server" is always on, so this wouldn't work for folks without a server.
I also prefer to do such things with OPDS, if you can do it with a browser you should be able to add the URL to Koreaders OPDS listings of catalogs. It can't handle authentication yet, though. (zsync would not be good for an epub, unless you were writing it and wanted to sync to your drafts as you work on the story. Or if you were editing it.)

Luck;
Ken

Last edited by Ken Maltby; 09-06-2015 at 09:56 PM.
Ken Maltby is offline   Reply With Quote