View Single Post
Old 06-02-2008, 10:47 PM   #518
achatham
Junior Member
achatham has a complete set of Star Wars action figures.achatham has a complete set of Star Wars action figures.achatham has a complete set of Star Wars action figures.achatham has a complete set of Star Wars action figures.
 
Posts: 6
Karma: 361
Join Date: May 2008
Device: kindle
Quote:
Originally Posted by tompe View Post
But --title is the book title and that should not matter...

When you say "name built into the mobifile" do you mean the datatase name?

Could you give me the compleat commands you use to produce one book that cannot be unpacked and one that can be unpacked?

If you give me one of these files I will test if it can be opened on my Cybook.
It turns out that it's the title length that it has a problem with. This works:

Code:
<html>
<head><title>0123456789012345678901234567890</title></head>
<body>The document goes here.</body></html>
Add one more character to the title, and it'll barf with the "bogus database name" error. I'm running "html2mobi foo.html && mobi2html foo.mobi foo/" on a mac, with dependencies retrieved via cpan and fink.

The following document will convert, but won't load on the kindle:

Code:
<html>
<head>
<title>Broken Document </title>
<script language="JavaScript1.2" src=""></script>
</head>
<body>
<script type="text/javascript" src=""></script>
The text goes here.
</body></html>
If I comment out the first script tag, it will load on the kindle, but I can't see "The text goes here." If I remove both script tags, I can see the text. I've attached test.mobi, which I generated with "html2mobi test.html".
Attached Files
File Type: mobi test.mobi (720 Bytes, 382 views)
achatham is offline   Reply With Quote