Sha256: 25ee30051166dddc8edcf5cecc4c1df743f1fc117d43eae77b90a4b8241ea80e
Contents?: true
Size: 1.52 KB
Versions: 7
Compression:
Stored size: 1.52 KB
Contents
# Supporting local rules of EPUB files EPUB files that generated by Re:VIEW (review-epubmaker) should be valid in eubcheck in IDPF. But some e-book stores have their own rules, so they reject EPUB files by Re:VIEW. To pass their rules, you can customize OPF file with config.yml. ## EBPAJ EPUB 3 File Creation Guide * http://ebpaj.jp/counsel/guide EBPAJ, the Electronic Book Publishers Association of Japan, releases the guide for publishers to create EPUB files that make nothing of trouble in major EPUB readers. To pass their guide, you can add some settings into config.yml: ```yaml opf_prefix: {ebpaj: "http://www.ebpaj.jp/"} opf_meta: {"ebpaj:guide-version": "1.1.3"} ``` With this settings, Re:VIEW generates OPF files with epbaj attributes: ```xml <package ... prefix="ebpaj: http://www.ebpaj.jp/"> ... <meta property="ebpaj:guide-version">1.1.3</meta> ``` But EPUB files that Re:VIEW generates are not the same of name and structure to EBPAJ guide. ## iBookStore Without special setting, iBooks has a margin between right page and left page in double-page spread. To remove it, you can add some settings in config.yml. ```yaml opf_prefix: {ibooks: "http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0/"} opf_meta: {"ibooks:binding": "false"} ``` If you have already some settings, merge them: ```yaml opf_prefix: {ebpaj: "http://www.ebpaj.jp/", ibooks: "http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0/"} opf_meta: {"ebpaj:guide-version": "1.1.3", "ibooks:binding": "false"} ```
Version data entries
7 entries across 7 versions & 1 rubygems