Documentation

MobiReader
in package

Tags
docs

https://wiki.mobileread.com/wiki/Mobi

Table of Contents

Constants

ADULT_117  = 117
ASIN_113  = 113
ASIN_504  = 504
AUTHOR_100  = 100
BOOK_TYPE_123  = 123
CDETYPE_501  = 501
CLIPPINGLIMIT_401  = 401
CONTRIBUTOR_108  = 108
COUNT_OF_RESOURCES_125  = 125
COVEROFFSET_201  = 201
CREATOR_BUILD_NUMBER_207  = 207
CREATOR_BUILD_NUMBER_535  = 535
CREATOR_MAJOR_VERSION_205  = 205
CREATOR_MINOR_VERSION_206  = 206
CREATOR_SOFTWARE_204  = 204
DESCRIPTION_103  = 103
DICTIONARY_SHORT_NAME_200  = 200
DRM_COMMERCE_ID_2  = 2
DRM_EBOOKBASE_BOOK_ID_3  = 3
DRM_SERVER_ID_1  = 1
FIXED_LAYOUT_122  = 122
FONTSIGNATURE_300  = 300
HASFAKECOVER_203  = 203
IMPRINT_102  = 102
IN_MEMORY_547  = 547
ISBN_104  = 104
K_F8_BOUNDARY_OFFSET_121  = 121
LANGUAGE_524  = 524
LASTUPDATETIME_502  = 502
METADATA_RESOURCE_URI_129  = 129
MOBI_HEADER  = [['record_type' => 1, 'usual_length' => null, 'name' => 'drm_server_id', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 2, 'usual_length' => null, 'name' => 'drm_commerce_id', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 3, 'usual_length' => null, 'name' => 'drm_ebookbase_book_id', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 100, 'usual_length' => null, 'name' => 'author', 'comments' => null, 'opf_meta_tag' => '<dc:Creator>'], ['record_type' => 101, 'usual_length' => null, 'name' => 'publisher', 'comments' => null, 'opf_meta_tag' => '<dc:Publisher>'], ['record_type' => 102, 'usual_length' => null, 'name' => 'imprint', 'comments' => null, 'opf_meta_tag' => '<Imprint>'], ['record_type' => 103, 'usual_length' => null, 'name' => 'description', 'comments' => null, 'opf_meta_tag' => '<dc:Description>'], ['record_type' => 104, 'usual_length' => null, 'name' => 'isbn', 'comments' => null, 'opf_meta_tag' => '<dc:Identifier scheme=\'ISBN\'>'], ['record_type' => 105, 'usual_length' => null, 'name' => 'subject', 'comments' => 'Could appear multiple times', 'opf_meta_tag' => '<dc:Subject>'], ['record_type' => 106, 'usual_length' => null, 'name' => 'publishingdate', 'comments' => null, 'opf_meta_tag' => '<dc:Date>'], ['record_type' => 107, 'usual_length' => null, 'name' => 'review', 'comments' => null, 'opf_meta_tag' => '<Review>'], ['record_type' => 108, 'usual_length' => null, 'name' => 'contributor', 'comments' => null, 'opf_meta_tag' => '<dc:Contributor>'], ['record_type' => 109, 'usual_length' => null, 'name' => 'rights', 'comments' => null, 'opf_meta_tag' => '<dc:Rights>'], ['record_type' => 110, 'usual_length' => null, 'name' => 'subjectcode', 'comments' => null, 'opf_meta_tag' => '<dc:Subject BASICCode="subjectcode">'], ['record_type' => 111, 'usual_length' => null, 'name' => 'type', 'comments' => null, 'opf_meta_tag' => '<dc:Type>'], ['record_type' => 112, 'usual_length' => null, 'name' => 'source', 'comments' => null, 'opf_meta_tag' => '<dc:Source>'], ['record_type' => 113, 'usual_length' => null, 'name' => 'asin', 'comments' => 'Kindle Paperwhite labels books with "Personal" if they don\'t have this record.', 'opf_meta_tag' => null], ['record_type' => 114, 'usual_length' => null, 'name' => 'versionnumber', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 115, 'usual_length' => 4, 'name' => 'sample', 'comments' => 'if the book content is only a sample of the full book', 'opf_meta_tag' => null], ['record_type' => 116, 'usual_length' => null, 'name' => 'startreading', 'comments' => 'Position (4-byte offset) in file at which to open when first opened', 'opf_meta_tag' => null], ['record_type' => 117, 'usual_length' => 3, 'name' => 'adult', 'comments' => 'Mobipocket Creator adds this if Adult only is checked on its GUI; contents: "yes"', 'opf_meta_tag' => '<Adult>'], ['record_type' => 118, 'usual_length' => null, 'name' => 'retail price', 'comments' => 'As text, e.g. "4.99"', 'opf_meta_tag' => '<SRP>'], ['record_type' => 119, 'usual_length' => null, 'name' => 'retail price currency', 'comments' => 'As text, e.g. "USD"', 'opf_meta_tag' => '<SRP Currency="currency">'], ['record_type' => 121, 'usual_length' => 4, 'name' => 'KF8 BOUNDARY Offset', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 122, 'usual_length' => null, 'name' => 'fixed-layout', 'comments' => 'true', 'opf_meta_tag' => null], ['record_type' => 123, 'usual_length' => null, 'name' => 'book-type', 'comments' => 'comic', 'opf_meta_tag' => null], ['record_type' => 124, 'usual_length' => null, 'name' => 'orientation-lock', 'comments' => '"none", "portrait", "landscape"', 'opf_meta_tag' => null], ['record_type' => 125, 'usual_length' => 4, 'name' => 'count of resources', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 126, 'usual_length' => null, 'name' => 'original-resolution', 'comments' => '1072x1448', 'opf_meta_tag' => null], ['record_type' => 127, 'usual_length' => null, 'name' => 'zero-gutter', 'comments' => 'true', 'opf_meta_tag' => null], ['record_type' => 128, 'usual_length' => null, 'name' => 'zero-margin', 'comments' => 'true', 'opf_meta_tag' => null], ['record_type' => 129, 'usual_length' => null, 'name' => 'Metadata Resource URI', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 131, 'usual_length' => 4, 'name' => 'Unknown', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 132, 'usual_length' => null, 'name' => 'Unknown', 'comments' => 'true', 'opf_meta_tag' => null], ['record_type' => 200, 'usual_length' => 3, 'name' => 'Dictionary short name', 'comments' => 'As text', 'opf_meta_tag' => '<DictionaryVeryShortName>'], ['record_type' => 201, 'usual_length' => 4, 'name' => 'coveroffset', 'comments' => 'Add to first image field in Mobi Header to find PDB record containing the cover image', 'opf_meta_tag' => '<EmbeddedCover>'], ['record_type' => 202, 'usual_length' => 4, 'name' => 'thumboffset', 'comments' => 'Add to first image field in Mobi Header to find PDB record containing the thumbnail cover image', 'opf_meta_tag' => null], ['record_type' => 203, 'usual_length' => null, 'name' => 'hasfakecover', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 204, 'usual_length' => 4, 'name' => 'Creator Software', 'comments' => 'Known Values: 1=mobigen, 2=Mobipocket Creator, 200=kindlegen (Windows), 201=kindlegen (Linux), 202=kindlegen (Mac). Warning: Calibre creates fake creator entries, pretending to be a Linux kindlegen 1.2 (201, 1, 2, 33307) for normal ebooks and a non-public Linux kindlegen 2.0 (201, 2, 0, 101) for periodicals.', 'opf_meta_tag' => null], ['record_type' => 205, 'usual_length' => 4, 'name' => 'Creator Major Version', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 206, 'usual_length' => 4, 'name' => 'Creator Minor Version', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 207, 'usual_length' => 4, 'name' => 'Creator Build Number', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 208, 'usual_length' => null, 'name' => 'watermark', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 209, 'usual_length' => null, 'name' => 'tamper proof keys', 'comments' => 'Used by the Kindle (and Android app) for generating book-specific PIDs.', 'opf_meta_tag' => null], ['record_type' => 300, 'usual_length' => null, 'name' => 'fontsignature', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 401, 'usual_length' => 1, 'name' => 'clippinglimit', 'comments' => 'Integer percentage of the text allowed to be clipped. Usually 10.', 'opf_meta_tag' => null], ['record_type' => 402, 'usual_length' => null, 'name' => 'publisherlimit', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 403, 'usual_length' => null, 'name' => 'Unknown', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 404, 'usual_length' => 1, 'name' => 'ttsflag', 'comments' => '1 - Text to Speech disabled; 0 - Text to Speech enabled', 'opf_meta_tag' => null], ['record_type' => 405, 'usual_length' => 1, 'name' => 'Unknown (Rent/Borrow flag?)', 'comments' => '1 in this field seems to indicate a rental book', 'opf_meta_tag' => null], ['record_type' => 406, 'usual_length' => 8, 'name' => 'Rent/Borrow Expiration Date', 'comments' => 'If this field is removed from a rental, the book says it expired in 1969', 'opf_meta_tag' => null], ['record_type' => 407, 'usual_length' => 8, 'name' => 'Unknown', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 450, 'usual_length' => 4, 'name' => 'Unknown', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 451, 'usual_length' => 4, 'name' => 'Unknown', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 452, 'usual_length' => 4, 'name' => 'Unknown', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 453, 'usual_length' => 4, 'name' => 'Unknown', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 501, 'usual_length' => 4, 'name' => 'cdetype', 'comments' => 'PDOC - Personal Doc; EBOK - ebook; EBSP - ebook sample', 'opf_meta_tag' => null], ['record_type' => 502, 'usual_length' => null, 'name' => 'lastupdatetime', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 503, 'usual_length' => null, 'name' => 'updatedtitle', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 504, 'usual_length' => null, 'name' => 'asin', 'comments' => 'I found a copy of ASIN in this record.', 'opf_meta_tag' => null], ['record_type' => 524, 'usual_length' => null, 'name' => 'language', 'comments' => null, 'opf_meta_tag' => '<dc:language>'], ['record_type' => 525, 'usual_length' => null, 'name' => 'writingmode', 'comments' => 'I found horizontal-lr in this record.', 'opf_meta_tag' => null], ['record_type' => 535, 'usual_length' => null, 'name' => 'Creator Build Number', 'comments' => 'I found 1019-d6e4792 in this record, which is a build number of Kindlegen 2.7', 'opf_meta_tag' => null], ['record_type' => 536, 'usual_length' => null, 'name' => 'Unknown', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 542, 'usual_length' => 4, 'name' => 'Unknown', 'comments' => 'Some Unix timestamp.', 'opf_meta_tag' => null], ['record_type' => 547, 'usual_length' => null, 'name' => 'InMemory', 'comments' => 'String \'I\x00n\x00M\x00e\x00m\x00o\x00r\x00y\x00\' found in this record, for KindleGen V2.9 build 1029-0897292', 'opf_meta_tag' => null]]
ORIENTATION_LOCK_124  = 124
ORIGINAL_RESOLUTION_126  = 126
PAML_DOC_HEADER  = [['offset' => 0, 'bytes' => 2, 'content' => 'Compression', 'comments' => '1 == no compression, 2 = PalmDOC compression, 17480 = HUFF/CDIC compression'], ['offset' => 2, 'bytes' => 2, 'content' => 'Unused', 'comments' => 'Always zero'], ['offset' => 4, 'bytes' => 4, 'content' => 'text length', 'comments' => 'Uncompressed length of the entire text of the book'], ['offset' => 8, 'bytes' => 2, 'content' => 'record count', 'comments' => 'Number of PDB records used for the text of the book.'], ['offset' => 10, 'bytes' => 2, 'content' => 'record size', 'comments' => 'Maximum size of each record containing text, always 4096'], ['offset' => 12, 'bytes' => 4, 'content' => 'Current Position', 'comments' => 'Current reading position, as an offset into the uncompressed text'], ['offset' => 12, 'bytes' => 2, 'content' => 'Encryption Type', 'comments' => '0 == no encryption, 1 = Old Mobipocket Encryption, 2 = Mobipocket Encryption'], ['offset' => 14, 'bytes' => 2, 'content' => 'Unknown', 'comments' => 'Usually zero']]
PUBLISHER_101  = 101
PUBLISHERLIMIT_402  = 402
PUBLISHINGDATE_106  = 106
RENT_BORROW_EXPIRATION_DATE_406  = 406
RETAIL_PRICE_118  = 118
RETAIL_PRICE_CURRENCY_119  = 119
REVIEW_107  = 107
RIGHTS_109  = 109
SAMPLE_115  = 115
SOURCE_112  = 112
STARTREADING_116  = 116
SUBJECT_105  = 105
SUBJECTCODE_110  = 110
TAMPER_PROOF_KEYS_209  = 209
THUMBOFFSET_202  = 202
TTSFLAG_404  = 404
TYPE_111  = 111
UNKNOWN_131  = 131
UNKNOWN_132  = 132
UNKNOWN_403  = 403
UNKNOWN_407  = 407
UNKNOWN_450  = 450
UNKNOWN_451  = 451
UNKNOWN_452  = 452
UNKNOWN_453  = 453
UNKNOWN_536  = 536
UNKNOWN_542  = 542
UNKNOWN_RENT_BORROW_FLAG_405  = 405
UPDATEDTITLE_503  = 503
VERSIONNUMBER_114  = 114
WATERMARK_208  = 208
WRITINGMODE_525  = 525
ZERO_GUTTER_127  = 127
ZERO_MARGIN_128  = 128

Constants

CLIPPINGLIMIT_401

public mixed CLIPPINGLIMIT_401 = 401

CONTRIBUTOR_108

public mixed CONTRIBUTOR_108 = 108

COUNT_OF_RESOURCES_125

public mixed COUNT_OF_RESOURCES_125 = 125

COVEROFFSET_201

public mixed COVEROFFSET_201 = 201

CREATOR_BUILD_NUMBER_207

public mixed CREATOR_BUILD_NUMBER_207 = 207

CREATOR_BUILD_NUMBER_535

public mixed CREATOR_BUILD_NUMBER_535 = 535

CREATOR_MAJOR_VERSION_205

public mixed CREATOR_MAJOR_VERSION_205 = 205

CREATOR_MINOR_VERSION_206

public mixed CREATOR_MINOR_VERSION_206 = 206

CREATOR_SOFTWARE_204

public mixed CREATOR_SOFTWARE_204 = 204

DESCRIPTION_103

public mixed DESCRIPTION_103 = 103

DICTIONARY_SHORT_NAME_200

public mixed DICTIONARY_SHORT_NAME_200 = 200

DRM_COMMERCE_ID_2

public mixed DRM_COMMERCE_ID_2 = 2

DRM_EBOOKBASE_BOOK_ID_3

public mixed DRM_EBOOKBASE_BOOK_ID_3 = 3

DRM_SERVER_ID_1

public mixed DRM_SERVER_ID_1 = 1

FIXED_LAYOUT_122

public mixed FIXED_LAYOUT_122 = 122

FONTSIGNATURE_300

public mixed FONTSIGNATURE_300 = 300

HASFAKECOVER_203

public mixed HASFAKECOVER_203 = 203

K_F8_BOUNDARY_OFFSET_121

public mixed K_F8_BOUNDARY_OFFSET_121 = 121

LASTUPDATETIME_502

public mixed LASTUPDATETIME_502 = 502

METADATA_RESOURCE_URI_129

public mixed METADATA_RESOURCE_URI_129 = 129

MOBI_HEADER

public mixed MOBI_HEADER = [['record_type' => 1, 'usual_length' => null, 'name' => 'drm_server_id', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 2, 'usual_length' => null, 'name' => 'drm_commerce_id', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 3, 'usual_length' => null, 'name' => 'drm_ebookbase_book_id', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 100, 'usual_length' => null, 'name' => 'author', 'comments' => null, 'opf_meta_tag' => '<dc:Creator>'], ['record_type' => 101, 'usual_length' => null, 'name' => 'publisher', 'comments' => null, 'opf_meta_tag' => '<dc:Publisher>'], ['record_type' => 102, 'usual_length' => null, 'name' => 'imprint', 'comments' => null, 'opf_meta_tag' => '<Imprint>'], ['record_type' => 103, 'usual_length' => null, 'name' => 'description', 'comments' => null, 'opf_meta_tag' => '<dc:Description>'], ['record_type' => 104, 'usual_length' => null, 'name' => 'isbn', 'comments' => null, 'opf_meta_tag' => '<dc:Identifier scheme=\'ISBN\'>'], ['record_type' => 105, 'usual_length' => null, 'name' => 'subject', 'comments' => 'Could appear multiple times', 'opf_meta_tag' => '<dc:Subject>'], ['record_type' => 106, 'usual_length' => null, 'name' => 'publishingdate', 'comments' => null, 'opf_meta_tag' => '<dc:Date>'], ['record_type' => 107, 'usual_length' => null, 'name' => 'review', 'comments' => null, 'opf_meta_tag' => '<Review>'], ['record_type' => 108, 'usual_length' => null, 'name' => 'contributor', 'comments' => null, 'opf_meta_tag' => '<dc:Contributor>'], ['record_type' => 109, 'usual_length' => null, 'name' => 'rights', 'comments' => null, 'opf_meta_tag' => '<dc:Rights>'], ['record_type' => 110, 'usual_length' => null, 'name' => 'subjectcode', 'comments' => null, 'opf_meta_tag' => '<dc:Subject BASICCode="subjectcode">'], ['record_type' => 111, 'usual_length' => null, 'name' => 'type', 'comments' => null, 'opf_meta_tag' => '<dc:Type>'], ['record_type' => 112, 'usual_length' => null, 'name' => 'source', 'comments' => null, 'opf_meta_tag' => '<dc:Source>'], ['record_type' => 113, 'usual_length' => null, 'name' => 'asin', 'comments' => 'Kindle Paperwhite labels books with "Personal" if they don\'t have this record.', 'opf_meta_tag' => null], ['record_type' => 114, 'usual_length' => null, 'name' => 'versionnumber', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 115, 'usual_length' => 4, 'name' => 'sample', 'comments' => 'if the book content is only a sample of the full book', 'opf_meta_tag' => null], ['record_type' => 116, 'usual_length' => null, 'name' => 'startreading', 'comments' => 'Position (4-byte offset) in file at which to open when first opened', 'opf_meta_tag' => null], ['record_type' => 117, 'usual_length' => 3, 'name' => 'adult', 'comments' => 'Mobipocket Creator adds this if Adult only is checked on its GUI; contents: "yes"', 'opf_meta_tag' => '<Adult>'], ['record_type' => 118, 'usual_length' => null, 'name' => 'retail price', 'comments' => 'As text, e.g. "4.99"', 'opf_meta_tag' => '<SRP>'], ['record_type' => 119, 'usual_length' => null, 'name' => 'retail price currency', 'comments' => 'As text, e.g. "USD"', 'opf_meta_tag' => '<SRP Currency="currency">'], ['record_type' => 121, 'usual_length' => 4, 'name' => 'KF8 BOUNDARY Offset', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 122, 'usual_length' => null, 'name' => 'fixed-layout', 'comments' => 'true', 'opf_meta_tag' => null], ['record_type' => 123, 'usual_length' => null, 'name' => 'book-type', 'comments' => 'comic', 'opf_meta_tag' => null], ['record_type' => 124, 'usual_length' => null, 'name' => 'orientation-lock', 'comments' => '"none", "portrait", "landscape"', 'opf_meta_tag' => null], ['record_type' => 125, 'usual_length' => 4, 'name' => 'count of resources', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 126, 'usual_length' => null, 'name' => 'original-resolution', 'comments' => '1072x1448', 'opf_meta_tag' => null], ['record_type' => 127, 'usual_length' => null, 'name' => 'zero-gutter', 'comments' => 'true', 'opf_meta_tag' => null], ['record_type' => 128, 'usual_length' => null, 'name' => 'zero-margin', 'comments' => 'true', 'opf_meta_tag' => null], ['record_type' => 129, 'usual_length' => null, 'name' => 'Metadata Resource URI', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 131, 'usual_length' => 4, 'name' => 'Unknown', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 132, 'usual_length' => null, 'name' => 'Unknown', 'comments' => 'true', 'opf_meta_tag' => null], ['record_type' => 200, 'usual_length' => 3, 'name' => 'Dictionary short name', 'comments' => 'As text', 'opf_meta_tag' => '<DictionaryVeryShortName>'], ['record_type' => 201, 'usual_length' => 4, 'name' => 'coveroffset', 'comments' => 'Add to first image field in Mobi Header to find PDB record containing the cover image', 'opf_meta_tag' => '<EmbeddedCover>'], ['record_type' => 202, 'usual_length' => 4, 'name' => 'thumboffset', 'comments' => 'Add to first image field in Mobi Header to find PDB record containing the thumbnail cover image', 'opf_meta_tag' => null], ['record_type' => 203, 'usual_length' => null, 'name' => 'hasfakecover', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 204, 'usual_length' => 4, 'name' => 'Creator Software', 'comments' => 'Known Values: 1=mobigen, 2=Mobipocket Creator, 200=kindlegen (Windows), 201=kindlegen (Linux), 202=kindlegen (Mac). Warning: Calibre creates fake creator entries, pretending to be a Linux kindlegen 1.2 (201, 1, 2, 33307) for normal ebooks and a non-public Linux kindlegen 2.0 (201, 2, 0, 101) for periodicals.', 'opf_meta_tag' => null], ['record_type' => 205, 'usual_length' => 4, 'name' => 'Creator Major Version', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 206, 'usual_length' => 4, 'name' => 'Creator Minor Version', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 207, 'usual_length' => 4, 'name' => 'Creator Build Number', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 208, 'usual_length' => null, 'name' => 'watermark', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 209, 'usual_length' => null, 'name' => 'tamper proof keys', 'comments' => 'Used by the Kindle (and Android app) for generating book-specific PIDs.', 'opf_meta_tag' => null], ['record_type' => 300, 'usual_length' => null, 'name' => 'fontsignature', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 401, 'usual_length' => 1, 'name' => 'clippinglimit', 'comments' => 'Integer percentage of the text allowed to be clipped. Usually 10.', 'opf_meta_tag' => null], ['record_type' => 402, 'usual_length' => null, 'name' => 'publisherlimit', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 403, 'usual_length' => null, 'name' => 'Unknown', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 404, 'usual_length' => 1, 'name' => 'ttsflag', 'comments' => '1 - Text to Speech disabled; 0 - Text to Speech enabled', 'opf_meta_tag' => null], ['record_type' => 405, 'usual_length' => 1, 'name' => 'Unknown (Rent/Borrow flag?)', 'comments' => '1 in this field seems to indicate a rental book', 'opf_meta_tag' => null], ['record_type' => 406, 'usual_length' => 8, 'name' => 'Rent/Borrow Expiration Date', 'comments' => 'If this field is removed from a rental, the book says it expired in 1969', 'opf_meta_tag' => null], ['record_type' => 407, 'usual_length' => 8, 'name' => 'Unknown', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 450, 'usual_length' => 4, 'name' => 'Unknown', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 451, 'usual_length' => 4, 'name' => 'Unknown', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 452, 'usual_length' => 4, 'name' => 'Unknown', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 453, 'usual_length' => 4, 'name' => 'Unknown', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 501, 'usual_length' => 4, 'name' => 'cdetype', 'comments' => 'PDOC - Personal Doc; EBOK - ebook; EBSP - ebook sample', 'opf_meta_tag' => null], ['record_type' => 502, 'usual_length' => null, 'name' => 'lastupdatetime', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 503, 'usual_length' => null, 'name' => 'updatedtitle', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 504, 'usual_length' => null, 'name' => 'asin', 'comments' => 'I found a copy of ASIN in this record.', 'opf_meta_tag' => null], ['record_type' => 524, 'usual_length' => null, 'name' => 'language', 'comments' => null, 'opf_meta_tag' => '<dc:language>'], ['record_type' => 525, 'usual_length' => null, 'name' => 'writingmode', 'comments' => 'I found horizontal-lr in this record.', 'opf_meta_tag' => null], ['record_type' => 535, 'usual_length' => null, 'name' => 'Creator Build Number', 'comments' => 'I found 1019-d6e4792 in this record, which is a build number of Kindlegen 2.7', 'opf_meta_tag' => null], ['record_type' => 536, 'usual_length' => null, 'name' => 'Unknown', 'comments' => null, 'opf_meta_tag' => null], ['record_type' => 542, 'usual_length' => 4, 'name' => 'Unknown', 'comments' => 'Some Unix timestamp.', 'opf_meta_tag' => null], ['record_type' => 547, 'usual_length' => null, 'name' => 'InMemory', 'comments' => 'String \'I\x00n\x00M\x00e\x00m\x00o\x00r\x00y\x00\' found in this record, for KindleGen V2.9 build 1029-0897292', 'opf_meta_tag' => null]]

ORIENTATION_LOCK_124

public mixed ORIENTATION_LOCK_124 = 124

ORIGINAL_RESOLUTION_126

public mixed ORIGINAL_RESOLUTION_126 = 126

PAML_DOC_HEADER

public mixed PAML_DOC_HEADER = [['offset' => 0, 'bytes' => 2, 'content' => 'Compression', 'comments' => '1 == no compression, 2 = PalmDOC compression, 17480 = HUFF/CDIC compression'], ['offset' => 2, 'bytes' => 2, 'content' => 'Unused', 'comments' => 'Always zero'], ['offset' => 4, 'bytes' => 4, 'content' => 'text length', 'comments' => 'Uncompressed length of the entire text of the book'], ['offset' => 8, 'bytes' => 2, 'content' => 'record count', 'comments' => 'Number of PDB records used for the text of the book.'], ['offset' => 10, 'bytes' => 2, 'content' => 'record size', 'comments' => 'Maximum size of each record containing text, always 4096'], ['offset' => 12, 'bytes' => 4, 'content' => 'Current Position', 'comments' => 'Current reading position, as an offset into the uncompressed text'], ['offset' => 12, 'bytes' => 2, 'content' => 'Encryption Type', 'comments' => '0 == no encryption, 1 = Old Mobipocket Encryption, 2 = Mobipocket Encryption'], ['offset' => 14, 'bytes' => 2, 'content' => 'Unknown', 'comments' => 'Usually zero']]

PUBLISHERLIMIT_402

public mixed PUBLISHERLIMIT_402 = 402

PUBLISHINGDATE_106

public mixed PUBLISHINGDATE_106 = 106

RENT_BORROW_EXPIRATION_DATE_406

public mixed RENT_BORROW_EXPIRATION_DATE_406 = 406

RETAIL_PRICE_118

public mixed RETAIL_PRICE_118 = 118

RETAIL_PRICE_CURRENCY_119

public mixed RETAIL_PRICE_CURRENCY_119 = 119

STARTREADING_116

public mixed STARTREADING_116 = 116

SUBJECTCODE_110

public mixed SUBJECTCODE_110 = 110

TAMPER_PROOF_KEYS_209

public mixed TAMPER_PROOF_KEYS_209 = 209

THUMBOFFSET_202

public mixed THUMBOFFSET_202 = 202

UNKNOWN_RENT_BORROW_FLAG_405

public mixed UNKNOWN_RENT_BORROW_FLAG_405 = 405

UPDATEDTITLE_503

public mixed UPDATEDTITLE_503 = 503

VERSIONNUMBER_114

public mixed VERSIONNUMBER_114 = 114

WRITINGMODE_525

public mixed WRITINGMODE_525 = 525

ZERO_GUTTER_127

public mixed ZERO_GUTTER_127 = 127

ZERO_MARGIN_128

public mixed ZERO_MARGIN_128 = 128

        
On this page

Search results