Showing posts with label epub. Show all posts
Showing posts with label epub. Show all posts

Tuesday, July 16, 2013

New Adventures in Mobi Creation

No, not the whale, but the program that creates the digital book for Amazon’s Kindle (though at the moment I’m ready to put the great white whale’s last name to the whole evolution and refer to it by the crude vernacular). Since readers have their accounts set up and click a button to download their Kindle Book to their Kindle device all in a matter of seconds, an author needs her book in the Kindle Store. To get it there, she must create her masterpiece in .mobi format.

Getting my latest novel, Camellia Creek, a gothic mystery/suspense set against the backdrop of  Presidential Reconstruction at the end of the War for Southern Independence, into mobipocket, .azw format, took days, untold hours I wish I’d actually recorded so you could more clearly understand how absolutely anal I am. For those of you who have looked at my blog for “technical” advice, no matter how unintentionally spurious, you know that over a year ago I blogged extensively about my creation of the files required by MobiPocket Creator to build a mobi book. With those files—sitting in the folder for each individual book in the “My Publications” folder associated with MobiPocket Creator—I managed in 2011-2012 to upload my first four books and get them in the Amazon Kindle Store. Camellia Creek, thought I, will be a piece of cake.

Wrong. Oh, I created the files easily enough based on templates I’d created from my first four books—the .html version of my book, the .ncx file, a proper version of the .opf (MobiPocket Creator creates an .opf file automatically from whatever data one feeds it—if one feeds it no extra data, it creates it from the .html file itself and it always overrides whatever .opf file you place in the folder so you have to keep checking and cutting and pasting your good one over the one it makes. Suffice it to say, that evolution is time consuming and frustrating.). Then I added my only two graphics—the cover and my logo.

For four days I tried to get MobiPocket Creator to build my book. Now, I didn’t sit in front of my computer uploading and re-uploading the same files over and over during that time with the expectation of one time getting a winning result. That folks, is the definition of stupid. I’m just sorta stupid for sticking with it all that time. I’d make changes to the .opf and tried different renditions; I checked and rechecked all my files, my headers, my content, my “#$!%” html. I even removed MobiPocket Creator and reinstalled it—on both the computers I own with access to the internet. One thing I did discover was that every time I took the “failed” build and removed the .ncx from the mix, the book built. I knew the problem was with the .ncx or the .opf (which references the .ncx). I went to the online forums and studied and tried to replicate individual methods of inserting files into MobiPocket Creator and overcoming the Creator’s frustrating habit of messing up my .opf. At one point I created a .zip file of Camellia Creek’s files and attempted to insert that into the My Publications folder. That didn’t work either—works for epub, but not mobi. I kept the .zip file anyway.

Finally, on the fifth day, I removed the publisher version of  MobiPocket Creator and downloaded the “Home/Family” version. The MobiPocket Creator website said it was simpler to use. Personally, I didn’t see much difference from the “use” angle, but one thing that simple little sucker did when it, too, failed to build on my first try was point out one tiny error in the spelling in the “content src” for chapter seventy-four in my .ncx. I’d spelled “seventy” “seveenty”. I fixed it and Camellia Creek build on the next try, .opf, .ncx and all.

I don’t know that the misspelling caused all those wasted hours, not to mention stress, but the results rendered after its fixing indicates that was the problem. So why didn’t the “publisher” version point it out to me when the “simpleton’s” version was so quick to do so? Maybe the publisher’s version thinks publishers should know how to spell or are such thorough proof readers there is no way they’d let a screwball thing like three “e”s in seventy get by—this in a work of 79 chapters and an epilogue (Camellia Creek is twice the length of my previous books).

Oh, and now comes the really, really good part. I start uploading to Amazon—I get to Part 5 at the “Upload Your Book” window. The little pinwheel is purring, there’s a window there that says “uploading your book, this may take a few minutes” and wahlah—the KDP (Kindle Direct Publishing) platform rejects it. The window says, simply, that I used software other than that approved by Amazon. I’m confused—I sent them the .prc. KDP didn’t need to build my .prc. I SENT it one already done, darn it! And fifteen months earlier the KDP platform had accepted four of my .prc books built the same way—ok, this one was built with the “simpleton’s” Creator, but what the heck.

I go to the “formatting guide” offered in the rejection window. Sure enough, .prc’s aren’t listed. I go to the Amazon “techies”. “Yes they are,” the “techies” say. Two day’s later the “techies” have it figured out—I needed to use KindleGen to build my .prc, not MobiPocket Creator.

During that two-day interim, I went back to that “zipped” file I’d fortuitously saved during my nightmare of working with the publishers version of MobiPocket Creator and uploaded it at Part 5 of the Upload Your Book window. It uploaded fine. Camellia Creek is at the Kindle Store.

Next, my pathetic adventures using KindleGen.

Friday, February 3, 2012

Mobi "Build" and EPUB "Zip"

Last spring (2011), I put my then most recently published novel, Epico Bayou, into ePUB format. Elizabeth Castro's EPUB Straight to the Point was my guide. I never got to Chapter 4, "Advanced EPUB Formatting", which had been my real goal. You see, I have a Nook, and on that Nook, I have the free "classics" Barnes and Noble provided with the eReader. I want my ebooks to look like those classics.

At the time, Smashwords, where my books can be purchased in digital format for any eReader, had not come to an agreement with Barnes and Noble regarding distribution of Smashword's EPUB-formatted books, and Barnes and Noble was accepting uploads to its Pubit program, which converts books into EPUB for the Nook. I considered those good reasons to delve into EPUB formatting, with the added benefit of making my books as pretty as Barnes and Nobel's "classics."

Instead, my twenty-two-year-old daughter informed her father and me that she and her Israeli boyfriend were tying the knot, and they were coming home to Mississippi to do it. Needless to say, my goals involving Chapter 4 were set back, and I planned a beautiful wedding. By the time the dust had settled, my books could be purchased for the Nook from the Barnes and Noble Ebook Store, and I had my own web page at the Apple iTunes Store--like a rock star! Yessss. Mike Coker at Smashwords had been busy. See sidebar.

So completing that final chapter of Elizabeth Castro’s EPUB Straight... and making Epico Bayou as pretty as a Barnes and Noble "classic" faded in importance, and I turned my attention to getting River's Bend on the street (in print) and ultimately into the Kindle store as a mobipocket.AZW ebook.

Now, I spent a lot of hours with EPUB Straight to the Point last year, and I learned a lot--knowledge that proved invaluable when I started putting River's Bend into mobi format. From prior experience with Smashwords and its Formatting Guide, I knew how to format books in Word (.doc) for conversion to digital format, and I knew enough .html to convert that properly formatted Word document into .html, then clean it up. Converting Word to .html creates a messy .html document.

EPUB and mobipocket have a lot in common. In fact, from what this laywoman has been able to decipher from her internet research and the International Digital Publishing Forum (see sidebar), the former is an upgrade of the latter--or an upgrade from whatever the latter derived from. The EPUB format is more complicated in that it’s longer, the headers slightly more complex, and the content greater, but certainly manageable. The two biggest problems I had with EPUB were "validating" my EPUB file by downloading and running a java script in my "current" directory and "zipping" the EPUB files comprising my book.

I know what zipping is--compressing files to make them smaller so they take up less "cyberspace" when sent over the internet--or something to that effect. But I have trouble with it. I have trouble with the tools one uses to "zip" or "unzip". I dread dealing with either one, and every time I use one or the other, I am forced to relearn what I never really learned in the first place. I know it shouldn't be that hard. I have WinZip on my new computer. The program looks like it should be able to do everything one needs with one click of the button. Maybe some people can, but I can’t, which brings me back to what prompted this post to begin with: Mobipocket Creator.

I understand enough about the conversion of documents into eReader formats to be able to do it. More often than not I don't understand what the "converters" are doing to these carefully formatted .html, .txt, and graphic files during the conversion process, but I do know that EPUB files must be "zipped" together for the iPad/iPod/S4/Nook or whatever--the eReader--to display them as a book on the screen.

I know that with Mobipocket Creator, you put the files in the publishing window and click "build." That creates the .prc, which you can then upload to various places--in my case, to Amazon where the .prc is converted into mobi’s AZW format for Kindle.

In my mind, that "build" order is equivalent to the "zip" order. But I can't find anything to confirm that. Also, when you hit "build" in the Creator's publishing window, the Creator takes you to the next screen where you have to decide not only your encryption options but also your "compression" options--one of which (the one April Hamilton suggests you choose, as a matter of fact) is “no compression.” That rules out an inherent parallel between “build” and "zipping," right?

Whatever... If there’s anyone out there who knows what happens when you hit "build" and how that equates to what happens when you "zip" in EPUB, please let me know.

What I do know is this: If I find my new .prc book faulty in any way and need to correct it, all I have to do is go to my book's folder in the "My Publications" file on my hard drive, open the egregious file with Notepad++, fix it, close it, re-upload it to the Creator's publishing window, then "build" again. Everything is overwritten, and there’s the corrected .prc. None of that zipping and unzipping I dread so much.

And lastly, I need to download some information on that KF8 format for Kindle Fire--drop caps and embedded fonts. Now that's gonna be pretty!

Thanks for reading.

Charlsie