This is a guest post from Iris Febres, a graduate student in electronic publishing at Emerson College. It is based on a PowerPoint presentation she did in her class that was also a Tweetsentation during #ePrdctn Hour.
So . . . what is EPUB?
EPUB as a Standard
An EPUB file is defined by three specifications:
- Open Container Format (OCF): The OCF specifies the order of the files in an EPUB (the structure of the file)
- Open Packaging Format (OPF): The OPF defines the contents of the file as well as its appropriate metadata (the information about the file and what’s in it)
- Open Publication Structure (OPS): The OPS specifies the physical contents of the eBook (the actual content—what you view)
EPUB in a Nutshell
If the .epub file is a Web site, the the ePUB Reader or eReader, the device or software app is, in essence, a browser. And like our favorite browsers (i.e. FireFox, Safari, Opera), different readers will interpret a given EPUB file in different ways . . . much to our chagrin.
Here is an example of how three different eReaders—Adobe Digital Editions (ADE), NOOK Study software, and iBooks on an iPhone—display the the table of contents of Reflections: Writing, Service-Learning, and Community Literacy:
Components of an .EPUB File
An .epub file contains three primary files and folders zipped together:
The mimetype is a simple ASCII text file with a single line of text. It should not be in a folder. The mimetype file tells the operating system of the eReader how the eBook is formatted—the MIME type. All mimetype files in ePUBs should be the same:
- <metadata> This sections contains all the metadata about the ePUB—title, subtitle, language, ISBN, author, description, subjects, publisher, publication date, copyright, price, and cover—markup up in DublinCore (dc:).
- <manifest> The manifest is a list of all the files included in the OEBPS folder except the .opf file. This includes the .ncx, the .css, .html/xhtml files, image files, font files, and anything else include in the ePUB.
- <spine> The spine is a list of all the “chapters” or .html/.xhtml files in the OEBPS in the order in which they should open as a reader goes through the ePUB.
- <guide> The guide section identifies some specific files that are used by eReaders, namely the cover and table of contents.
The Cascading Style Sheet or .css file is the file that tells the eReader how to display different elements in an ePUB. If functions just like cascading style sheets on Web pages.
The Future of EPUB
Tallent, Joshua. “eBook Architects Workshop: EPUB 3.” eBook Architects, Austin, TX. 20 September 2011. Presentation.
“EPUB | International Digital Publishing Forum.” International Digital Publishing Forum | Trade and Standards Organization for the Digital Publishing Industry. N.p., n.d. Web. 15 Nov. 2011. <http://idpf.org/epub>.
Iris Febres is a second-year graduate student at Emerson College, studying electronic publishing. She recently completed her master’s project: a digital, graphic novella optimized for electronic readers. She writes a blog on news in digital publishing, and while she’s not in class or doodling on napkins, she’s probably on Twitter where her handle is @ePubPupil. You can see images from her master’s project at here.