(c) 2018 David Teviotdale
Tool I hacked up to clean-up epubs made by WebToEpub This is very much a work in progress, and not really my best work.
- Download prepackaged files from EpubEditor.zip from https://drive.google.com/drive/folders/1B_X2WcsaI_eg9yA-5bHJb8VeTZGKExl8
- Unpack the zip file.
- Open main.html in Chrome.
- Drag and drop epub onto the drop zone. Or click the "Choose File" button and select file on dialog that pops up.
- Click the button for the function you want. e.g.
- Click "Check for Zero Size Images" button to see if WebToEpub inserted "empty" images when it was unable to fetch the wanted image from the Internet.
- If it did, click "Remove Zero Size Images" to correctly remove them from the epub.
- To remove unwanted elements from an epub (e.g. Translator's notes from WebNovel.com) type the CSS selector that describes the elements into the text box beside the "Delete elements matching CSS" button and click same button.
- Copy the HTML and JS files to a directory.
- Add jszip.min.js from https://stuk.github.io/jszip/ to same directory
- Repeat steps from (easy way) starting with "Open main.html in Chrome"
Licenced under GPLv3.