|02-04-2010, 11:00 PM||#1|
Join Date: Feb 2010
Location: Louisville, KY
Device: Kindle DX
Comic books on the Kindle -- how to put navpoints in a MOBI?
I've been playing with the Kindle as a platform for comic books: chiefly manga scanlations and a handful of the full-page comics which have been made available online. For several months I used the Kindle's (fairly dire and buggy) navigation capabilities for individual images. And then I learned that Calibre can convert CBZs to MOBIs, resulting in better refresh time and better navigability than trying to navigate among individual JPEGs.
So far, a success story. But my ambition got the better of me and I wanted more. Ordinary eBooks, I knew, had chapters to which I could navigate with the 4-way; seeing as how each individual chapter (of a manga) or issue (of an American comic) was in a different folder, it shouldn't be hard to get a chapter-navigable mobi instead of a monolithic one with either chapter-breaks every page (default CBZ->MOBI structure detection) or none at all (forcing Calibre to not detect structure).
I've spent hours on this and am (a) still not really producing satisfactory output, and (b) pretty certain I'm making it more complicated than I have to.
It might be worth mentioning here that I'm running Linux and would prefer a native and/or scriptable (i.e. command line) solution. I'm definitely interested in _any_ solution or constructive input to the problem, but those parameters have, thus far, directed the project.
My first plan was: make each folder into its own CBZ, convert the CBZs to MOBIs, merge the MOBIs so each individual part is a chapter of the monolithic MOBI. That would be perfect and easy except that there's no tool to actually do the last step, as far as I know.
There _is_ an ePub-merging tool (LRFTools has an ePub-merge mode), but direct conversion of CBZ->ePub->MOBI with calibre was, for reasons I couldn't quite get, putting a blank page between each page of comic content. CBZ -> MOBI -> ePub -> MOBI worked, and the intermediate ePub could be worked with.
And that's more or less where I am now. I'm zipping comic-book images folderwise into CBZs, converting CBZs to MOBIs and then those MOBIs into ePubs with calibre, using LRFTools to merge the ePubs, and converting the monolithic ePub back to a MOBI.
Here's the (extremely unpolished at present) script I'm using to do it, for reference:
#!/bin/bash tempdir="$(mktemp -d)" for curdir in $*; do if test -d $curdir; then zip $curdir.cbz $curdir/*.jpg $curdir/*.png $curdir/*.gif ebook-convert $curdir.cbz $tempdir/$curdir.mobi --output-profile kindle_dx --keep-aspect-ratio --output-format png ebook-convert $tempdir/$curdir.mobi $tempdir/$curdir.epub rm $curdir.cbz fi done java -Xms200M -Xmx300M -jar ~/LRFTools-0.9.236.jar mergeEPUB $tempdir -a "Monolithic--EDIT" -t "Monolithic--EDIT" -o monolith.epub
Am I making this whole thing a lot harder than it has to be? At this point I'd even be amenable to a tool that puts navpoints in manually, even though it'd be better if there were an automatic way to translate directory structure of the source to navigational structure of the output.
|calibre, comics, kindle, merge, mobi|
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|epub->mobi & kindle navpoints||dmaddock1||Calibre||1||09-04-2010 10:43 AM|
|Mobi books, same experience as kindle?||abvmoose||Amazon Kindle||4||08-04-2010 11:44 AM|
|Troubleshooting How do I get my DRM mobi books onto my Kindle DX?||flttrainer||Amazon Kindle||3||06-24-2010 08:53 AM|
|Comic Reader Mobi, for the iphone and Windows Mobile||ComicReaderMobi||Reading and Management||15||08-03-2009 06:02 AM|
|Can I Put My Sony eReader Books on a Kindle?||disney_mommy||Amazon Kindle||12||07-14-2009 12:14 AM|