Thread: Support PDF 2.0
View Single Post
Old 11-12-2024, 11:36 PM   #11
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,615
Karma: 7891011
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by thiago.eec View Post
Quality Check > Search ePubs...

Then use this search expression:
Code:
xmlns="http://www\.idpf\.org/2007/opf"(.*?)version="3\.0"
Mark 'Ignore case', 'Show all occurrences'. In the 'Scope' section, choose only 'OPF manifest'.

This will list all your EPUB 3 files.
That's true for the vast majority of OPF heads. However, in many books the version placement is a bit different:

PHP Code:
<?xml version="1.0" encoding="utf-8"?>
<package version="3.0"
or

PHP Code:
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns:ibooks="http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0/" unique-identifier="BookId" version="3.0"
or
PHP Code:
<?xml version="1.0" encoding="utf-8" ?>
<package prefix="rendition: http://www.idpf.org/vocab/rendition/#" unique-identifier="pub-id" version="3.0" xml:lang="en" xmlns="http://www.idpf.org/2007/opf">
Regarding minor versioning: I've tried to find an epub3 with version value other than 3.0, to no avail. It seems that most publishers and creators still use version="3.0" even if the EPUB file contains newer features, to ensure broader compatibility.
Comfy.n is offline   Reply With Quote