rschroll / beru

The Basic Epub Reader for Ubuntu
http://rschroll.github.io/beru/
GNU General Public License v3.0
24 stars 12 forks source link

Save place in book across all devices #7

Closed rschroll closed 11 years ago

rschroll commented 11 years ago

Currently, your place in a book is saved as a cookie in the WebView, which is about the least portable thing to do. It would be much better to save this information globally somehow, so that you can resume where you left off on any device. The U1DB should offer this ability.

We'll need find some way to identify books other than their file name, though, since this may not be the same on all devices. QuaZip exposes the CRC, a checksum, that may be unique enough for us.

rschroll commented 11 years ago

Related, we may want to save the style of the book across devices as well. But I'm not convinced about this -- you probably want small margins on your phone and larger ones on your tablet. I guess it could be a user option, but it be better to figure out what the right thing is and just do it.