XML technologies / ePUB / ePub für (In)Designer / The ePub structure

(Excerpt from “ePub für (In)Designer — Mit InDesign Schritt für Schritt zum E-Book” by Sascha Heck & Yves Apel)

An ePub is a compressed collection of files forming an electronic book. Rename epub to zip and unpack to obtain them; see Unpacking an ePub.

InDesign-generated ePubs have this structure:

InDesign ePub file structure

Figure: InDesign ePub file structure.

The top level contains:

Files inside OEBPS

  • [Dateiname].html: Usually several files contain chapter texts. Depending on the ePub, they may be HTML, XHTML or XML, essentially equivalent here.

  • template.css: Text styles, including size, color and font category.

  • content.opf: Metadata such as author, creation date and description, displayed by readers, plus manifest listing every file, required for ePub validation.

  • toc.ncx: Finally, the toc.ncx file defines navigation through chapters and text.

  • images folder: Images, video and similar resources used in ePub.

Together these form the ePub. Structure can vary by export options or authoring application.

Further editing with Sigil

Sigil changes InDesign’s folder structure, subdividing OEBPS into:

Text: HTML text files.

Styles: The CSS file or files (template.css).

Images: PNG, JPG, GIF and other document images.

Font: Fonts.

Misc: Other files, such as video.

  

 

 

 

back to top