What Is OPF


What is OPF?

✍: FYIcenter.com


OPF (Open Packaging Format) is a standard that is a part of the EPUB eBook specification. The OPF files store information for an associated eBook including the title of the eBook, the eBook language, creator, reading order and book ID. The OPF file is included in the EPUB archive to specify the metadata of the associated eBook. The OPF files are saved in XML format.

Here is an example of OPF file used in an EPUB ZIP file:

<?xml version="1.0" encoding="UTF-8"?>
<!-- Hello.opf
  Copyright (c) FYIcenter.com 
<package xmlns="http://www.idpf.org/2007/opf" version="3.0" 
  <metadata xmlns:dc="http://purl.org/dc/elements/1.1/"
    <dc:identifier id="id">fyicenter.com.epub.hello</dc:identifier>
    <meta property="dcterms:modified">2018-04-01T00:00:00Z</meta>
    <item id="toc" href="/toc.xhtml" media-type="application/xhtml+xml"     
    <item id="body" href="/body.xhtml" media-type="application/xhtml+xml"/>
    <itemref idref="toc"/>
    <itemref idref="body"/>


EPUB Sample Files

What Is EPUB File Structure

Introduction to EPUB

⇑⇑ EPUB Tutorials

2022-07-26, 1606🔥, 0💬