|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#16 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 50,233
Karma: 178398938
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
For what little it may be worth, I looked at the lxml_html_clean project on GitHub. I downloaded the project.zip file and copied the lxml_html_clean directory from the zip file into the C:\Users\<user>\AppData\Local\sigil-ebook\sigil\plugins\HTML2Epub directory. I then edited the cutils.py file and edited line 15.
Code:
Original: import lxml.html.clean as clean Code:
Replacement: import lxml_html_clean.clean as clean After some testing, I found that I preferred using Sigil's builtin add existing file tool for adding HTML to an ePub. HTML2ePub seems to require that I have either a <h1> or <h2> header and requires title, author, publisher, etc. be entered. I've attached the modified plugin to this message. |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [GUI Plugin] DjVuMaker - converts Postscript books to Djvu | TheWizard | Plugins | 24 | 05-29-2025 05:57 PM |
| [Plugin] OpenDocHTMLImport - Full ODF HTML(Writer) conversion to epub | slowsmile | Plugins | 94 | 10-01-2017 12:59 PM |
| Previously converted html no longer converts. | chrisanthropic | Conversion | 5 | 12-31-2011 10:15 PM |
| No Images When HTML Converts to Mobi -Why? | Akua | Conversion | 4 | 11-22-2011 02:52 AM |
| HTML converts to ZIP? | Deejub44 | Calibre | 2 | 01-24-2009 09:57 PM |