This is an old revision of the document!
In most cases, books and magazines should be formatted correctly for use with Gutenberg if NLS guidelines for book and magazine metadata are followed. However, in some cases it may be necessary to reformat older book and/or magazine Unique Identifiers (UIDs) So that they can be used with Gutenberg. Locations that require attention and formatting guidelines have been included in the sections below.
The ten locations and their associated file extensions have been listed in the table below. Each location will need to be changed manually by opening the files in a text editor (such as Ted Notepad, or Vim). It is also possible to automate/partially automate the process, and a C program ( libxml) is used for changing UIDs at MBTBL.
File extension | Location |
---|---|
.ncx | “dtb:uid” |
.opf | “dc:Identifier” |
.ao file name | |
.pncx | “dtb:uid” |
.ppf | “dc:Identifier” |
.ao file name | |
.smil | “dtb:uid” |
.ao | file name needs to match UID |
“Book” uid | |
“odrld:uid” |