From: SourceForge.net <no...@so...> - 2011-08-28 16:12:07
|
Bugs item #3071937, was opened at 2010-09-20 10:17 Message generated for change (Settings changed) made by abdelazer You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=3071937&group_id=21935 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: XSL Group: output: ePub Status: Open Resolution: None Priority: 5 Private: No Submitted By: Oliver K. Smith (oksmith13) >Assigned to: Nobody/Anonymous (nobody) Summary: epub: missing copyright and legalnotice with ADE and iBooks Initial Comment: 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. ---------------------------------------------------------------------- Comment By: Oliver K. Smith (oksmith13) Date: 2010-09-20 20:21 Message: 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. ---------------------------------------------------------------------- Comment By: Oliver K. Smith (oksmith13) Date: 2010-09-20 18:30 Message: 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=3071937&group_id=21935 |