In the attached archive, the file:
my-epub.xml
was hacked together from examples in:
http://www.docbook.org/tdg51/en/html/copyright.html
http://www.docbook.org/tdg51/en/html/book.html
and generated with the included shell script. I assume this is valid Docbook 5 because I copied it from Norman Walsh's book.
When the resulting ePub file is loaded into either:
Adobe Digital Editions (1.7.2.1131)
Apple iBooks (1.1.2)
The information contained in the:
copyright
and:
legalnotice
tags is nowhere to be found. This information is a pretty important part of any kind of a book.
This information is found in the index.html file. However, there is no reference to the index.html file in the content.opf file. There is a reference to index.html in the toc.ncx file.
I am not sure what to suggest as a best way to solve this. Perhaps all the information contained in the bk01-toc.html and index.html files should be combined into a single file and this single file should be referenced in both content.opf and toc.ncx.
If I can be of assistance, please don't hesitate to ask.
Thanks.
Archive containing and example
On second thought, I think the best solution is to fix the content.opf file.
I propose the generated content.opf file have the following changes:
CHANGE:
<manifest>
<item id="ncxtoc" media-type="application/x-dtbncx+xml" href="toc.ncx"/>
<item id="htmltoc" media-type="application/xhtml+xml" href="bk01-toc.html"/>
TO:
<manifest>
<item id="ncxtoc" media-type="application/x-dtbncx+xml" href="toc.ncx"/>
<item id="title" media-type="application/xhtml+xml" href="index.html"/>
<item id="htmltoc" media-type="application/xhtml+xml" href="bk01-toc.html"/>
CHANGE:
<spine toc="ncxtoc">
<itemref idref="htmltoc" linear="yes"/>
TO:
<spine toc="ncxtoc">
<itemref idref="title"/>
<itemref idref="htmltoc" linear="yes"/>
CHANGE:
<guide>
<reference href="bk01-toc.html" type="toc" title="Table of Contents"/>
TO:
<guide>
<reference href="index.html" type="title-page" title="Title Page"/>
<reference href="bk01-toc.html" type="toc" title="Table of Contents"/>
I based these changes on an example content.opf file I found with Google. I made these edits and the Title Page appears as expected when the resultant ePub file is loaded in to Adobe Digital Editions. I haven't tested it with Apple iBooks yet.
Please let me know if you need any more information.
Thanks.
patch file which fixes titlepage problem in content.opf
Attached is a patch file which when applied to the docbook.xsl file (the "new" file attached to Bug #3071521) causes the content.opf file to correctly reference the titlepage file (i.e. index.html)
Please let me know if you need any more information.
Thanks.