KDPValidator
A Sigil Plugin
Validate epubs for KDP upload only
Requirements
Plugin Type: Edit
MIT Licence(OSI)
Minimum Sigil requirement: v0.9.3 or higher
Python Requirements: Python 3.4+ (Bundled or External)
OS Requirements: Windows, Linux or OSX
*** Tested on Windows 7, 8 & 10 only ***
Current Version: "0.1.0"
Installation
* Select Manage Plugins from the Plugins menu. In the dialog box, select either the Bundled Python or the External Python(Python 3.4+ should be installed on your computer to run this plugin externally).
* Click Add Plugin and select KDPValidator_vXXX.zip. This will load and install the plugin into Sigil, which you can then run by selecting Plugins > Edit > KDPValidator
Description
This plugin checks and validates epubs for Amazon Kindle upload only and should be used for epub 2.0 ebooks that are going to be viewed on KF8 or KF7 devices. This plugin gives the user a last quick check before upload to KDP.
The plugin checks for the following:
Unsupported html tags.
Usupported
html attributes.
Unsupported style attributes in the css, html <styles> and html inline styling(very basic check).
Bad
cover image format.
Bad ebook image format.
Bad
internal links
SVG
image warning
Ebook
images, smaller than max page size, that are not dual formatted
Non-use
of heading styles.
Inappropriate use of absolute values in the css.
Missing cover image file.
Cover
image file in the wrong file position in the Book Browser
Missing TOC file.
Logical
TOC does not contain the same toc items as the epub TOC file.
Missing opf guide references.
Look Inside formatting issues.
Caveat
Be aware that if you've used an epub converter that uses indexed styling -- such as calibre23, scrivener15 etc -- in the css then only a few of the plugin's css checks can be run. However, all further checks on the epub's content.opf, toc.ncx and xhtml files should run without any problems.
Plugin Run
* First load your epub into Sigil, run Epubcheck and ensure there are no errors.
* Run this plugin.