pgaskin/kepubify

Feature request: Unkepubify

d-faure opened this issue · 2 comments

Hi,

I would find quite interesting to have a simple way to reverse the tool action and be able to get a check-compliant epub from a kepub.

check-compliant epub

A valid KEPUB is a valid EPUB, except for the [properties="cover-image"] on the cover image manifest item if it's an EPUB2.

Is there a specific use case you have in mind?

Looking a bit on the kepubification process I noticed that a lot of extra html structures were introduced into the original code (even some javascript).
I'm used to make compilation of my books to keep stories in several parts in a single volume, and few times I had to process kepubs, I found redundant span definitions I had to manually remove before merging them, and as far as you already know how to process books in a way, I was thinking it wouldn't be too difficult for you to reverse the operation.