There seems to be many things Adobe can do to improve the out-of-the-box ePub creation mechanism to reduce (or potentially eliminate) the effort publishers must go through in order to make their ePub files compliant with the latest ePub validation tools, as well as eBook distribution centers. This is a working list of problems encountered from my inDesign CS5.5-produced ePub:
- "" in the TOC file was undeclared: inDesign generated a TOC, within a document, that contained no actual hyperlinks. href="#"
- Fixed by manually placing the proper file references, instead of the #; solution performed outside of inDesign
- Cound not decrypt font files; I don't think I set any kind of encryption, so perhaps it is an inDesign default, but that is just a guess. The actual cause is unknown to me at this time.
- Fixed by manually deleting Encryption.xml from \META-INF
- "apos" was undefined in the content.opf file. Within the <dc:title></dc:title> section, apostrophes were used (defined in File Info in the metadata forms) as part of the title. inDesign treated them as HTML and not XML, thus changing a ' to '
- Fixed by manually changing ' back to ' in the content.opf file
- inDesign mistakenly classified OpenType fonts as "x-font-otf"
- Fixed by manually changing "x-font.opf" to "vnd.ms-opentype"
- One issue I have yet to resolve seems to revolve around the cover image file. Apparently, the cover image I attached while generating the ePub file is either unreachable or unused. Here is the error message from FlightCrew: "this resource is present in the OPF <manifest>, but it's not reachable (it's unused)"
- Unresolved. I am attempting to add a document containing the graphics file to see whether having the file referenced in an attached HTML document fixes the issue. Short of that, I plan to remove the cover from the ePub generation, as many distribution services out there want you to upload the cover file separately anyway... The second solution seems most probable to work
- One last set of issues encountered had nothing to do with inDesign, but were more with how I named my files and directories. One rule of thumb to follow is to not include spaces in file names. Another is to ensure file names begin with a letter and not a number.
- While I do not proclaim to know why having spaces or file names starting with a number are bad, fixing the file names eliminated those errors. Unfortunately, I had to completely rebuild my book from scratch, and I also had to relink and re-embed all of my graphics. I won't be making that mistake again.
Tools used to validate ePub files were epubcheck-1.1, epubcheck-1.2, epubcheck-3.0b3, FlightCrew, and Lulu's file upload for eBook distribution service
Tools used to produce the ePub file and edit the file contents included inDesign CS5.5, Dreamweaver, and Microsoft Notepad