The Android vs iOS Debate

So I ran across this article where the author discusses why he went back to his Samsung phone two weeks after switching to an iPhone.

However, Samsung isn’t the only (or necessarily the best) Android option these days.  I just switched from Samsung to LG,  and I am thrilled. I do believe LG has caught up to Samsung. Others swear by HTC or Nexus.

All that said, this author doesn’t address the core key advantages Android has over iOS:

1) You aren’t locked to hardware. If you don’t like your Samsung phone, you can go to LG or HTC, or any number of other hardware configurations, screen sizes/resolutions, etc.

2) Being an open-source platform you aren’t locked to Google software either. Besides each hardware vendor developing their own software, literally thousands of third party developers are able to develop and distribute Android apps via the play store.  This competition means a larger selection of apps, many are free, and the paid apps tend to be far more competitively priced. 

3) There is a third advantage for me. I’m a PC guy and I’ve used Google apps for years — Chrome, Google calendar, etc.  Having all my bookmarks, browser history, calendars, photos, etc., all automatically synced between my PC, phone and tablets is a luxury I’m not willing to forgo.

For me, it’s Android all the way – Windows and iOS are left to slug it out for king of the locked platform. However, Samsung no longer has a monopoly on the Android market. You have other viable choices. That’s good for Android — it makes Android even more attractive.

Why the ‘Father of the Internet’ Thinks You Should Print Out Your Photos

In a recent Time Magazine article Google exec Vint Cerf argues that we should all start making hard copies of our documents and photos as he foresees a future where software upgrades will render large portions of our history inaccessible digitally.

capture2

While I understand his point, I think it’s far more likely that our hard copies would be destroyed by loss, water, fire, aging, and such like, and probably sooner that they would be digitally inaccessible.

Case in point:  I recently wanted to recover some digitally stored copies of some research papers from my college days.  These papers were written and stored with an old MS-DOS version of WordPerfect some 30 years ago, and to make matters worse they were password protected.

It took some Googling and searching, but I was able to find FREE utilities in under and hour that allowed me to crack those passwords and convert those old MS-DOS WordPerfect files to 2013 Word files.

If you truly want to protect your data, you can convert that old Office 95 document to an Office 2013 document in less time than you can print a hard copy and file it somewhere.

The same is true of photos.  I really don’t see the JPEG format going anywhere soon, but if a better compression format comes along, you will be able to batch convert all your JPEGs to the new format faster and easier than you can print them and file them.

And of course, if you’re like me, any photos that are truly priceless I maintain in RAW, TIFF and JPEG formats.  I highly doubt that in the next 30-50 years, there won’t still be software available that can read and convert and least one of those formats.  True 8-bit color palettes are giving way to 16-bit color palettes and maybe someday we will be working with 32 or 48-bit color palettes, but the formats and smaller color palettes will still be readable.

Bottom line:  Mr. Cerf’s advice is really bad advice.  Paper documents are easily lost and destroyed.  The best advice is to store important data digitally, store it in multiple locations and multiple formats, and when you update your software take the time to update your data files.

Windows 10 Nearing Release: Where’s the Buzz?

captureMicrosoft is due to release Windows 10 sometime in January (technical preview was released in October of 2014), yet almost no one is talking about it. Why?

There are a number of changes and improvements that will be welcome to Windows users–welcome to those who switched to Windows 8 as well as those who didn’t. They are also reportedly releasing a new browser (code-named “Spartan”) with Windows 10 that will rival Chrome and Firefox, while still keeping IE 11 for backward compatibility–whatever that means. I assume it means to keep those happy who prefer to use outdated technology. I haven’t used IE for nearly 10 years. Chrome and Firefox have long been superior browsers. Besides you can’t use IE on your mobile device. I use chrome on PC, tablet and phone. Why is this important? Let’s say I look up a recipe on my home PC and we try it for dinner. The next day we are away at a family member’s house and my wife is talking about this recipe and my sister wants us to share it with her, I can grab my phone, open Chrome, look at my history (which is automatically synced between all devices running Chrome) and find that link and open the page, text it to her, or email it. This is a perfect example of how Microsoft trying to keep its technology locked down to its own platforms is making itself useless and irrelevant.

Sure, the desktop world is shrinking as mobile devices assume roles previously played only by desktop PCs, but there is still a desktop market. Yes, the Linux community is growing, but the desktop market is still dominated by Apple and Microsoft, and Microsoft still has majority market-share.  So why aren’t PC users excited about the upcoming changes? I’m a PC user and I’m admittedly following this news rather lethargically as well.  It’s the complete inability to integrate the mobile and desktop experience that I alluded to in the Chrome vs. Internet Explorer example above.

Here’s the thing: Microsoft is head and shoulders above its competitors as the most progressive and cutting-edge developer in this new digital age–even though most who are used to pre-mobile technology don’t like the new development trends. The fact is people no longer process and share information on a single device. We use computers, smartphones and tablets, and we want our information to be synced and readily available on whichever device we happen to have at the moment. This is the problem Microsoft is addressing and solving–sort of. So what’s the problem?

They were late into the mobile market? Most of us use Android phones which run on a Linux-based operating system, and most of the rest use iOS devices. Google and Microsoft haven’t played well together, and Apple doesn’t want to play with anyone. Microsoft wants to force everyone to use Microsoft devices and Microsoft platforms (Operating Systems) to get this integration, and quite frankly their mobile market hasn’t been–and still isn’t–up to snuff. It can’t compete with Google either in terms of number of apps available or the quality of those apps. They became a software giant in the 80s because they didn’t lock their software to their own branded hardware. The IBM PC (which Microsoft software was first developed for) became the IBM “compatible” PC. Hardware vendors sprang up everywhere. It didn’t matter if you had a Compaq, and IBM, a Dell, or a generic build. Microsoft software ran on them all. They aren’t taking this same approach now that we are in the mobile age, partly because they don’t want to give up OS dominance in the PC market, and partly because they still think OS dominance is the key to maintaining their position in the device market. Why they don’t give up on the OS, and instead develop an integration software that includes browsing, word processing, spreadsheets, data collection, note taking, texting, email, and so on; and let that software run and sync on all OS platforms–both mobile and desktop–is beyond me. That seems to be the ticket we are all looking for, but no one wants to print it.

At this point, Microsoft only has a couple of legs left to stand on:

1). One is the Windows platform, and they are losing that leg fast. We are used to–and like–our Android and iOS devices, and we aren’t happy enough with the Windows desktop experience to want that experience on our mobile devices. Yes, I switched to Windows 8 and have really had no complaints versus previous OS’s, but it really wasn’t an upgrade either. It was basically Windows 7 with a Metro interface for downloading and using mobile apps on the desktop. FreeCell and a couple of the traditional games apps look and play better in Metro, and Netflix functions pretty nicely, but other than those few rare exceptions, my PC almost never sees the metro interface. The idea that my mobile experience and desktop experience are going to be identical experiences is still a Microsoft pipe dream. I use PC software that isn’t available on my Android phones and tablets, save the resulting files to the cloud so they can be viewed and shared from my mobile devices. Microsoft really isn’t needed for that. I’m stuck with Microsoft because I really don’t have a better PC alternative, and the PC isn’t my most used device any more.

2). Secondly, the Microsoft Office suite is still the bread and butter of Microsoft. Certainly, they have the business world locked up, but even for home users Microsoft Word and Excel are still the best productivity apps available. I know there are alternatives, and I’ve used OpenOffice for years, but Word and Excel are vastly superior. They used to be price prohibitive for home users, because they required purchasing the entire suite–and let’s face it, most of us home users don’t really need PowerPoint, Access, Outlook, or even OneNote. But with Office 365, you can now purchase annual subscriptions on eBay for $50 bucks a year and get a terabyte of cloud storage included, which makes it a pretty sweet deal. However, the question is whether it’s a sweet enough deal to keep someone locked into Microsoft technology, especially considering the OfficeSuite mobile experience is sadly lacking compared to the desktop environment?

Here’s the problem, no one else is working on an integrated experience either. Google has released a Chromebook, and Chrome extensions for the PC, but they are content with dominating the mobile market and browser-based services. Yes, you can switch to a Linux-based OS on your PC, but it’s not going to give you an identical computing experience between PC and mobile devices. If you’ve used Google Docs, you know they are adequate for basic text documents and basic spreadsheets, but they aren’t up to scale with Word and Excel. If you are doing budget spreadsheets with extensive calculations, importing or linking data from other sheets, etc., it starts to get awkward really quickly, and the mobile experience gives you even less features.

Apple has also done a very poor job integrating its desktop and mobile experience. Its mobile apps don’t translate well to its desktop software, and in some cases even syncing data requires a fair amount of tech savvy. Worse, it still maintains a market where you must pay for these mobile apps which don’t replicate the desktop experience. Unless, you just happen to be a long-time Apple loyalist, switching from Microsoft to Apple is just jumping from fire to the frying pan. Not much of a choice.

Of course, the obvious solution is for Google and Microsoft to collaborate. Yeah, I know. I’m not holding my breath either. And therein lies my ambivalence to the Microsoft updates. Yeah, I could switch to Linux, but it wouldn’t give me the integrated experience we all want, and much of my desktop software isn’t available for the Linux OS (e.g., Quicken, Photoshop, etc.). So, yeah, I’ll probably upgrade to Windows 10 when it comes out and I’ll hope it has some improvements over Windows 8, but I’ll know that I’ll still be using Dropbox, Chrome, Gmail, Google Calendar, and using 3rd party apps to integrate my Android devices to my Windows PC as best I can.

The best we can hope for, really, is that it will be a somewhat better bad experience–and that’s really not much to get excited about.

How to Embed a Third Party Video in a WordPress Hosted Blog

So you found this really cool video you want to share on your blog, but how do you embed it rather than just linking to it?  Well, if you found it on YouTube or one of the other following shortcode-supported sources, the process is simple and straightforward:

But what if you find it on another non-supported site – for this example, the main CNN website.  It gives you an “embed” code by clicking the <> symbol at the top of the video, but it won’t work.  None of the shortcodes will work either.

I wish I could tell you there is a simple way.  I can’t tell you that, but I will tell you how it can be done if you don’t mind taking a few extra steps.

First of all, you’ll want to save the following snippet as a template you can refer to later (you’ll need to delete the asterisk after the first square bracket – it was necessary to include so it displays on this page as text rather than WordPress converting it to a shortcode statement):

[*gigya src="SOURCEFILE" flashvars="VARIABLES" width="416" height=
"374" quality="high" wmode="transparent" allowFullScreen="true"]

You can change the width and height to match that of the source video as well if you like depending on available space on your blog page, but the only thing we need to replace are the two variables in all caps:  SOURCEFILE and VARIABLES.  So where do we find these.

Go to your CNN video page (or whatever site your video is on) and instead of clicking on one of the share buttons, right click anywhere on the page except on the video (you will only get flash options if you click on the video).  Then in the options dialogue that pops up click “View Page Source.”  [Note: In Internet Explorer the menu item simply says “View Source”].  You’ll get a page full of code, which may or may not make any sense to you.  Don’t worry about that.  Your just going to scroll down the page a bit and look for a block of code that looks like this (delete asterisk here as well):

<*embed src="http://i.cdn.turner.com/cnn/.element/apps/cvp/3.0
/swf/cnn_embed_2x_container.swf?site=cnn&profile=desktop&
context=embedwww&videoId=us/2013/11/15/dnt-gay-marine-
waitress-stiffed.wabc&contentId=us/2013/11/15/dnt-gay-marine-
waitress-stiffed.wabc" type="application/x-shockwave-flash" 
width="768" height="432" wmode="transparent" bgcolor="
\#000000" allowfullscreen="true" allowscriptaccess="always">
</embed>

Obviously, the text won’t be color highlighted.  I added the highlights to separate the two sets of variables we are looking for.  The text highlighted in red you will copy and paste in place of the SOURCEFILE text in your template.  The text highlighted in blue you will copy and paste in place of the VARIABLES text in your template.  You final piece of code should look like this (again delete the asterisk after the first square bracket):

[*gigya src="http://i.cdn.turner.com/cnn/.element/apps/cvp/
3.0/swf/cnn_embed_2x_container.swf" flashvars="site=cnn
&profile=desktop&context=embedwww&videoId=us/2013/11/15/dnt-
gay-marine-waitress-stiffed.wabc&contentId=us/2013/11/15/dnt-
gay-marine-waitress-stiffed.wabc" width="416" height="374" 
quality="high" wmode="transparent" allowFullScreen="true"]

Now you can copy that block of text and paste it into your WordPress Post or Page editor.  Make sure you paste in the “Text” tab, not the “Visual” tab.  Now click either the Publish or Preview button and the video should appear when the page is generated.

Here is an example of the above code in action:

How to Publish Your Own eBooks

This article is aimed primarily at those who are interested in serious publication.  If you are simply interested in making your personal documents available to you or a friend on a mobile reading device there are simpler options available.  I’ll cover your options for the Kindle platform briefly.

Personal Publishing on Kindle

Whether you want to make your recipe collection, personal notes, annual calendars or agendas, etc., available on your mobile reader, this can be achieved as simply as emailing the document to your Kindle device or using the Send to Kindle app on your PC.  You can find/change your devices email addresses by going to Manage Your Kindle in Account settings, and then selecting Personal Document Settings.

When using this method there is generally no need to convert your document.  Kindle’s personal document service accept the following file types directly:

  • Microsoft Word (.DOC, .DOCX)
  • HTML (.HTML, .HTM)
  • RTF (.RTF)
  • Text (.TXT)
  • JPEG (.JPEG, .JPG)
  • Kindle Format (.MOBI, .AZW)
  • GIF (.GIF)
  • PNG (.PNG)
  • BMP (.BMP)
  • PDF (.PDF)

If you are sending multiple files (such as a recipe collection) you can compress them into a single ZIP file and send the compressed ZIP.  The personal documents service will automatically extract the compressed file, convert your individual documents to the Kindle platform and add them to your account.

If you are sending PDF files and want them converted to Kindle free flow text rather than displaying on your device as PDF, simply add the word “convert” to your subject line when sending.

You can learn more about personal publishing on Kindle here.

Publishing for Public Distribution

If you are publishing documents for public consumption, whether you are hoping to sell your material or are freely distributing business or marketing material that directly impacts your business image, then you will probably want more control over the appearance and output of your digital content.

Third Party Services

Of course, there are numerous third party solutions that will give you professional results for a fee.  If money is no object, you may wish to consider this option.  You can find an extensive list of service providers here.

The fees will vary from service to service, but unless your writing regularly appears in Time Magazine or on the New York Times Best Seller list, you will likely be looking for other options.

Writing Your Own HTML code

At the other extreme, if you are a bit on the geeky side, develop your own websites, or are at least at home with HTML, XML, and CSS, you can painstakingly code your own HTML documents and submit them directly to the Kindle Direct Publishing service with full confidence that your document will appear exactly as you intend it regardless of the end user’s device.

Again, for most, this won’t be a preferable option.  Even if you have the coding skills, you may likely prefer to spend your time writing rather than coding.  If you do want to try this route, however, make sure you are well versed in Amazon’s Kindle Publishing Guidelines.

Using Software Conversion Tools

Most of us will fall into the category of needing to rely on free or inexpensive software conversion tools, but still wanting to maintain a high level of control over output.   Fortunately, there are some good tools available, making this the “best bang for your buck” option in most cases.

InDesign Plugin Option

This is not a “free” option.  The Kindle plug-in is free, but using Adobe’s InDesign carries a bit of a price tag.   Most people who are regularly published writers already have publishers, agents or editors who take care of distribution and publication for them.  However, just on the rare case that you are a self-publisher and do happen to use InDesign as your publishing software, then you will be happy to know Kindle provides a free plug-in to directly convert InDesign documents to Kindle format before uploading.

You can find both the plug-in and the documentation for using it here.

Kindle Conversion Tools

For the rest of us mere mortals, we will likely do our work in Microsoft Word, WordPerfect, or even OpenOffice.  There are excellent free tools to convert these documents to any eBook format you wish.   We will start with the Kindle tools.

You will want to go to the Kindle Publishing Page and download their two conversion and preview tools:  KindleGen and Kindle Previewer.

KindleGen is a command line tool, but has more conversion options and control.

Kindle Previewer will also do conversion so long as your source file is either an ePub file or a properly formatted HTML file (or an .opl file linking to a properly formatted HTML file).

I’ll discuss in more depth how to properly format and prepare your document for conversion in a moment, but once your document is properly prepared you simply run Kindle Previewer, then drag and drop your file onto the Previewer window and it will do the conversion, then open the converted file in the preview window.  You can choose to have the preview emulate a number of devices.  You can even open the converted document in your Kindle for PC or send it directly to any of your devices to preview it on live devices before you publish it live.

This is the simplest way to get 100% Kindle compliant documents.

Nook or Generic ePub Tools

Whether you are publishing for profit, advertising, or publicity, you probably won’t want to limit your target market to a single device or technology platform.  You will want the end users who are interested in your content to be able to access it via their preferred platform, whatever that may be.   Most non-Kindle platforms use the ePub format, including the Nook reader and almost all generic eReaders.  It just makes sense then to make your content available in this format as well.

Fortunately, converting this same Word document to ePub is just as simple as converting it to Kindle format.  You can create multiple formats from the same document in just a couple of minutes with a few clicks.  Nice, huh?

For this conversion you will want to download and install the Calibre eBook Conversion Tool, if you haven’t done so already.   I discussed this tool previously in my article on How to Remove DRM From Kindle eBooks.  In this case, we will use it to create our ePub and other non-Kindle formats.

You will want to set ePub as your default output format in Calibre settings.  Converting your document is as simple as adding it to your Calibre library and the conversion is done automatically.  You can select the file add as much metadata as you want (for sure things like author, title, date, and description).  You can even add a cover photo if you want (I recommend you do).   You can then convert it to as many output formats as you like – including ePub and PDF – and the metadata will be embedded in the file.  This is important because this is what users will see when they are browsing through books and blogs in the Amazon or Barnes and Noble stores.  Think of your cover image as your store window and the metadata as the book cover.  The image will catch their attention, and the metadata will give them a quick pitch about who the author is and what the book or content is about.

Formatting Your Document for Publication

A general understanding of the Kindle Publishing Guidelines will be invaluable here.  The Kindle rules are a bit more stringent than the generic ePub rules, but partially because they offer more viewing options across a wide range of devices.  In both cases, simplicity is the rule rather than the exception.

As our word processors become more powerful, we tend to fall in love with all the decorative things we can do with fancy fonts, drop shadows, embedding spreadsheets, and so on.   These things don’t work well in digital publication formats.   The principle of digital publication is free flowing and free format text.   In other words, we don’t know if the user will use a small device or a big screen monitor.  We don’t know if they prefer small text or large text; if they prefer serif or sans-serif font faces.  What we want to do is give them text in a non-constrained free flowing format and allow them to choose as much of the formatting on their devices as possible.

If you’ve ever been to a website that had such small text that you could hardly read it and tried to increase the font size in your browsers settings only to find it didn’t change the font size on the web page, then you know the frustration of reading someone’s work who “fixed” their font-display before publication.  If you are like me, you didn’t stay on that page too long.

With that in mind let’s look at how we can create a clean and free eBook friendly document in Microsoft Word (the same principles apply to whatever word processor you use).

Use Default Styles

Do not use fancy or decorative texts.  Stick with the common default fonts: Times New Roman or Arial are the best choices.  It’s fine to use bold and italics where needed for emphasis, but don’t write your entire document in a bold face or Amazon will reject the document.   Using Tabs, Indentions, Centering, etc., is fine, but Amazon recommends that you don’t force the body of the text (entire paragraphs, for example) to be aligned left or justified, single or double spaced, etc. – formatting options best left to the reader.

Using default text styles also means (but is not limited to) that thing like block text, superscripts and subscripts, footnotes, etc., do not translate well to eReader formats and should be avoided.   This biggest issue of these is footnotes.  Most documents of any length will necessarily involve some citations.  If the source can be hyperlinked, that is a better option, or a short italicized editorial comment can be included in brackets immediately following the text as well.  But still there are times where footnotes are necessary.  When you must use them use the Endnotes option in Word and remove the superscript formatting in both places – rather note the reference with a single hyperlinked digit in brackets, like this:  [1] or [note 1].

Make Effective Use of Headers

I’m not going to cover the details of writing from outlines and using the outlining and sub-document features of Word here, but if you are writing feature length documents you are probably already doing this.   The important point here is that a linkable “Table of Contents” is an important feature in eBooks, and if you capitalize on Word’s ability to use headers to auto-generate a table of contents it will make your life much easier.

Use Header Style 1 for your Level 1 points (e.g. chapter titles), Header style 2 for level 2 sub-points, etc.   You can emphasize these headers with bold text and larger font size if you like, but keep them in your default font and automatic color selection.

If your content is a book, make sure you insert a hard page break before each new chapter or main heading.  You will also want to make sure you set all header styles to remain with the paragraph following so they don’t appear orphaned on the reader’s device.   To make this setting permanent right click on each Heading style on the HOME ribbon toolbar and select MODIFY, then select FORMAT/PARAGRAPH at the lower left of the dialog.  On the next dialog click the LINE AND PAGE BREAKS tab and check the box that says “Keep with next.”   Click OK, then on the main modify dialog tick the radio button that says “New document based on this template” and then OK, which will make that setting permanent for all future documents.

Create a Table of Contents

Amazon recommends that the table of contents be placed near the front of the document rather than at the end, and I find this to be a good practice as well as this is what most people expect.   What you need to decide is if your readers use their eReader menu to “Go to Beginning” of the book and then start paging through, will they want to naturally page through your table of contents.  In some situations this can be helpful, especially if your book or document is largely for reference where they will want to go to specifics sections.  However, if you have a long novel which is most naturally read beginning to end in order, it may be a nuisance to have to page through an 8 page table of contents.

If you want them to encounter it naturally, then place it right after your title or credits page.  If you don’t want them being bothered with it unless they select “Table of Contents” from the eReader’s menu, then place it right before the title page.

Insert a new page in your chosen location, then in Word go to REFERENCES on the main ribbon and click TABLE OF CONTENTS on the ribbon toolbar, and choose your preferred format (don’t worry the page numbers will be stripped during eBook conversion since page numbers are irrelevant in a free flowing format).  If you add or change any headers after creating the table of contents make sure you go back to it, click on the table and select UPDATE TABLE.

Final Preparations

Notably, I haven’t covered the use of images in your documents extensively, and for good reason:  this falls under the “default styles” principle.   They should be used sparingly.  Never use an image if you can use text or a table instead.  If you do use an image, line or vector graphics are better than full color photos.  The challenge is if you make resolution and quality high enough to look good in the reader, your document may get rejected for excessive image size as Amazon places a 300dpi minimum and 175kb maximum limit on all content images.  If you compress the images enough to fit size requirements, your document could get rejected for quality issues.  If you are publishing comic books, food or photo intensive books then you need to read the Amazon Kindle Publishing Guidelines thoroughly as they have special tools and information for those doing heavily graphic publications.  That is beyond the scope of this guide.

We need to add two important bookmarks to our document before we save it – one for the start of the document and one for the table of contents.

Go to your table of contents and place the cursor before the “T” in “Table of Contents”, then on the main ribbon choose the INSERT tab, then BOOKMARK on the ribbon tool bar.  In the dialog type “toc” (without the quotation marks) and click ADD.

Next, go to your title page and place your cursor at the top of the page before the title and go to INSERT/BOOKMARK and type “start” (again without quotation marks), then click ADD again.

Finally, since this is going to be an eReader publication we need to change our page formatting, since no one wants a 1 inch page margin on their 3.5″ smartphone screen when reading a book.    To adjust this go to the top of your document, select the PAGE LAYOUT tab on the ribbon, select MARGINS on the ribbon toolbar, then “Custom Margins.”   I recommend setting the margins at .25″ all the way around.

If you haven’t already ran spell/grammar checks, done a proof-read or two, and looked at a print preview, this is the time to do all those things as well.  Assuming you are happy with your document and its layout, you are ready to save it.

I recommend saving it first as a Word document (.docx format) so you have a master copy you can always go back to as you do lose some formatting when exporting to HTML.   After saving your master, go back to the FILE menu, select “Save As”, browse to your selected folder and choose “Filtered HTML” as your file type.  You can add author, title and tags if you like, then save the file, and you’re done with the writing process.

Technical Preparations: Supporting Files

Unfortunately, there is some minor coding preparation and supporting files which must be created to complete the process.  Don’t worry – we’ll cheat.  I’ll show you how to create “template” files that you can save in a master location and then edit file names, rename and save in your new folder.   You don’t even have to understand the technology or coding – just a simple text replacement.  

But before we get to the technical stuff we need a marketing cover image for our book or document.

The Cover Image

Amazon requires a marketing cover image for all books published and marketed in their Kindle store.  Publisher requirements aside, if you are wanting to attract readers a cover image is a no-brainer.

I won’t cover image editing here.  If you are creative and have the tools you can design your own.  If not, you may be able to find generic cover templates on the web that you can purchase or even download for free.  Just be careful – if you are selling your book on Amazon your cover cannot be a duplicate of another author’s book for sale in the store.   If all else fails you can have Calibre generate a cover for you when we get to that step.   Of course, I highly recommend that if you are serious about self-publishing that you learn enough about photo editing to be able to create your own covers.  It’s not difficult to do.

The size and quality requirements for the cover image are different than for content images.  Amazon prefers high quality for the marketing image.  They recommend 1563px by 2500px at 300dpi for the best quality, but the image must be at least 1000px on the longest side and at least 650px on the shortest side.  As long as it fits these requirements the W:H ratio is a matter of preference.

There is no restriction on file size, but it must be a JPEG image.  Since the emphasis is on marketing and image quality, I recommend saving it at no less than 90% JPEG quality.  If you are concerned about file size you can go on the low side of the limit (approx. 800 X 1250) which will reduce the file size by about half, but just remember most people will make decisions to buy your book based on what they see and read about it that piques their interest and will never know or care what the file size of the book is.

When you have your cover image created, save it in the same folder as the HTML file of your book as “cover.jpg.”    Now we are ready to move on to the technical part.

Preparing the “OPF” File

The .opf file is necessary for the eBook to know where your table of contents are, where the beginning of the document is, and it’s where it finds the necessary metadata for your book as well – author, title, etc.  Here is an .opf template file:

<?xml version=“1.0” encoding=“utf-8”?>
<package unique-identifier=“uid”>
<metadata>
<dc-metadata 
xmlns:dc=http://purl.org/metadata/dublin_core&#8221; xmlns:oebpackage=http://openebook.org/namespaces/oeb-package/1.0/&#8221;>

<dc:Title>Your Book Title Goes Here</dc:Title>
<dc:Creator>Author Name Goes Here</dc:Creator>

<dc:Language>en</dc:Language>

<dc:date>2013-11-29T05:00:00+00:00</dc:date>
<dc:publisher>Self-Published</dc:publisher>
<dc:subject>Tag or Keyword Goes Here</dc:subject>
<dc:subject>Tag or Keyword Goes Here</dc:subject>
<dc:subject>Tag or Keyword Goes Here</dc:subject>

</dc-metadata>
<meta name=“cover” content=“my-cover-image” />
</metadata>

<manifest>
<item id=“bkfile” media-type=“application/xhtml+xml” href=Title-of-Book.html />
<item id=
“my-cover-image” media-type=“image/jpeg” href=“cover.jpg” />
</manifest>

<spine toc=“ncx”>
<itemref idref=
“bkfile” />
</spine>

<guide>
<reference type=“toc” title=“Table of Contents” href=Title-of-Book.html#toc” />
<reference type=
“text” title=“Beginning” href=Title-of-Book.html#start”/>
</guide>
</package>

You can copy/paste that entire code segment into Notepad as save it in some master folder as “template.opf” so you can reuse this in the future.  Note, you will lose all the fancy formatting when you paste.  The formatting isn’t important, but does make it much more readable, so you may have to use your enter button a few times if you want to restore a more readable format before saving.  Now edit each of the areas highlighted in blue.  Most are self-explanatory.  If your language isn’t English, you will want to replace the language code as well.  Title, Creator, and Language are the only really necessary metadata tags, although date is recommended.  The Subject tags are for “tags” or keywords – one keyword per tag.  You can include as many as you want or omit them altogether.  You can also delete the Publisher metadata tag if you are self-publishing (and if you are reading this, you probably are).

Now, for the last section, in the Manifest and Guide elements the filenames must match the filename of the HTML file you saved exactly.  The easiest way to do this is to go to that HTML file, right click on it, select rename, and then CTRL-C to copy the highlighted filename.  Then come back here and use CTRL-V to replace the highlighted filenames in these elements.  The point is if your saved file is “Three-Blind-Mice.html”, then these elements must all say “Three-Blind-Mice.html”.   IMPORTANT DETAIL:  If your file is “Three-Blind-Mice.htm” (no “l” in the extension), then you must change it here as well.  The filenames must match EXACTLY.

Once all your edits are done save this file in the same folder as your cover image and books HTML file with the same file name (e.g. Three-Blind-Mice.opf). 

Converting The Files

Now comes the easy part.  We are now ready to publish our work into just about any readable format we want.  For the purposes of this tutorial I’m going to address ePub and Kindle formats, since that will cover about 99% of the market, but you will be able to observe how to convert to other formats without any additional guidance.

Just in case you’ve decided to use the Calibre generated cover image in your Kindle book, I will address the ePub conversion first.

Converting to ePub format

The Nook reader, Sony, libraries and many other non-Kindle readers use the ePub format.  It is by far the most common electronic publication format outside of Kindle.

We will use the Calibre conversion utility that you downloaded and install earlier to accomplish this.  Simply run Calibre and add your book to your Calibre library (ADD BOOKS menu).  For the Calibre conversion you can either add the HTML file or the Word DOCX file.  It will accept and convert either.

Once it’s imported into your library, select it, then click CONVERT BOOKS on the top menu.  Here you can edit or add any missing metadata, add a description, and if you have a cover image you can browse to it and add it here.  If you don’t have a cover image you will see a button toward the bottom of the dialogue to have Calibre generate a cover image for you.  At the top right of the dialog you will want to change the output format to EPUB (and here’s where you can also select any number of other formats you want to convert to).

Once you are satisfied with your book details and conversion setup click OK at the bottom of the dialog.  Once it starts processing you will see a spinner spinning in the lower right of the apps main window and it will say “Jobs 1”.   Once that spinner quits spinning and the status returns to “Jobs 0” your conversion is done.   Simply browse to your Calibre library folder in Windows Explorer and you will find your converted file in there. 

You can preview how your ePub file looks by clicking the arrow by VIEW on the Calibre menu, then selecting “View specific format” and choosing your ePub format.  If you want to check how it looks on other devices/readers and don’t have an ePub device, you can download other free eReaders from the internet.  There is a list of popular eReaders for Windows here.

If you want to keep all your files together (recommended) you can go to back to your Calibre folder in Explorer and drag and drop your new ePub file into the folder with your original Word and HTML files.

Converting to Kindle Format

Now, I know you probably saw that Calibre will do conversions to Kindle format as well.  So, why not just use Calibre for all the conversions?  Good question, but there is a lot written about Calibre generated Kindle documents being rejected by Amazon for various reasons.  I won’t link to all those sources, but you can simply Google “Calibre Kindle problems” or something along that line and find all the reading material you want.  If you want to give it a shot, by all means go for it, but since Amazon is so picky about their formats I’m going to recommend using their tools to do the conversions to their platform – this gives you the least chance of getting rejections and publishing headaches.  The process is so simple, there is really no good reason to do otherwise.

Open the Kindle Previewer.  Now browse to your folder where your filtered HTML file, your cover image, and your .opf file are (hopefully all together in the same folder).  If you used Calibre to generate a cover image for you, you will need to go to the Calibre library folder and drag the cover.jpg file from that folder into this folder.  It MUST be named cover.jpg – if it isn’t rename it.

Now, you’re going to select the .opf file you saved and drag it onto the Kindle Previewer window and drop it.   If you’ve done everything right it will convert with no errors.  After conversion click OK and it will automatically open in the Kindle Previewer.  You can change devices to see how it will look in various Kindle devices, you can change text size, etc.   If you have Kindle for PC installed you can close the previewer go to your folder and find the converted .mobi file and double-click it to open it in Kindle for PC to see how it looks and works on the computer screen.  If you have any devices (phones or tablets) you can send the file to your personal account and view it in your devices to test it that way as well.

If you need to make changes, just make your edits and repeat these steps to recompile and retest.  Once you are happy with the result, you are ready to go live and publish your files.

Happy publishing!

____________________________________________________

A PDF version of this article is available here.