![]() ![]() This is an example of why many companies will not take full epub 3.0 files. It appears that your meta is for an epub 3.0 file and the validation tool you're using only validates up to 2.0. And Alpie is right that they are trying to add this in for EPUB3 which should have been done long ago. People were just adding on to the title with a colon and then the subtitle. Metadata is a mess at EPUB2 did not allow subtitles, editions, etc. So, once again, you might want to stay on the "conservative" side, and use DC metadata elements that were already supported in EPUB 2. I just want to add: unfortunately, as discussed either on IDPF forum or on Twitter w/ tech guys of IDPF (I do not remember exactly), support for these "extended" metadata is scarce and often conflicting between different Reading Systems. It seems like part of the reason the idpf is introducing the meta tags to refine roles in epub3 is actually that people/publishers were complaining that they couldn't include subtitles in the metadata. ![]() I think that tags with the 'refines' attribute were only introduced in epub3, and that the only dublin:core tags that allowed attributes (specifically the 'role' attribute) were the 'creator' and 'contributor' tags (i.e., element with the attribute opf:role="subtitle". However, IDPF's own validator found this meta to be an error, showing this error message:ĮRROR: book.epub/OEBPS/content.opf(5,45): attribute "refines" not allowed here expected attribute "content", "id", "name", "scheme" or "xml:lang"ĮRROR: book.epub/OEBPS/content.opf(5,45): attribute "property" not allowed here expected attribute "content", "id", "name", "scheme" or "xml:lang"ĮRROR: book.epub/OEBPS/content.opf(5,45): element "meta" missing required attributes "content" and "name"ĮRROR: book.epub/OEBPS/content.opf(5,51): text not allowed here expected the element end-tagĮRROR: book.epub/OEBPS/content.opf(7,45): attribute "refines" not allowed here expected attribute "content", "id", "name", "scheme" or "xml:lang"ĮRROR: book.epub/OEBPS/content.opf(7,45): attribute "property" not allowed here expected attribute "content", "id", "name", "scheme" or "xml:lang"ĮRROR: book.epub/OEBPS/content.opf(7,45): element "meta" missing required attributes "content" and "name"ĮRROR: book.epub/OEBPS/content.opf(7,55): text not allowed here expected the element end-tagīefore inserting the above title-type metadata, my epub (and opf and it's metadata) had absolutely zero problems passing the inspector. #1 srascal 04-15-2013, 04:22 PMDoes anyone know how to include subtitle information in the metadata? I followed IDPF's specs exactly and put this in my opf file (real book title not shown):
0 Comments
Leave a Reply. |