View Single Post
Old 09-02-2013, 11:03 PM   #7
Dopedangel
Wizard
Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.
 
Dopedangel's Avatar
 
Posts: 1,795
Karma: 30548723
Join Date: Dec 2006
Location: Singapore
Device: Boyue
Quote:
Originally Posted by DoctorOhh View Post
Since I am not an expert in what is or isn't good programing practice I will simply state that I think bookmarking the last read position within the file seems like an elegant solution to me.



What the hell is a serious file modification? The OS changes the file modification date any time a file is modified. It isn't that major of an item. However if any user thinks it is a big deal it is amazing that they are in total control of preventing the file being modified while viewing.

Putting the control in the user's hands sounds like good programming practice to me.
Putting a file inside the epub to remember the last place read is not an elegant solution. Plus using such a system only allows calibre to remember the place in epub files and not in other formats as calibre viewer converts other formats to epub and that file is gone once you close the reader.
A better solution would be to have the last position saved to the metadata opf file that has the metadata for backup. Or to make a separate book mark file.
Actually now that I think about it making a separate bookmark file would be a good idea. There are hundreds of different readers (software) out there that use their own system for remembering last page read. If calibre could save bookmarks and the last read part separately I think plugin developers could come up with ways to sync that data with the readers that they support. So the read\unread position bookmarks could be synced across devices and software.
Me not being a developer can't actually bring this to calibre nor do I have the skills to understand if something like this is possible. But its an idea maybe some developer might think its something doable and as calibre is opensource might be willing to submit patches.
I would prefer someone else to do it apart from Kovid as I know he is busy bringing multi user and multi access to calibre so dont want him to take time away from that .
Dopedangel is offline   Reply With Quote