Quote:
Originally Posted by lostinlodos
Apple does NOT use epub. They use iBook. It’s a modified extension of epub. And it’s the reason side loading books into the books app takes a bit of extra time. Files are extracted and decompressed.
Going the other direction IS possible and there is software to do so. Unfortunately all of it is generally single file work.
I came here hoping someone had an idea that was a bit quicker. I’ve come up with a somewhat unreliable scripting option to batch a folder. But it is inconsistent.
|
You might be thinking of iBooks Author, which created a non-standard extension of ePub standard that could be interactive and contain multimedia (and could only be read with Apple's iBooks, as it was known then). It generated a file with iBook extension. It didn't take off, and they pulled the plug on that quite awhile ago.
It's immaterial that they explode ePub files on import. The structure is standard ePub. Every reading app has to explode the ePub at some point before it can parse the source files and render the book. With this approach, the Books app does not to create any temporary files in addition to storing the ePub archive: it can just open and parse the source files directly.
The fundamentals of generating .epub archives from source has not changed. All you need is
zip. You have to add the
mimetype file first:
Quote:
$ zip -0Xq book.epub [path-to-source]mimetype
|
and then the (OEBPS and META-INF) subfolders:
Quote:
$ zip -Xr9Dq book.epub [path-to-source]*
|