Quote:
Originally Posted by slowsmile
@Hitch...Yup, got it. Much thanks for clarifying.
The plugin currently gives a warning if the cover page(cover.xhtml file) is present in the epub. There is also no need for a guide cover ref check because when you remove or delete the cover page in Sigil, the guide cover ref will also automatically be removed in the content.opf.
|
My reason for suggesting the check for the guide reference was to find the actual file name of any xhtml page that had been marked with the cover semantic. Merely checking for the presence of a file named "cover.xhtml" is insufficient in my opinion. A "cover.xhtml" file could exist that wasn't marked with the cover semantic (and thus does not qualify as a cover "page" that warrants a warning/error). And because any xhtml file with any name could be marked with the cover semantic and should qualify for the warning/error.
The mere existence of a file named "cover.xhtml" itself is not the relevant factor in whether or not a warning/error should be generated. It's the existence of a file that is marked as a cover page (with a reference entry in the guide section) that determines if Amazon's "No xhtml cover page" rule is being violated or not.