Quote:
Originally Posted by beccaa
... I lost my original html file for my ebook. I have the .mobi and .ebub files within Calibre and would love to know whether there's any way that I can extract the full original html file from either of those, or perhaps elsewhere in Calibre.
...
|
Not likely.
The original HTML doesn't not exist in the .MOBI. It would have been altered by the conversion process. Anything that you unpack from the .MOBI, if possible, would be this altered HTML or xHTML file.
The ePUB might contain the original HTML, but it is quite unlikely that it does. If the ePUB was created by a conversion to ePUB process then the HTML or xHTML in the ePUB would be somewhat different from the original.
As stated in another post, if (and that's a big IF) the original HTML was added to calibre before conversion to the other formats it would normally be wrapped up as a ZIP archive when added to the library. That ZIP would contain the original HTML, but no product of a conversion to another format (e.g. ePUB, MOBI, AZW3, ...) would contain an exact copy of the original HTML. Even when the target format for a conversion contains HTML file(s) the HTML code will have been altered by the conversion process so that it complies with the target format's limitations.