|
|
#1 |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Nov 2025
Device: none
|
Plugin Epub2Text to export an Epub ebook to Text
I've written a simple plugin to extract the text from an Epub.
Only the text is extracted from the HTML file, no links, images etc. Before exporting the ebook, I always run Tools - Reformat HTML - Mend and Prettify All HTML Files. The output file has the same filename as the Epub, but extension .txt. Existing files are not overwritten. I've used the plugin a few times myself and it works for me. I've also compared the output to the Calibre text output, and while there are differences (can't remember exactly, but I think Calibre replaces non-breaking spaces (and ligatures?) and keeps spaces at the beginning of a line, etc.), I still like my output. I hope some of you will find the tool useful. Feedback is appreciated. |
|
|
|
|
|
#2 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,370
Karma: 62500000
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
??? What does this do different from the builtin "Output to" Conversion setting(s)
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49,041
Karma: 174631586
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Where do we find the 'builtin "Output to" conversion' setting? Are you perchance thinking about calibre's convert to text? The output is different between calibre and this plugin though I haven't decided which if either I prefer.
Last edited by DNSB; 11-25-2025 at 05:20 PM. |
|
|
|
|
|
#4 | |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,370
Karma: 62500000
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Dang, this is the second time I gave a Calibre answer in Sigil
Last edited by theducks; 11-25-2025 at 08:36 PM. Reason: oops |
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calibre export to ePub fails: "Failed to initialize plugin: ... DeDRM.zip" | res555 | Conversion | 4 | 06-14-2022 11:55 PM |
| ebook-convert - text to epub conversion failing | flink | Conversion | 0 | 06-23-2017 07:03 AM |
| creating an output (export) plugin | foobert5 | Development | 1 | 02-12-2016 07:21 PM |
| PRS-T1 Coolreader in rooted Prs T1 export all highlighted text in epub without limits? | Talayero | Sony Reader Dev Corner | 2 | 04-11-2012 12:47 PM |
| Text entry into an ePub eBook | peadra | ePub | 1 | 09-22-2011 01:06 AM |