View Single Post
Old 10-03-2008, 08:50 AM   #593
ZioNemo
Enthusiast
ZioNemo began at the beginning.
 
Posts: 48
Karma: 10
Join Date: Mar 2008
Device: HTC-p3000
Quote:
Originally Posted by tompe View Post
You can always run html2mobi on the html file.

If you give me the lit file I will debug it and try to fix it. It seems like the opf file is not correct or that the parser lit2mobi uses are to strict.
Hi,
thanks for the fast answer.

I *can* send You the .lit file (if You tell me just where and how), but I strongly doubt the problem lies there since I tried several ones (including a few I fetched from the Internet for this test) and *all* behave in the same way.

This is one example of the generated .opf file:
=============================================
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE package
PUBLIC "+//ISBN 0-9673008-1-9//DTD OEB 1.0.1 Package//EN"
"http://openebook.org/dtds/oeb-1.0.1/oebpkg101.dtd">
<package unique-identifier="OverDriveGUID">
<metadata>
<dc-metadata xmlns:dc="http://purl.org/dc/elements/1.0/" xmlnsebpackage="http://openebook.org/namespaces/oeb-package/1.0/">
<dc:Title>La Maschera Di Cthulhu</dc:Title>
<dc:Creator role="aut">Gianni Pilo</dc:Creator>
<dc:Identifier id="OverDriveGUID" scheme="GUID">{1FF51F09-CD18-43CA-AF7A-83734D9EE29A}</dc:Identifier>
</dc-metadata>
<x-metadata>
<meta name="rwver-ReaderWorks-SDK-Control" content="2, 0, 2, 0215 (02/15/2002)" />
<meta name="rwver-HTML-Input-Filter" content="2, 0, 3, 1212 (12/12/2003)" />
<meta name="rwver-Image-Input-Filter" content="2, 0, 2, 0215 (02/15/2002)" />
<meta name="rwver-Text-Input-Filter" content="2, 0, 2, 0215 (02/15/2002)" />
<meta name="rwver-LIT-file-generator" content="1.5.1.0280 (12/19/2003)" />
<meta name="rw-License-Key" content="RWPTL" />
</x-metadata>
</metadata>
<manifest>
<item id="Gianni_Pilo_-_La_Maschera_Di_Cthulhu" href="Gianni Pilo - La Maschera Di Cthulhu.htm" media-type="text/html" />
<item id="RW_~Cover01" href="~Cover01.jpg" media-type="image/jpeg" />
<item id="RW_~Cover02" href="~Cover02.jpg" media-type="image/jpeg" />
<item id="RW_~Cover03" href="~Cover03.jpg" media-type="image/jpeg" />
<item id="RW_~Cover04" href="~Cover04.jpg" media-type="image/jpeg" />
<item id="RW_~Cover05" href="~Cover05.jpg" media-type="image/jpeg" />
</manifest>
<spine>
<itemref idref="Gianni_Pilo_-_La_Maschera_Di_Cthulhu" />
</spine>
<guide>
<reference type="other.ms-thumbimage-standard" href="~Cover01.jpg" />
<reference type="other.ms-coverimage-standard" href="~Cover02.jpg" />
<reference type="other.ms-titleimage-standard" href="~Cover03.jpg" />
<reference type="other.ms-thumbimage" href="~Cover04.jpg" />
<reference type="other.ms-coverimage" href="~Cover05.jpg" />
</guide>
</package>
=============================================
This looks like a valid XML file, but I don't really know what a .opf file should look like, so...

I should mention I self-compiled clit (+---[ ConvertLIT (Version 1.8) ]---------------[ Copyright (c) 2002,2003 ]---) and I, very likely, goofed somewhere there.
The generated .htm files look ok though.

Regards
ZioNemo
ZioNemo is offline   Reply With Quote