Or I could take a break for a little bit and play some games.
Been working on this and more boring code for the office since 2:00AM this morning.
Or I could take a break for a little bit and play some games.
Been working on this and more boring code for the office since 2:00AM this morning.
I have on the fly editing and fixup of configure.opf and toc.ncx.
Now to generate titlepage.xhtml and the mimetype entry.
Then, the stream to create a zip file.
I will then convert a flat set of Amazon kindle sources to a ePub via a simple command.
Then, I will watch epubcheck puke all over it.
@matigo You mean like me? When we started out, I was doing all of this by hand. It takes about six to eight hours per book.
With the tools I have now, it still takes about two hours.
I'm down to roughly two seconds with this.
Current Status:
Loading Surrender.html…
Paragraphs found (2315)
Saving to output.html…
Thank you for flying WordBleach
That pretty much wraps things the hell up. Now onto the hard stuff.
Well, all good things must come to an end.
Time to drive to the office. Fashionably late.
real 0m0.575s
user 0m1.007s
sys 0m0.060s
Beats the hell out of when I used to do the edits manually. Took six to eight hours then.
A little more work and I will have it identifying and inserting true emdashes and the like as well.
@matigo Believe it or not, that's the container Amazon's kindlegen creates (With a buttload of added record types and more than a few fields that had to be reverse engineered)