Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 09-01-2013, 11:36 AM   #1
Francois_C
Zealot
Francois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipse
 
Francois_C's Avatar
 
Posts: 106
Karma: 8300
Join Date: Jul 2012
Location: France
Device: Kobo Aura H2O, Kobo Touch, Kobo Mini
Reader touches the e-book file date (Windows, 64-bit)

I noticed recently that ebook-viewer.exe "touches" (IE changes the date to the present one) my epub files dates, which is not only useless but obviously noxious, especially as it is my default PC epub reader.
Not yet verified if it also happens on Linux.
Thanks.
Francois_C is offline   Reply With Quote
Old 09-01-2013, 11:52 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,768
Karma: 54401244
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Francois_C View Post
I noticed recently that ebook-viewer.exe "touches" (IE changes the date to the present one) my epub files dates, which is not only useless but obviously noxious, especially as it is my default PC epub reader.
Not yet verified if it also happens on Linux.
Thanks.
You probably have 'remember current page when quitting' set
(In the Viewer) Preferences: Miscellaneous
theducks is offline   Reply With Quote
Advert
Old 09-02-2013, 12:08 AM   #3
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by Francois_C View Post
I noticed recently that ebook-viewer.exe "touches" (IE changes the date to the present one) my epub files dates, which is not only useless but obviously noxious, especially as it is my default PC epub reader.
Not exactly useless if you want it to remember where you left off during reading. If you want to stop the date change then go to the setting theducks indicated and change it.
DoctorOhh is offline   Reply With Quote
Old 09-02-2013, 05:20 AM   #4
Francois_C
Zealot
Francois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipse
 
Francois_C's Avatar
 
Posts: 106
Karma: 8300
Join Date: Jul 2012
Location: France
Device: Kobo Aura H2O, Kobo Touch, Kobo Mini
Thanks both of you. I did not check the box myself, as I never read a book on a computer; I only use the reader to check files, find a quote, etc. Things I cannot do as easily on the Kobo that is too slow and poorly designed
But I think changing the file you are supposed to view only is not a good programming practice. This should be written to an external file.
Changing the file date should only be used for a serious file modification.
Francois_C is offline   Reply With Quote
Old 09-02-2013, 05:45 AM   #5
faltradl
Guru
faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.
 
Posts: 602
Karma: 1712372
Join Date: Feb 2013
Location: germany
Device: PocketBook Touch
Quote:
Originally Posted by Francois_C View Post
But I think changing the file you are supposed to view only is not a good programming practice. This should be written to an external file.
Yes an no. Writing the last read page to en external file works only on the same computer. If you copy/move it to another compter he dosn't know somthing of it.
Quote:
Changing the file date should only be used for a serious file modification.
How do you whand do that? That's a function of the operating system. Every modern OS safes the last time of reading al file. And of course, when a program writes something into al file the file date must be changed.

Some OS, for example Unix/Linux, change the file date if a file ist copied. Not changed, only using the cp-commad of the OS.
faltradl is offline   Reply With Quote
Advert
Old 09-02-2013, 07:27 AM   #6
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by Francois_C View Post
But I think changing the file you are supposed to view only is not a good programming practice. This should be written to an external file.
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.

Quote:
Originally Posted by Francois_C View Post
Changing the file date should only be used for a serious file modification.
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.

Last edited by DoctorOhh; 09-02-2013 at 07:31 AM.
DoctorOhh is offline   Reply With Quote
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,759
Karma: 30063305
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
Old 09-02-2013, 11:37 PM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The bookmarks are stored inside epub files so that you can share them with other people, and other computers with no difficulty. That is an extremely elegant solution. And the viewer stores bookmarks outside the file for formats other than epub that dont support arbitrary data being added to the file.
kovidgoyal is offline   Reply With Quote
Old 09-02-2013, 11:41 PM   #9
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by Dopedangel View Post
Putting a file inside the epub to remember the last place read is not an elegant solution.
I wonder what your point is using these words, since I stated that it was an elegant solution to me. Saying it is not an elegant solution is meaningless.

I have no qualms with the rest of your well thought out post.
DoctorOhh is offline   Reply With Quote
Old 09-03-2013, 01:39 AM   #10
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,759
Karma: 30063305
Join Date: Dec 2006
Location: Singapore
Device: Boyue
Quote:
Originally Posted by DoctorOhh View Post
I wonder what your point is using these words, since I stated that it was an elegant solution to me. Saying it is not an elegant solution is meaningless.

I have no qualms with the rest of your well thought out post.
Yeah I should have added not an elegant solution to me
Dopedangel is offline   Reply With Quote
Old 09-07-2013, 05:49 AM   #11
LadyKate
Fanatic
LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.
 
Posts: 515
Karma: 1470724
Join Date: Jul 2013
Location: Quebec CA
Device: android 4 (samsung tablet and asus tablet)
Hummm, The one problem with epubs that I have is finding duplicates. As the bookmark file changes it, an updated cover or tags changes it but the base ebook, the text is the same.

Duplicate checkers only look at the whole file, even the plugin. It would be so very useful to have a way to check for exact duplicate text while ignoring the additional data and covers.

<just some wishful thinking lol>
LadyKate is offline   Reply With Quote
Old 09-13-2013, 05:17 AM   #12
Francois_C
Zealot
Francois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipse
 
Francois_C's Avatar
 
Posts: 106
Karma: 8300
Join Date: Jul 2012
Location: France
Device: Kobo Aura H2O, Kobo Touch, Kobo Mini
I suppose that, when the 'remember current page' box is on, the reader does not only 'touch' the file info, but recompresses the file and saves it again. So, even the size may be different, or I suffer hallucinations. When I initiated this thread, I didn't dare to tell it, but I thought that I had noticed it too (for files previously compressed with a slightly different zip algorithm or parameters?).
But as for me, I got a satisfying answer to my question: as far as the box is unchecked, the behavior of the reader fits my needs. Maybe the box should be unchecked by default.
Francois_C is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Moon reader file organization in Windows Explorer moonproblems Android Devices 1 04-17-2013 07:53 AM
Moving ADE from 32-bit Windows to 64-bit Windows JSWolf General Discussions 7 03-09-2013 06:33 AM
Windows 7 64-bit + Calibre 0.9.14 64 bit BSD rjh007 Calibre 6 01-27-2013 03:35 PM
Does Calibre 64 bit Windows use 64 bit Python? KevinH Calibre 1 01-16-2011 11:14 AM
Book conversions MUCH faster on 64-bit Windows 7 HarryT Calibre 13 11-22-2009 10:14 AM


All times are GMT -4. The time now is 12:01 AM.


MobileRead.com is a privately owned, operated and funded community.