Filed under Books

iTunesMetadata.plist EPUB validation error explained

Problem: you use the epub validation tool at Threepress Consulting, and consistently receive this error:

WARNING: [your epub file name].epub: item (iTunesMetadata.plist) exists in the zip file, but is not declared in the OPF file

Reason: you tested your epub by dropping it into iTunes. That’s all you have to do for this rogue file to be injected into the epub and make it invalid. You don’t even have to sync it to a device. You would expect iTunes to simply copy the file without manipulating the original’s contents, but such is not the case.

Solution: you can unzip the epub (on the Mac, I like the the ePub_UnZip_1.0 and ePub_Zip_1.0.3 Applescripts), delete the iTunesMetadata.plist file, and rezip it, or you can avoid the problem entirely by duplicating your epub file and dropping that into iTunes, leaving the original intact.

Smashwords Kind of Sucks Lately

The buzz used to be that the best place to publish your ebook was Smashwords, as they would rapidly and faithfully push your book to the big retailers such as Amazon, Apple, Kobo, Barnes & Noble, and Sony, but it seems that the company has been damaged by its own success, which has made them slow to respond (if you can get support at all) and sloppy in their practices. I originally began publishing Night is a Shadow Cast By the World at Smashwords, expecting to let them distribute it to all the aforementioned channels, but I quickly ran into a few hitches with the epubs that Smashwords’s notorious Meatgrinder produced, such as:

  1. inability to set the text on a page labelled “Part One” down slightly from the top of the page; it turns out that the Meatgrinder uses the Calibre engine (if you dissect the resulting epub, you’ll find styles named “Calibre1,” “Calibre2,” etc.) to convert files to various formats, and Calibre by default invokes a TOC entry for and inserts a page break immediately before certain terms, as defined in their Xpath expressions: “chapter|book|section|part|prologue|epilogue”; Calibre allows you to refine these choices; Meatgrinder does not. After a ton of experimentation (17 uploads, conversions, and test downloads from Smashwords) I solved this issue by converting the words “Part One” into a graphic element. See, spammers do have something to teach us.
  2. consistent insertion of a blank page in front of every page break when the epub is viewed on an iOS device like an iPhone and iPad. The book has 56 chapters, which means iOS readers would be required to perform 56 superfluous screen swipes to get through the book – unacceptable.
For the second issue I found that I could run the resulting epub through Calibre and have it bump out a new epub – and this one was flawless. (I subsequently donated $10 to the Calibre team – if you’ve ever used this fine program, you should do the same.) Because I could get no traction at all dealing with Smashwords staff (several emails to their support department remain unanswered even today, ten days after I sent them) I decided to forgo Smashwords for iBooks distribution, and deal directly with Apple. It took a week to get my iTunes Connect account approved, and I just uploaded the book this morning and am awaiting approval. I expect this will take at least another week.
I figured while I was at it why not have a go with Kindle Direct Publishing, and that proved to be even easier than Apple. I signed up, uploaded my book, and in under four hours the book was live and on sale at the Kindle Store – astonishing after all the trouble with Smashwords and the long wait time to get iTunes Connect approval. Whatever bad things you might have to say about Amazon (and there are a lot), they aren’t the king of book distribution for nothing.
I decided to keep the book in the running at Smashwords to get into some of the smaller and more difficult markets: Kobo, B&N, and Sony. Today, a week after I submitted the book for Premium Channel approval at Smashwords, I got this response:
Well I’d already done the Ctrl-A method, in fact, I had run the book through the Nuclear Option, with excellent results, and the epub looks spectacular – exactly the  way I want it to look (and I’m a professional typesetter, with over 60 print books under my belt). Is this some uninformed newbie employee, who saw that I used various font sizes for the title page and chapter headings, and is fanatically following some Mark Coker rule-of-law rule in the Smashwords Style Guide? I think so, or at least I hope so. If there’s some Coker edict that will only let you use two font sizes throughout an entire book, I give up on Smashwords. I’ve since resubmitted the book without any changes at all – let’s see how far it gets. In the meantime, I’ve started investigating selling directly through Kobo, for starters, as dealing with Smashwords thus far has proved to be deeply unsatisfying.

Update: On December 27th, I received an email from someone named Raylene:

Thanks for the email. I took a look at your book and everything looks great. I went in and approved your book! :)

It took awhile, but Smashwords eventually came through. Thanks, Raylene!

Everything’s Free on Planet E

I’ve got bootleg Harry Potter for my Palm device. And I downloaded it free from a software pirating site on the Internet.

Everyone is feeling the pull of the E. Like a huge planet, the digital format is drawing everything into its orbit: film and video, music, and of course, books. Planet E promises a paradise of cheap and fast methods of production and distribution. When it comes to ePiracy, however, those features are a liability, and though all digital media are at risk, the eBook is most vulnerable because of its inherent portability.

Many blame Napster and its ilk for music piracy, but I saw music on web and FTP sites long before peer-to-peer sharing reached the masses. Music piracy has flourished due to a combination of distribution (Internet) and portability (the MP3 format). The average uncompressed four-minute music file is an unwieldy 40 megabytes; the MP3 algorithm crushes this to one-tenth that size, making the file portable without a significant reduction in quality. Video is even larger and more complex than audio. Text files, on the other hand, require no compression and no special encoding. All ~210,000 words of Moby Dick occupy only 1.2 megabytes of space, small enough to fit on a floppy disk, small enough to transfer via modem in 200 seconds.

Because digital text requires no compression, it suffers no degradation when transported. Certainly the debate rages over the aesthetic experience of reading from computer screens, handheld devices, or even specialized gizmos like the Rocket eBook Reader. But like the tinny speakers once standard on all computers, these limitations are hardware based, and hardware improves. Two things are going to happen: devices will advance, and people – especially children – will grow accustomed to them. And eReaders offer options no book ever will: backlights, text magnification, hot dictionaries, non-destructive annotating, plus the ability to contain many – hundreds, thousands – of concurrent texts. The hard book may not disappear soon, but what fool denies the inevitable steamroller of progress?

Hard books enjoy an excellent system of copy-protection. As anyone who has duplicated and/or read a photocopied book knows, books are both inconvenient to copy and aesthetically disappointing in their duplicate format. It is easier to copy films, video tapes, vinyl records, CDs, and DVDs. The eBook format is uncharted territory for the written word; no one really knows how the public will react to freely-available books.

Will they be freely available? Microsoft – which estimates that it lost a half-billion U.S. dollars in 1999 just in the state of Florida due to software piracy – hosts on its website a series of pages entitled “Protecting Against ePublishing Piracy” [page gone] which trumpet the “Three E’s of Preserving the Value of Online Content”: Education, Encryption, and Enforcement.

Microsoft explains that educating people on “the value of protecting eBooks and other copyrighted electronic materials,” and explaining “the importance of copyright protection on the Internet” will help, but this sounds to me like an appeal to consumers to protect commerce, not the artist’s work. The general public is not sensitive to the labour of the artist. As many as 60 million people have tried Napster; how many are unaware that downloading copyrighted materials is illegal? Yet only legal interference has halted Napster’s swelling popularity. Because electronic duplication leaves the original unmolested, many cannot comprehend the harm in copying. They do not equate duplication with theft in the way that stealing a Mercedes is theft. Bolstering this misconception is a growing sense that intellectual property should be free, a perverse ideology that free music and movies and books equal democracy and liberty. Indeed, groups have appeared on Internet sites and newsgroups whose mission is to liberate texts. The manifesto of RHONDA (Robin Hood – Online Network Distribution Anarchy), states, “We refuse to recognize any copyright claimed on any text. . . . Books come from the minds and mouths of the People so books rightfully belong to the People.”

Encryption is applied to ensure that an eBook will be readable only on a specific, individual device. Consumer software copy protection has gone in and out of style since the earliest days of microcomputing. Floppy disks and CDs have been encrypted, installers require serial numbers, and some software requires a “dongle,” a piece of hardware jacked into the back of the computer, to operate. Nothing has proved completely effective. Somewhere along the line – just before the information reaches the screen in the case of digital text – information must be decrypted, and it is at this point that pirates can scoop the content. The software pirate chants a simple mantra: if you can read it you can copy it. Each escalation of protection has caused increased inconvenience for the legitimate consumer, while providing a more satisfying challenge for the hacker. Stephen King’s eNovella Riding the Bullet was cracked within days of its release.

Enforcement may prove to be the eBook’s best protector. In 1998 the United States legislated the Digital Millennium Copyright Act, which governs circumvention of digital copyright systems and liability of Internet service providers. But publishers and writers must be vigilant, as the law is not actively enforced. And creators must be willing to prosecute violators aggressively. The software and music industries have waited too long to take action and have lost billions in potential revenue as a result. Most book publishers operate close to the edge of profitability with no such margin for loss.

Even a single incidence of ePiracy must be addressed seriously, because pirated materials are like cockroaches: the appearance of an individual signifies a hidden infestation. The site with the bootleg Harry Potter has vanished, but you can bet its spawn has propagated widely.

These are ePublishing’s formative years. What we do today to educate readers and how we tolerate copyright violators now will determine its entire future.

This piece appeared originally in the October 2001 issue of Quill & Quire. Anyone listening yet?

They are reading what they are told to read

“They are reading what they are told to read by this blurbing world. They are acting on the guidance they get. That guidance originates in a literary and literary-critical world that is amiable, bland, clubby, pious, careerist, relentlessly cheerful, desperate for numbers, suavely relativizing, and awash in worthless praise. A universe of invitations and congratulations, of pals and candidate-pals appreciating and mythologizing each other.”

~Leon Wieseltier, The New Republic, 22 September 2010

Follow

Get every new post delivered to your Inbox.