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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-17-2017, 12:54 AM   #1
Geremia
Connoisseur
Geremia shines like a glazed doughnut.Geremia shines like a glazed doughnut.Geremia shines like a glazed doughnut.Geremia shines like a glazed doughnut.Geremia shines like a glazed doughnut.Geremia shines like a glazed doughnut.Geremia shines like a glazed doughnut.Geremia shines like a glazed doughnut.Geremia shines like a glazed doughnut.Geremia shines like a glazed doughnut.Geremia shines like a glazed doughnut.
 
Posts: 96
Karma: 8778
Join Date: Oct 2012
Device: Calibre
Disable content-server's "Read this book" button?

Is it possible to disable the "Read this book" button served by Calibre 3.14's content-server, so that my CPU isn't overwhelmed converting books to HTML?
Geremia is offline   Reply With Quote
Old 12-17-2017, 01:03 AM   #2
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: 33,205
Karma: 10200000
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Dont click on it if you dont want to read books. If you mean you dont want other people who access your library to use it, then setup user accounts and only give trusted people access to it.
kovidgoyal is offline   Reply With Quote
Advert
Old 12-18-2017, 12:01 AM   #3
haertig
Addict
haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.
 
Posts: 329
Karma: 2370752
Join Date: Sep 2017
Device: Nook ST, Fire Gen7, PaperWhite3, iPhone 5S
The thing I don't care for in the built-in reader is that it stores the books in kind of a hidden place.

Most people are aware that their browser has a cache and stored cookies. But these days browsers also store a whole lot more "site data". Looking at my Chromium browser, I see these things stored: cookies, cache, Application cache, Cache Storage, Database storage, Local storage, File System, Channel ID, and Flash data. Many people have no idea about all this stuff that gets stored on a websites behalf (including calibre-server's internal reader's books). They don't know where it's located, how to get rid of it to free up disk space, what it's used for, etc.

Not that I use the internal reader, but if I did, I would prefer that it stored the books per the web browsers default download settings - usually either in the Download folder or "ask the user where to store it each time". Then the internal reader could save the path to the book for offline reading later. The user could accidentally (or intentionally) delete the book from wherever they downloaded it to, and thus break the internal readers linkage, but I think that would be preferable to the internal reader storing the book in this "hidden" site data area of the web browser.

The obvious answer is "don't click the button to read the book offline later". But if you don't know what that button does, and I didn't the first time I clicked it as a test, then you could end up with these hidden downloaded books following you around for the rest of your life because you don't know where they are or how to get rid of them. Maybe the internal reader has some kind of built-in cleanup to delete this stored data. That would be a nice feature.
haertig is offline   Reply With Quote
Old 12-18-2017, 12:57 AM   #4
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 14,861
Karma: 24696656
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo: Touch, Glo, Aura H2O, Glo HD, Aura ONE
Quote:
Originally Posted by Roshni Patel View Post
Didn't got what you mean to say
I think what Kovid is really saying is that there is no way to disable the reading function with the new server. You need to rely on the users not to use the function.

Something you could do is use the mobile site. This is basically an updated version of the old site intended for low-end browsers on ereaders and the like. Add "/mobile" to the URL to use it. It doesn't have a link to read the book, just the download options.
davidfor is offline   Reply With Quote
Old 12-18-2017, 06:46 AM   #5
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: 33,205
Karma: 10200000
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There's nothing hidden about it. A bit of googling will show you how to access the browsers indexeddb storage. And just FYI web apps cannot acces sthe download folder, or indeed any folder on your computer, that would be s ecurity nightmare.

And you can delete stored books by simply accessing the books controls and choosing delete.
kovidgoyal is offline   Reply With Quote
Advert
Old 12-18-2017, 11:03 AM   #6
haertig
Addict
haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.
 
Posts: 329
Karma: 2370752
Join Date: Sep 2017
Device: Nook ST, Fire Gen7, PaperWhite3, iPhone 5S
Quote:
Originally Posted by kovidgoyal View Post
And just FYI web apps cannot acces sthe download folder, or indeed any folder on your computer, that would be s ecurity nightmare.
I did not realize that. I thought they could, if you granted permission. Shows how much I know. Anyway, you're correct - it would be a security nightmare if they could access other areas of your computer without constraint. That would certainly be a disaster.

I wasn't trying to say that Calibre is trying to "hide" anything. I was just using the word "hidden" to describe an area of your computers storage that is not well known to many people. Therefore, stuff can build up there, unbeknownst to many users. Luckily, hard drives have so much capacity these days there is little need to worry about storage space. Personally, my bigger concern for these "little known storage areas" has more to do with websites tracking you and violating your privacy for their commercial purposes.

So in general, I don't like websites being able to store anything locally without my express permission. Maybe there's a setting for that in web browsers, but I haven't found the proper way to use it yet. Example: I have Chromium set to "delete cookies at the end of a browsing session", except for the specific websites I have granted permanent cookie privileges to. However, Chromium does not appear to delete other site data, aside from cookies, when I tick this "delete at end of session" checkbox. I would have expected either (1) a separate checkbox for each type of site data storage (which doesn't exist in Chromium that I can find), or (2) a single checkbox (the "cookies" one) that controls ALL of these different types of site data. But I haven't found either of these two things to be the case. So I am wary of any site data stored at all, and routinely review it manually. If I can't come up with an immediate reason for why it should be stored locally (e.g., a book from calibre-server's built-in reader), then I just delete it. Too bad, so sad for whatever web app decided it should save it on my computer.

Below is an example. Have I ever been to "weather.com"? Not to my recollection. Not that I remember even intentionally doing. It is not a website that I have granted permanent cookie privileges to, so even if I hit it accidentally, it's data should have been deleted at the end of my browsing session. Yet here is data that it has stored on my computer, apparently permanently, unbeknownst to me, until I looked just now (I have deleted it after this screenshot). Insignificant disk space is being used, but that's not the issue. The issue is that it is there in the first place. My response to behavior like this is to to tend to dislike website/apps that do this by default. I realize that some website/apps require such storage, but those should be few and far between, and subject to my explicit approval before they are allowed to store data. Maybe I just need to dig deeper into Chromiums web browser settings. This could be user error on my part.
Attached Thumbnails
Click image for larger version

Name:	storage.jpg
Views:	64
Size:	22.7 KB
ID:	160748  
haertig is offline   Reply With Quote
Old 12-18-2017, 11:08 AM   #7
haertig
Addict
haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.
 
Posts: 329
Karma: 2370752
Join Date: Sep 2017
Device: Nook ST, Fire Gen7, PaperWhite3, iPhone 5S
p.s. - My dislike of locally stored site data is not a knock against Calibre. I realize that it needs to do exactly this if you want to be able to use it's built-in reader while offline.

I thought it would be better if Calibre could store these offline books in a more "friendly" place, like your Downloads folder, but you have corrected me and pointed out that this is not possible. I thought web apps COULD store and access data elsewhere on your computer, but only after you granted them specific permission. My error in thinking that.
haertig is offline   Reply With Quote
Reply

Tags
content-server

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Content server password shown in "add new user" dialog Phssthpok Library Management 2 12-08-2017 07:50 AM
Cal 3.2.1 Content Server shows only "Receive OK" when accessing from iOS fkuehner Library Management 1 07-04-2017 05:48 AM
Nexus 7, Chrome, canoot "see" Calibre content server goglen Devices 6 08-28-2012 05:25 AM
When "Get"ting a book from Content Server..... Ginnia Calibre 4 02-17-2012 01:35 AM
Content Server "Get" book question Amalthia Library Management 2 02-14-2012 10:18 PM


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


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