10.10.2015 Views

PUBLISHING

0419-HVA_DPT_from_print_to_ebooks_OS_RGB_aanp_lr_totaal

0419-HVA_DPT_from_print_to_ebooks_OS_RGB_aanp_lr_totaal

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The META-INF and OEBPS directories and the mimetype file are required<br />

components, and are an important part of what constitutes an EPUB:<br />

∞∞<br />

∞∞<br />

∞∞<br />

The META-INF folder contains an XML file (container.xml) which directs<br />

the e-reader device or application to an inventory (an .opf file)<br />

of all the files used by the publication.<br />

The OEBPS folder is the location where all of the publication’s content<br />

(HTML files, images, audio, video, etc.) is stored; subdirectories<br />

are allowed but not mandatory. The .opf file (traditionally named<br />

content.opf) is a key component; this file contains the metadata for<br />

the EPUB, and is in turn referenced by the aforementioned container.xml<br />

file. You may also see another file with a .ncx extension<br />

(traditionally toc.ncx), which contains the hierarchical table of contents<br />

for the EPUB, however this file is optional as it is not part of the<br />

EPUB specification.<br />

Mimetype is a file which contains a single line describing the EPUB<br />

file as ‘application/epub+zip’; this file allows e-readers to check<br />

whether the file is actually an EPUB which they can read.<br />

These three components form the basic structure of an EPUB, and are required<br />

in order for the file to be a valid EPUB. 3<br />

Creating your own EPUB<br />

Most of the elements of an EPUB can be manually typed in a text editor. Text<br />

editors are used for editing plain-text files such as HTML files, and should not<br />

to be confused with word processors such as Microsoft Word or Apple’s Pages<br />

(though it is of course entirely possible to create and edit text plain-files<br />

using a word processor). Popular text editors include BBEdit, TextWrangler or<br />

TextMate for Mac, or NotePad++ and PSPad for Windows. The following is a<br />

step-by-step description of the process of creating a very simple EPUB.<br />

3 The following overview at idpf.org defines the semantics and conformance requirements for EPUB<br />

publications: EPUB Publications 3.0.1. Recommended Specification 26 June 2014, http://www.idpf.org/<br />

epub/301/spec/epub-publications.html.<br />

61

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!