View Single Post
Old 12-21-2017, 01:29 PM   #3
Midwinter
Junior Member
Midwinter began at the beginning.
 
Midwinter's Avatar
 
Posts: 5
Karma: 10
Join Date: Dec 2017
Location: Winnipeg, MB
Device: Kobo
Interesting, thanks Ken! Maybe I'll try writing a plugin when I've got some spare time. I don't think the change would need to be reflected instantly, perhaps the next state change.

The approach I think I might implement would basically consist of a user configurable single external endpoint and on page-turn it would trigger an async POST within KOReader (with a device UID and maybe some useful statistics like current book title, progress stats etc if the users endpoint wanted to use it for something) and the endpoint could return a response with some JSON that would get validated by the plugin and change the appropriate setting
Midwinter is offline   Reply With Quote