Quote:
Originally Posted by JimmXinu
Is there anything actually broken or inaccurate in the OPF generated?
Because it sounds like you are just being extremely particular about the appearance and format of a meta data file that isn't intended for users to be viewing directly anyway...
|
Take a look at this OPF file. It's a mess because there are no proper line endings.
Code:
<?xml version="1.0" encoding="utf-8"?><package unique-identifier="epubsplit-id" version="2.0" xmlns="http://www.idpf.org/2007/opf"><metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf"><dc:identifier id="epubsplit-id">epubsplit-uid-1402088581</dc:identifier><dc:title>Spenser 05 - The Judas Goat Split</dc:title><dc:creator opf:role="aut">Robert B. Parker</dc:creator><dc:contributor opf:role="bkp">epubsplit</dc:contributor><dc:rights>Copyrights as per source stories</dc:rights><dc:language>eng</dc:language><dc:description><div><p class="description">Split from:</p><p class="description"></p><p class="description">Spenser has gone to London—and not to see the Queen. He's gone to track down a bunch of bombers who've blown away his client's wife and kids. His job is to catch them. Or kill them. His client isn't choosy.<br><br>But there are nine killers to one Spenser—long odds. Hawk helps balance the equation. The rest depends on a wild plan. Spenser will get one of the terrorists to play Judas Goat—to lead him to others. Trouble is, he hasn't counted on her being very blond, very beautiful and very dangerous.</p></div></dc:description><meta name="cover" content="coverimageid"/></metadata><manifest><item href="toc.ncx" id="ncx" media-type="application/x-dtbncx+xml"/><item href="cover.jpg" id="coverimageid" media-type="image/jpeg"/><item href="cover.xhtml" id="cover" media-type="application/xhtml+xml"/><item href="OEBPS/Park_9780307569660_epub_cvi_r1.htm" id="a0" media-type="application/xhtml+xml"/><item href="OEBPS/Park_9780307569660_epub_adc_r1.htm" id="a1" media-type="application/xhtml+xml"/><item href="OEBPS/Park_9780307569660_epub_tp_r1.htm" id="a2" media-type="application/xhtml+xml"/><item href="OEBPS/Park_9780307569660_epub_c01_r1.htm" id="a3" media-type="application/xhtml+xml"/><item href="OEBPS/Park_9780307569660_epub_c02_r1.htm" id="a4" media-type="application/xhtml+xml"/><item href="OEBPS/Park_9780307569660_epub_css_r1.css" id="a5" media-type="text/css"/><item href="OEBPS/images/Park_9780307569660_epub_tp_r1.jpg" id="a6" media-type="image/jpeg"/><item href="OEBPS/images/Park_9780307569660_epub_cvi_r1.jpg" id="a7" media-type="image/jpeg"/></manifest><spine toc="ncx"><itemref idref="cover" linear="yes"/><itemref idref="a0" linear="yes"/><itemref idref="a1" linear="yes"/><itemref idref="a2" linear="yes"/><itemref idref="a3" linear="yes"/><itemref idref="a4" linear="yes"/></spine><guide><reference href="cover.xhtml" title="Cover" type="cover"/></guide></package>
As you saw in the code box, the OPF has no line endings and thus, I have to do the work of manually adding them in.