Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 02-06-2026, 12:52 AM   #16
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
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
At that point HTML2ePub came up and I imported an HTML into an ePub.

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.
Attached Files
File Type: zip HTML2Epub_modded.zip (1.09 MB, 5 views)
DNSB is online now   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 12:20 AM.


MobileRead.com is a privately owned, operated and funded community.