Quote:
Originally Posted by nrapallo
The .oeb that gets created allows the .epub to include the extracted images and hence produces a usable .epub. TO DO: Need to see if I can Extract OEBFF from within OnBuildStart.
|
I haven't been able to successfully use ExplodeOEBFF to extract the source files using that IBuilder method from within the .js script. The only option appears to create the .epub and use it as your source files. Must be a bug with eBook Publisher or differing syntax than the documentation in SBPubX.doc.
Quote:
I can't say the same for the .oeb that gets created though. eBook Publisher can't even open the .oeb file it creates, so there is no easy way to extract the .oeb to get at the source files!
|
I got eBook Publisher to FINALLY unpack its own created .oeb files (which are just text within) by editing one line therein! By changing the occurance of:
Code:
Content-Type: application/xhtml+xml
to:
Code:
Content-Type: text/x-oeb1-document
on the header of the .tmp (html) file, eBook Publisher can now open and unpack that .oeb. However, it renames the images and requires manual intervention. Another buggy aspect of this new .epub/.oeb support within eBook Publisher!
Next, I'm going to see what OnSourceStart and OnSourceDone can yield by way of access to the source files for the intent and purpose of changing it before the .imp gets created.