View Single Post
Old 08-22-2010, 07:23 PM   #11
farrioth
Enthusiast
farrioth began at the beginning.
 
Posts: 36
Karma: 12
Join Date: Aug 2010
Device: Kobo eReader
Quote:
Originally Posted by Mememememe View Post
This actually sounds like a lot more work than just going to the last chapter and flipping pages.
Well, it depends how long your chapters are...


Quote:
Originally Posted by Jafo View Post
Thanks for sharing farrioth. The more we share, the more we learn! I'll give it a try if for no other reason than to play with the database!
You're welcome. Let me know if you come across anything else interesting in the database.


Quote:
Originally Posted by zoran View Post
Used sqlite eons ago. My idea would be to either handle it with
sqlite directly
This would indeed work, but would involve writing some interface code to make it nice. Doing something in Python with pysqlite would probably be quite good, and it appears Calibre uses Python for its plugin interface too.

Quote:
Originally Posted by zoran View Post
Another topic might be "jump to page XX".
The database seems to store the current position by the paragraph and word (fields are 'ParagraphBookmarked' and 'BookmarkWordOffset'), presumably to account for the font resizing, which presents a bit of a challenge.
farrioth is offline   Reply With Quote