Quote:
Originally Posted by da_jane
Is there a reason that some catalogs fully download and others do not
|
I do not see such problems. It may simply be that the catalog download is timing out for some reason. This is more likely to happen if downloading over the phone network rather than via Wifi. If specific files are giving an error then it could be an error in the catalog generation - if you can identify the catalog file in such a case I would be interested in having a copy to see if I can spot what is going wrong. The first message in this thread should always have the latest version of the script attached to it.
Make sure that you are using the latest copy of the script. Some of the recent updates were to fix issues around correctly escaping unusual characters at the XML level which could otherwise stop catalogs loading.
Quote:
or why some ebooks have the download ability and others do not?
|
Are you saying that they start to download and then fail or that there is no download link?
If there is no download link - then that will be because the script currently checks to see if there is an epub file, and only generates the download link if there is one. It is relatively trivial to change the script to either filter out listing books for which there is no epub book, or to allow for other file types. I personally like to see all entries from the Calibre library even if I do not yet have books in the correct electronic format.
If there is a download link, and it then fails to start the download it can mean that there is a case discrepancy between the file mentioned in the catalog XML and the actual filename on the web server. Note this only matters if you are running the web server on a system where case in filenames is significant. Correcting the case in such cases will fix the issue. The script always uses the case defined in the calibre metadata.db file, so ideally you should change any files which have the wrong case in their name to match the calibre database. Let me know if this is what is happening for you, as it would be possible to enhance the script to look at the actual files on the hard disk, and use the case from there instead - I will think about that.