That feeling when you have to install Java to run a program that validates XML epub files. 馃槶
2
3
(1) as a former writer at Javasoft, my feelings are hurt. 馃槣(2) whence the tsuris? Okay, the installer sucks, but even so...
1
Also, the two leading xml editor both run on the JRE. So how did you get that Epub file in the first place?
1
Generator? I'm creating it by hand. It's quite a mess of various XML formats and namespaces with no meaningful significance
1
You're writing XML without a validating editor? I hope your insurance has good mental health coverage.
1
1
by "hand", I mean with some PHP scripts. e.g. the TOC is generated by parsing my source files, etc.
1
Curious to know what format your source files are in.
1
HTML, a file for each chapter and section, with Microformats to indicate chapter names for building the ToC...
1
Replying to @aaronpk @isaac32767
PHP for conditional rendering of content for the epub vs print editions, e.g. "on page X" vs hyperlink, and to get images to flow properly

Nov 1, 2017 路 5:56 PM UTC

1
Replying to @aaronpk
Instead of jumping through hoops to generate the XML, consider authoring in XML in the first place.
1
I'm not going to maintain individual XML files for the ncx/opf files. Those need to be generated automatically from my content.
1