12-23-2007, 10:24 AM | #1 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Tutorial - How to Create a MobiPocket eBook
The attached file is a detailed tutorial showing how to create a MobiPocket eBook using the freely available tools of Book Designer and MobiPocket Creator. It starts off with the assumption that you've already created and edited the book in Book Designer, and shows you how to go from the BD book to a properly-formatted MobiPocket book with large images, a functioning "Table of Contents" menu item, and so on.
Comments or suggestions for improvements are of course welcome. There are two attachments: the tutorial itself in Word format, and a file "sample.zip" containing the sample files used in the tutorial, so you can "follow along" with it. Hope that this is useful to people. EDIT: Proofread the document and corrected a dozen or so minor typos. Uploaded v1.02. This work is assumed to be in the Life+70 public domain OR the copyright holder has given specific permission for distribution. Copyright laws differ throughout the world, and it may still be under copyright in some countries. Before downloading, please check your country's copyright laws. If the book is under copyright in your country, do not download or redistribute this work.
To report a copyright violation you can contact us here. |
12-23-2007, 12:09 PM | #2 |
Wizard
Posts: 4,395
Karma: 1358132
Join Date: Nov 2007
Location: UK
Device: Palm TX, CyBook Gen3
|
Thanks Harry - the tutorial worked perfectly - I'm looking forward to doing it for 'real'.
The only typos I spotted were: you’ll see that the Creator was created a new folder you’ll see that the Creator has created a new folder you’ll see the “Build completed” screen you’ll see the “Build finished” screen Also, should there be an instruction to click the Build icon in: "Again, click the Update button. This takes us to the “Build publication” page:" ? |
Advert | |
|
12-23-2007, 01:08 PM | #3 | ||
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Quote:
Quote:
|
||
12-23-2007, 01:22 PM | #4 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
I should add, by the way, that there's considerable room for "shortcuts" in the process described.
If you've worked through the tutorial I'm sure you've realise that the "Mobi Creator" program is basically a tool for creating and editing the ".opf" file. This is an XML file which describes the contents and layout of the book "package". If you stick with calling the book file "book.html", all you have to do to create a new book is: 1. Create a folder. 2. Copy the HTML file and any image files into the folder. 3. Copy the "book.opf" from your last book into the folder. 4. Double click the "book.opf" file to open it in Mobi Creator. 5. Edit the metadata - title, author, etc. 6. Build the book. This is because everything in the opf file except the book's metadata is the same from book to book, provided you stick with the same naming for the book HTML file and its tags. The tutorial mentions only one of the "custom tags" that you can put into your HTML document - the "<mbpagebreak/>" which forces a pagebreak. There are lots of other tags you can use to provide more detailed control over the formatting of your document - they are documented on the MobiPocket developer web site at the link below: http://www.mobipocket.com/dev/articl...eFolder=prcgen |
12-23-2007, 01:50 PM | #5 |
Grand Sorcerer
Posts: 12,774
Karma: 75242724
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Thanks I'm delighted to see this. I had looked at BD for making Mobipocket's and my main issue was the formatting. I really HATE fully justified documents; much preferring the use of non justified text.
Now it's time to sit down and really figure out HOW to use BD and I'm all set to go |
Advert | |
|
12-23-2007, 01:55 PM | #6 |
Guru
Posts: 760
Karma: 2825929
Join Date: Feb 2007
Location: Fresno
Device: Kindle 1; iPad Air; iPhone 7; Kobo Libra; Kindle Oasis 3
|
Harry, what would happen if you didn't add the "start reading" tag? At first blush, it seems like you could get to the text just by clicking on Chapter 1 of the TOC?
I know that you say it's useful in the Mobipocket Reader, but if you're viewing the file in, say, a Kindle, is that tag necessary? Jim |
12-23-2007, 02:05 PM | #7 | |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Quote:
I don't know what use the Kindle makes of them or otherwise. You are absolutely right - "Start Reading" does seem a little pointless, but it does appear to be a "standard" item, and it's no real work to add it. "Table of Contents" is genuinely useful - I would certainly always add that one. In case I didn't make it clear in the tutorial, you can add any extra items you want in "Guide Items" - they are just links to specific places in the book defined by anchor tags, so if you had a book which had some special places you wanted to be able to quickly jump to, you could add additional guide items to enable the user to jump directly to those places. |
|
12-23-2007, 02:18 PM | #8 |
Guru
Posts: 760
Karma: 2825929
Join Date: Feb 2007
Location: Fresno
Device: Kindle 1; iPad Air; iPhone 7; Kobo Libra; Kindle Oasis 3
|
The Kindle menu doesn't have a "start reading" option, but just " go to toc" and "start at beginning." When I opened your new edition of Bleak House it opened at Chapter 1, which confused me. I had to backtrack to the book title, author's picture (which was what I was looking for to see how that had turned out), and toc. I'm guessing now it was responding to your second tag.
Since I don't especially want a book to open at the beginning text, I think the first one I try I'm going to omit that tag and see how it turns out. I'll try something without a picture, too. Bleak House, by the way, looks terrific. I haven't read it in a while and I'll schedule it for an early re-read. Jim |
12-23-2007, 02:29 PM | #9 | |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Quote:
I've followed the "documented procedure" for creating Guide items, so forgive me if I carry on creating books this way. |
|
12-23-2007, 11:24 PM | #10 |
Guru
Posts: 760
Karma: 2825929
Join Date: Feb 2007
Location: Fresno
Device: Kindle 1; iPad Air; iPhone 7; Kobo Libra; Kindle Oasis 3
|
Harry,
I used note pad as a text editor, not being up to speed yet with PFE. I didn't do anything to change the fully justified appearance of the text because as far as I know, there isn't any way with the Kindle of choosing to turn the justification on or off. And I added the tag that would result in the Kindle recognizing the toc of the book. Here's what that looked like after I'd finished: Code:
<mbp:pagebreak/><SPAN id=BCONTENTS><A name=toc><DIV align=justify> </DIV> <DIV align=center><B><FONT color=#0000ff>Table of Contents</FONT></B></DIV></A> I ended up with some problems. The book didn't show up in the Kindle by name, but just as "Book". Assume I did something wrong in the making of the book and will look at that again. Interestingly, despite not using the Start Reading tag, when I opened the book it took me right to the first chapter. I see that the Kindle has another menu option that I hadn't noticed called "Go to Cover" which takes you to the cover page. It did activate the toc menu item, so assume that's the result of my text editing. Other problem, though, is that the first page of the first chapter was all centered -- all of the lines. But only that page; all others were justified. Any thoughts on that? It may very well be that it'll take someone with some computer smarts who also has a Kindle to solve these kind of problems, but I'd thought I'd report in. Jim |
12-23-2007, 11:27 PM | #11 |
Guru
Posts: 760
Karma: 2825929
Join Date: Feb 2007
Location: Fresno
Device: Kindle 1; iPad Air; iPhone 7; Kobo Libra; Kindle Oasis 3
|
Have no idea what that face is doing there. In the file, it's just a colon.
Jim |
12-24-2007, 04:03 AM | #12 |
Wizard
Posts: 4,395
Karma: 1358132
Join Date: Nov 2007
Location: UK
Device: Palm TX, CyBook Gen3
|
|
12-24-2007, 04:30 AM | #13 | ||||
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Quote:
Quote:
Quote:
Quote:
|
||||
12-24-2007, 05:48 PM | #14 |
Enthusiast
Posts: 25
Karma: 78
Join Date: Dec 2007
Device: Kindle
|
HarryT, thanks for the tutorial. I've downloaded the files as you mentioned in the other thread, and run through it with great success. I love the way the files turned out, it's exactly what I was looking for. Now to do it a bunch of times and get proficient.
One question, though. When I open any .prc file from this site in BD with the intention of implementing your changes, the photos don't show up. In your tutorial, you started with the html0 file for BD and the photos that that file referenced, but how would I go about taking a .prc file that was already built and implementing those changes after the fact, without the source files? I can open the PRC in BD, but no photos are there. Thanks in advance. Jiiri |
12-25-2007, 03:43 AM | #15 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
I don't believe there's a way of doing that, unfortunately. My tutorial is aimed at people creating books themselves from the original PG (or whatever) files.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to create your own mobipocket dictionary for any language: | drago | Workshop | 175 | 03-24-2020 04:48 PM |
Converting Encarta Dictionaries to Mobipocket Tutorial | owl123 | Kindle Formats | 16 | 06-16-2011 04:35 PM |
Ebook Formatting Tutorial | Amalthia | Calibre | 20 | 05-16-2010 02:18 AM |
How do I create headword-enabled Mobipocket dictionary? | owl123 | Kindle Formats | 1 | 07-24-2009 12:13 PM |
Using Publish eBook to Create PalmDoc Books | Bob Russell | Other formats | 2 | 07-09-2005 11:55 AM |