Quote:
Originally Posted by ThreeLizards
Okay, so for the cover thing, it's every single story I try to download.
....
|
Yeah, that's not Generate Cover having a problem.
That's Calibre's "Set cover from ebook format" code called by having FFF's "Update Calibre Cover (from EPUB)" setting turned on, in combination with your custom
titlepage_start setting.
You can see this happen manually if you Edit metadata in Calibre, choose the epub format and click the cover from format button:
Technically, the very start of an xhtml file has to be "<?xml ...?>". You have an extra new line.
Code:
# don't do this:
titlepage_start:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
...
# do this:
titlepage_start:<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
...
The next question is: Why didn't the GC cover run and immediately hide that problem?
The answer to that is that the GC GUI selection uses FFF's
site metadata entry--and you've changed it in
replace_metadata.
There are certain metadata entries FFF uses internally that,
technically can be changed by the user, but will break certain features. Especially, storyUrl, but also site, & status.
So: You can either not change
site, use Default GUI GC instead of archiveofourown.org, or use
generate_cover_settings to specify the GC setting to use.
FYI,
publisher is a copy of
site that gets put in Calibre's Publisher field. That, you can safely change.
From defaults.ini:
Code:
## The metadata entry 'site' predates Calibre integration, and was
## later labeled Publisher and used to fill Calibre's Publisher field.
## Because users keep expecting it to be 'publisher' instead,
## 'publisher' is now a copy of 'site' and the Calibre plugin now uses
## 'publisher' instead. Default titlepage_entries are also changed.
include_in_publisher:site
publisher_label:Publisher