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

Go Back   MobileRead Forums > E-Book Software > EPUBReader

Notices

Reply
 
Thread Tools Search this Thread
Old 11-20-2009, 12:30 AM   #1
nirax
Junior Member
nirax began at the beginning.
 
nirax's Avatar
 
Posts: 6
Karma: 10
Join Date: Jul 2009
Location: Hyderabad
Device: none
multiple copies

first of all let me thank you for this excellent addon. However there are a few issues I would like to draw your attention to.

1. this addon creates a copy of the file in profile directory. moreover if that file (the copy) is accessed, one more copy of it created. for someone who has many EPUBs, this will result in multiple copies of the same file leading to unneccessary wastage of space. instead of copying the file it is desirable to create a shortcut (or soft link).

2. this addon has changed the default behaviour of EPUB files to directly open ... this is a problem if one wants to download the file to his PC in a preferred location. you may say that "right click -> save link" would rectify the problem. however some sites (manybooks.net) do not send a permalink to the file but instead dynamically generate data from a script. so it becomes impossible to download the file. sure it is downloaded in the profile directory (but the download is not logged in the download manager!!) but it is a pain in the ass to go to the profile directory in case one wants to copy in in a USB-stick or open with another reader.

I hope the above is counted as genuine concern. i think it would be a nice idea to have a 'options' configurator where one can set how to handle files got directly from internet and files opened from PC.

Niraj
nirax is offline   Reply With Quote
Old 11-20-2009, 04:53 AM   #2
mikelv
Developer of EPUBReader
mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.
 
Posts: 262
Karma: 1922
Join Date: Oct 2009
Device: none
Hi Niraj,

thanks for your feedback!

Quote:
Originally Posted by nirax View Post
first of all let me thank you for this excellent addon. However there are a few issues I would like to draw your attention to.

1. this addon creates a copy of the file in profile directory. moreover if that file (the copy) is accessed, one more copy of it created. for someone who has many EPUBs, this will result in multiple copies of the same file leading to unneccessary wastage of space. instead of copying the file it is desirable to create a shortcut (or soft link).
You are right and you are not the first who mentioned it . I'll change it that way: if you open the same ePub file again (the ePub book id is checked) via File open or you download it, no additional copy will be made, but the old version will be overwritten. Additionally I could remove the original ePub-file because it's no longer needed after it has been process by EPUBReader.

Quote:
Originally Posted by nirax View Post
2. this addon has changed the default behaviour of EPUB files to directly open ... this is a problem if one wants to download the file to his PC in a preferred location. you may say that "right click -> save link" would rectify the problem. however some sites (manybooks.net) do not send a permalink to the file but instead dynamically generate data from a script. so it becomes impossible to download the file. sure it is downloaded in the profile directory (but the download is not logged in the download manager!!) but it is a pain in the ass to go to the profile directory in case one wants to copy in in a USB-stick or open with another reader.

I hope the above is counted as genuine concern. i think it would be a nice idea to have a 'options' configurator where one can set how to handle files got directly from internet and files opened from PC.

Niraj
To be honest: it was one of the hardest parts to get it working, that not the "open" dialog pops up, but the file is downloaded and processed . In my opinion this is one of the main benefits when you use EPUBReader. The downside of this is, like you mentioned, that the original ePub-file is only stored in the profiles directory. Due to security reasons it's not possible for an addon to store the file anywhere else.

It would be easy to change it that way, that one can configure, what should be happen when you click on an ePub-file on a website. If you don't like that the file is processed by EPUBReader directly, the Firefox "open" dialog would open and you could store the file where you want.

What do other people think about that solution? Any other ideas?

Michael
mikelv is offline   Reply With Quote
Old 11-20-2009, 05:14 AM   #3
nirax
Junior Member
nirax began at the beginning.
 
nirax's Avatar
 
Posts: 6
Karma: 10
Join Date: Jul 2009
Location: Hyderabad
Device: none
actually the fact that it automatically opens up EPUBs is a great benefit. anybody who has used CHM reader addon will know what i am talking about.

but the conflict comes for files downloaded from the web. can the addon be configured in such a way that it asks the user (for download or direct display) if a web-based EPUBs is opened, but local files are opened directly inside browser.

Niraj
nirax is offline   Reply With Quote
Old 11-20-2009, 05:15 AM   #4
Dave_S
What Title ?
Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.
 
Posts: 1,325
Karma: 1856232
Join Date: Jan 2009
Location: Bavaria Germany
Device: HTC Sensation 4G (KK), Nexus 7b (KK)
Quote:
Originally Posted by mikelv View Post
It would be easy to change it that way, that one can configure, what should be happen when you click on an ePub-file on a website. If you don't like that the file is processed by EPUBReader directly, the Firefox "open" dialog would open and you could store the file where you want.
For me, the Firefox "open" dialog would be preferable, since I would read some EPUB books on my portable reader and some others on EPUBReader.
Dave_S is offline   Reply With Quote
Old 11-20-2009, 11:45 AM   #5
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 9,735
Karma: 5072190
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
Another choice might be to offer a save copy command in the ePUB library manager that could allow the user to easily move or copy the ePUB file that is saved in the profile area.

Dale
DaleDe is online now   Reply With Quote
Old 11-21-2009, 07:27 AM   #6
mikelv
Developer of EPUBReader
mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.
 
Posts: 262
Karma: 1922
Join Date: Oct 2009
Device: none
In my opinion the best solution is the idea from Dale. I'll combine it with the idea of April (http://www.mobileread.com/forums/sho....php?t=62839):

I'll add a save buttom at the bottom of the epub and in the library page.

In first step EPUBReader opens the ePub automatically, if you like it, you can save it additionally to a location of your choice.
mikelv is offline   Reply With Quote
Old 11-21-2009, 08:00 AM   #7
mbovenka
Wizard
mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.
 
Posts: 1,251
Karma: 1619751
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Aura H2O
Quote:
Originally Posted by mikelv View Post
In first step EPUBReader opens the ePub automatically, if you like it, you can save it additionally to a location of your choice.
Cool! I had the problem with ePubs downloaded from my Fictionwise Bookshelf; this will fix that nicely.
mbovenka is offline   Reply With Quote
Old 12-18-2009, 04:21 AM   #8
cklammer
Zealot
cklammer has a complete set of Star Wars action figures.cklammer has a complete set of Star Wars action figures.cklammer has a complete set of Star Wars action figures.cklammer has a complete set of Star Wars action figures.cklammer has a complete set of Star Wars action figures.
 
cklammer's Avatar
 
Posts: 105
Karma: 450
Join Date: Feb 2009
Location: Abu Dhabi, United Arab Emirates
Device: Palm Centro, Acer Aspire One
Quote:
Originally Posted by mikelv View Post
What do other people think about that solution? Any other ideas?

Michael
Calculate for each every epub file a CRC32 checksum and store it and the file size of the epub file directly after download. Now when you download a new epub you just need to compare tboth he CRC32 and filesize of the new epub with your database records. If you find a match than it is very, very, very likely that one or more of the epubfiles in the collection and the newly downloaded epubfile are identical then you just have to act accordingly (warn the user or whatever).
cklammer is offline   Reply With Quote
Old 12-18-2009, 06:14 AM   #9
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,086
Karma: 1444487
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Save options

My choice would be for it to act like when I open a PDF and a dialog box comes up with open with... and save to.

I have been downloading a number of epubs off of archive and they are not ready to use. I will need to use sigil and notepad ++ to civilize them. So a dialog box that had open with as the default option and save as the second option would be my choice.

If it were configurable that would be the best of all. That would allow current behavior which is great for ready to read epubs and the behavior which I mentioned which would be more useful for those downloading epubs that need work.
mrmikel is offline   Reply With Quote
Old 12-18-2009, 11:13 AM   #10
mikelv
Developer of EPUBReader
mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.
 
Posts: 262
Karma: 1922
Join Date: Oct 2009
Device: none
Quote:
Originally Posted by cklammer View Post
Calculate for each every epub file a CRC32 checksum and store it and the file size of the epub file directly after download. Now when you download a new epub you just need to compare tboth he CRC32 and filesize of the new epub with your database records. If you find a match than it is very, very, very likely that one or more of the epubfiles in the collection and the newly downloaded epubfile are identical then you just have to act accordingly (warn the user or whatever).
I think the best idea would be to use the identifier of the ePub. Idential identifier = identical epub.
mikelv is offline   Reply With Quote
Old 12-18-2009, 11:49 PM   #11
Sabardeyn
Guru
Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.
 
Sabardeyn's Avatar
 
Posts: 629
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
Alright, I've got to raise some questions here regarding using CRCs and/or identifiers.

If the CRC is based on the epub file, and the epub file included bookmark information, than the CRC will never be valid. Because every time a bookmark is added, removed or changed, the CRC will be altered.

Identifiers pose a similar problem because it implies that books never change. And the problem is that ebooks are changing. Ebooks are starting to have versions, just like software, due to corrections in page order, typos, etc. However, in most instances no version information or release note is being offered. Changes are being implemented without warning or anyone's knowledge. So effectively two people could have the exact same book. Except, they're different. Until some kind of major snafu occurs with a mis-quotation, things will be awkward. (Which is why I'm really rooting for the widespread appeal of e-textbooks and other non-fiction writings which need clear and accurate citations.)

Because of both of these issues, I would prefer that the user be asked where they want to save a file. Barring that, perhaps a user setting with a default Save To... path? At least then the user knows where to find any downloaded files.
Sabardeyn is offline   Reply With Quote
Old 12-19-2009, 06:35 AM   #12
mikelv
Developer of EPUBReader
mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.
 
Posts: 262
Karma: 1922
Join Date: Oct 2009
Device: none
Quote:
Originally Posted by Sabardeyn View Post
Alright, I've got to raise some questions here regarding using CRCs and/or identifiers.

If the CRC is based on the epub file, and the epub file included bookmark information, than the CRC will never be valid. Because every time a bookmark is added, removed or changed, the CRC will be altered.

Identifiers pose a similar problem because it implies that books never change. And the problem is that ebooks are changing. Ebooks are starting to have versions, just like software, due to corrections in page order, typos, etc. However, in most instances no version information or release note is being offered. Changes are being implemented without warning or anyone's knowledge. So effectively two people could have the exact same book. Except, they're different. Until some kind of major snafu occurs with a mis-quotation, things will be awkward. (Which is why I'm really rooting for the widespread appeal of e-textbooks and other non-fiction writings which need clear and accurate citations.)

Because of both of these issues, I would prefer that the user be asked where they want to save a file. Barring that, perhaps a user setting with a default Save To... path? At least then the user knows where to find any downloaded files.
Thanks for your feedback Sabardeyn!

For me these are two different topics: how can a unique book be identified and where should the epub-files be stored.

Identification
I did already talk to Jon Noring who is one of the main contributors to the ePub specification. He said that the identifier is the way to go to distinguish between different books. This would mean, if you load a book, it's checked if you loaded already another book with the same identifier, if this is the case, the stored book is overriden with the new loaded book.

And you are right, there is no version information in the book. But this is something EPUBReader can't solve, this has to be solved in the ePub specification.

Store location
Due to security reasons the profile directory of Firefox is the only place where EPUBReader can store the ePub-files. As I know that many people want to store their epubs in another directory because they want to transfer them e.g. to their netbook, I've added the possibility to save the epubs at a location of your choice (via the save button at the bottom or in the ePub-library).
mikelv is offline   Reply With Quote
Old 12-21-2009, 12:25 PM   #13
cklammer
Zealot
cklammer has a complete set of Star Wars action figures.cklammer has a complete set of Star Wars action figures.cklammer has a complete set of Star Wars action figures.cklammer has a complete set of Star Wars action figures.cklammer has a complete set of Star Wars action figures.
 
cklammer's Avatar
 
Posts: 105
Karma: 450
Join Date: Feb 2009
Location: Abu Dhabi, United Arab Emirates
Device: Palm Centro, Acer Aspire One
Quote:
Originally Posted by mikelv View Post
Store location
Due to security reasons the profile directory of Firefox is the only place where EPUBReader can store the ePub-files. As I know that many people want to store their epubs in another directory because they want to transfer them e.g. to their netbook, I've added the possibility to save the epubs at a location of your choice (via the save button at the bottom or in the ePub-library).
Ahem, under Linux/Unix there is theoretically a way to circumvent this by using a symlink to another storage location. It is a geek solution, though, and not in the cards for Window$ users. And it is considered kinda crude.

Just my 0.02$

What I'd love to see is generating meaningful human-readable file names when re-saving epub files via the "save" button. E.g. using the following pattern:

<last name>, <first name> - <title>
cklammer is offline   Reply With Quote
Old 12-21-2009, 03:07 PM   #14
mikelv
Developer of EPUBReader
mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.
 
Posts: 262
Karma: 1922
Join Date: Oct 2009
Device: none
Quote:
Originally Posted by cklammer View Post
Ahem, under Linux/Unix there is theoretically a way to circumvent this by using a symlink to another storage location. It is a geek solution, though, and not in the cards for Window$ users. And it is considered kinda crude.

Just my 0.02$
You are right, but like you said, this is limited to Unix. I'll check again if the storage problem can be solved in another way.

Quote:
Originally Posted by cklammer View Post
What I'd love to see is generating meaningful human-readable file names when re-saving epub files via the "save" button. E.g. using the following pattern:

<last name>, <first name> - <title>
Good idea. We already discussed this, but I just forgot to put this on the change list. I add it now.
mikelv is offline   Reply With Quote
Old 12-21-2009, 10:47 PM   #15
cklammer
Zealot
cklammer has a complete set of Star Wars action figures.cklammer has a complete set of Star Wars action figures.cklammer has a complete set of Star Wars action figures.cklammer has a complete set of Star Wars action figures.cklammer has a complete set of Star Wars action figures.
 
cklammer's Avatar
 
Posts: 105
Karma: 450
Join Date: Feb 2009
Location: Abu Dhabi, United Arab Emirates
Device: Palm Centro, Acer Aspire One
Invalid Identifiers?

Quote:
Originally Posted by mikelv View Post
Identification
I did already talk to Jon Noring who is one of the main contributors to the ePub specification. He said that the identifier is the way to go to distinguish between different books. This would mean, if you load a book, it's checked if you loaded already another book with the same identifier, if this is the case, the stored book is overriden with the new loaded book.
May I ask: What is the plan if an ePub does not have a valid identifier resp. the identifier is not set or set to zero/null?

Because you will have to deal with stuff like that. Creating mix-ups like that is part and parcel of being Human, after all.
cklammer 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
<Command Line> Add multiple books in multiple formats himitsu Calibre 8 09-26-2010 12:07 AM
Bug: entries with multiple formats trigger multiple conversions flinx1 Calibre 12 05-21-2010 07:23 AM
Multiple Copies on Reader! niki_a Sony Reader 9 04-20-2010 10:05 AM
Multiple copies of same book in different formats Starson17 Calibre 10 01-07-2010 12:55 PM
In Design CS3 creates multiple copies of same images! paulgodard Workshop 2 12-13-2009 11:22 AM


All times are GMT -4. The time now is 02:05 PM.


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