Making Your Own Kindle Book Files

It’s hard for me to believe I’ve missed an entire month on my blog. December is usually a very busy month with my juggling 3 jobs, traveling to see my family and the usual seasonal holiday parties. I’ve also been giving my new Kindle
from Amazon a thorough workout all month long as well. The abbreviated review is that I’m enjoying it immensely. It’s not perfect, but it’s got so many things right that I feel comfortable recommending it to anyone who loves reading.
There have been many good reviews of the device. Here are a couple I found really fair to the device: Steve Gibson’s review, ArsTechnica and Gizmodo. (In case you’re wondering, that is the same Steve Gibson from the wonderful podcast Security Now.) There’s not much more I’d add in terms of a review so check those out if you’re still on the fence about getting one.
First, some hidden features of your Kindle.
There are quite a few things your Kindle can do that aren’t so obvious. The most useful is the clock. Sure, it’s just a clock, but pressing ALT-T while you’re reading a good book will briefly display the current time in the lower left hand corner of your Kindle’s display. Since it’s a reading device, it writes out the time as in Eight till six instead of 5:53pm.
The Kindle most definitely is not a game machine, but that hasn’t prevented Minesweeper from finding it’s way. Just press ALT-SHIFT-M when you are on the Home screen. It doesn’t seem to work when you’re actually reading a book.

Once youve installed the software, its pretty easy to use for most ebook creation tasks. You can import your Word document, PDF files, .txt files and HTML files and make your own Kindle-usable files. Look for the area called Import From Existing File on the middle right of the window.
The first thing that the software does is convert your document into HTML, if it wasnt already. Youll now be in the Publication Files area of Mobipocket Creator. (I should mention that the interface of this software can be pretty confusing.)
You could simply click the Build button from this point, located along the top of your window, but if youre not averse to digging into some HTML, I suggest you open up the HTML file youve just created to look at the file youre creating. You can open this file up in a web browser to quickly check to see if there is anything wrong with it. Some potential problems I’ve seen are page numbers from a PDF showing up where I didnt expect them to in an ebook. Ive also seen problems with tables of contents for documents. To fix problems like these, open up the HTML file in a simple text editor on your PC (or Mac, if youre doing it like me through a Windows virtual machine).
Fixing page numbers will require some searching voodoo. You should look for recognizable pattern and try a search and replace based on that. For example, I had one PDF conversion that had a horizontal rule followed by the word page and then the page number throughout my document. That helped me isolate that sequence and eliminate it from my HTML file.
If youve got a long document with a table of contents, using an HTML editor is where I suggest adding or fixing this area as well. (There is a menu item for Table of Contents in the software based on different tags in your HTML. I skip this step in the software though.) In an ebook, the table of contents links are basically anchor tags to a place later in your HTML document. Easy stuff. Just go to the table of contents area and start creating anchor tag links for the chapters of your book. Youll need to search for each chapter in your HTML and add an anchor tag there as well.
Heres a page with a simple example of what youll need to do to create anchor tags for chapter. Look in the code for the phase See also Chapter 4 at the top of the code example and notice how the anchor tag is created, href=”#C4”. Now and that actual Chapter 4 anchor further down the document, name=“C4”.
Another step I always do before moving to the Build phase is to set the Metadata by clicking that link on the left. If you dont do this step, your ebook will show up in your Kindle without an author. I dont like that. It makes my home page feel untidy.
I imported a PDF into mobipocket creator and it converted it into a subfolder. however, there were no files with .prc extension. The kindle could not see any of the files that were created. So what good is this?
COMMENT:
Hi GCT,
I’ve got Windows running in a virtual machine on my Mac. When I’m in Windows, I don’t see any extension to the ‘ebook’ file either, but when I copy it over to the Mac side, since my Mac doesn’t recognize .prc files, the extension is shown.
Did you copy that file to the documents folder in your Kindle? If it’s not in the correct folder, the Kindle won’t recognize it.
Also, I’ve taken a screenshot of a test folder on my Windows machine where I converted a PDF. I’ve pointed out the file that has the “hidden” extension of .prc.
Click see screenshot.
Good luck!