06-26-2008, 06:51 AM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2008
Device: Kindle
|
opf to mobi to kindle freeze/reboot
Hi all,
I have a .opf and friends that I tried to test out Igor's Kindle scripts and mobiperl on. The result seems to be a .mobi file, and my understanding is that this can go directly into the Kindle. I put it there, and sure enough the Kindle sees it, but it freezes when I try to open the file and then reboots after a bit. I am wondering if there may be something in the .opf that wound up in the .mobi that breaks the Kindle, or if I'm just doing it wrong in general. I haven't tried other .mobi files yet or to convert something from Project Gutenberg or anything like that. Any thoughts? |
06-26-2008, 07:16 AM | #2 |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Do that happen for both the MobiPerl opf2mobi and for the other program?
Test the MobiPocket file with FBReader or the desktop reader to see that the file is basically OK. |
06-26-2008, 08:17 AM | #3 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
If you're using a Windows PC, the other thing that would be worth doing would be to try creating the Mobi file with Mobi Creator (downloadable from the Mobi web site).
|
06-26-2008, 09:42 AM | #4 | |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Quote:
Code:
mobigen file.opf -c1 -s0 |
|
06-26-2008, 01:18 PM | #5 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2008
Device: Kindle
|
I am a Mac user, so without the source to mobigen, the Linux version isn't going to be the easiest solution for me. The possibility exists I could set up a service like the Kindle email that will unpack the opf, do the conversion, and then email back the .mobi it creates. I suppose there's also virtualization of Windows.
I'll give the official tool a try on one of those platforms and see what results. |
06-26-2008, 01:29 PM | #6 | |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
|
|
06-26-2008, 02:19 PM | #7 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2008
Device: Kindle
|
Tommy, I'll drop you an email with it attached. It's not a public domain work, however I figure testing software with it must qualify as fair use, somehow.
|
06-26-2008, 06:04 PM | #8 | |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
You could try to tun html2mobi on just the html file and see if this work on your Kindle. |
|
06-26-2008, 07:35 PM | #9 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
|
06-26-2008, 09:32 PM | #10 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2008
Device: Kindle
|
Wallcraft, probably I should go back an re-post my intro message that didn't go through the first time, since it'll make a lot more sense then, but I'm converting a DAISY 3 text book (which should be OEBF compliant) for use on the Kindle. Navigation in DAISY books is somewhat unusual in that we typically navigate by heading level or by page using markup, and then by smaller increments using text features.
Typically, H1 marks chapters, H2 and sometimes H3 mark subheadings. Pages are marked in a different way. DAISY books are generally intended to be spoken either by a speech synthesizer, or as recorded audio books with a lot more navigation than you'd get from, say, Audible.com books. It's possible to have a combination text and audio book (which is great for people with dyslexia), but they're not very common. DAISY isn't commonly used other than by those with disabilities, though as of DAISY version 3, as I said, a DAISY book should be OEBF compliant. I'll try the HTML. Maybe there's a good way to programmatically generate the TOC from the heading level navigation used by the books? Just a thought. |
06-26-2008, 10:45 PM | #11 | |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Quote:
|
|
06-27-2008, 02:43 AM | #12 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
|
06-28-2008, 05:55 AM | #13 | |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
I think I understand how the ncx and smil file works and the current opf2mobi will not handle this kind of structure. |
|
07-05-2008, 12:24 PM | #14 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2008
Device: Kindle
|
Thanks Tommy, as complex as this mess is, supposedly it's completely valid (or soon shall be). Unfortunately, this is what happens when you let W3C people get involved with something. DAISY predated OEBF, and was more or less its own thing (and dramatically simpler) in DAISY 2. Then someone decided that DAISY and OEBF should merge, since they're both books right?, and suddenly OEBF is supposed to be more than just an extended web browser, it's now a full multimedia-enabled extended web browser!
Consequently, many DAISY 2 playback softwares, even those capable of text-to-speech were not updated for DAISY 3, because a properly compliant DAISY 3 reader is more ambitious a project than writing a web browser, unless you can just shove a whole web browser core into your code and start extending it, of course. Those that exist aren't properly compliant and just ignore outright any tag they don't understand. But that's a whole 'nother rant. I remain convinced that e-books should be an HTML subset or a DTD similar to an HTML subset with obvious book tags added, not an HTML superset. Nobody cares what I think though. Anyway, I'm looking forward to some future opf2mobi that can handle this madness. Thanks again! |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
help! new on forum. Kindle freeze | Patguth | Amazon Kindle | 9 | 12-24-2010 09:42 AM |
Sigil OPF to MOBI Pocket Creator | crutledge | Sigil | 9 | 10-08-2010 01:26 PM |
HTML to Mobi conversions (DocBook XSL, and content.opf?) | AndrewLB | Calibre | 3 | 09-04-2010 09:02 PM |
How can i make an update package to reboot Kindle after updating? | kukyakya | Kindle Developer's Corner | 2 | 01-15-2010 01:24 AM |
Kindle causes Explorer to freeze | ziplizard | Amazon Kindle | 10 | 03-07-2009 05:25 PM |