File last modified on August 18, 2022

OPF General

All OPF files created for ePubs are to be named content.opf and placed in the OEBPS directory, example:

txt
1
/ OEBPS
2
/ content.opf

OPF Template

During development we use the content.opf template that should be placed in BBEdit's stationary directory.

There are multiple ways to place the template in BBEdit but the easiest is within BBEdit. To place a template file activate BBEdit and in the top left nav bar select File > New with Stationary > Open Stationary Folder:

BBEdit Stationary Folder

To create a new file using the template in BBEdit navigate to: File > New with Stationery > content.opf.

OPF Builder

If you do not want to build the OPF manually download the app OPF Builder. The app assumes all files are completed and placed/named where they should go. This app also assumes that the following directory structure exist:

bash
1
/ OEBPS ## parent directory
2
/ text
3
/ img
4
/ css
5
/ font

If the Cover.jpg and titlepage.png do not exist in the img directory than no images will be pulled from the directory.

Last build: Thursday, 08/18/2022, 01:01:08 AM