My bookstore (B&N) will not accept my ePub file because it doesn't want the file encryption.xml included. How can I generate an InDesign ePub file, for my own books, without it? Is there a check box somewhere? I've searched through the ePub export box and the file info boxes—no luck.
Error message from B&N's PubIt.com:
We have found a file name called encryption.xml within your ePub file container, which means that part of, or all of, your file is encrypted. We do not accept any encryptions within ePub source files. Upon closing this message, please remove the encryption.xml file from your ePub, and you may attempt to upload your ePub file again.
If you wish to apply DRM to your title, go to Section 4, question H and select Yes. PubIt! will apply DRM to your title after you have uploaded your ePub file without encryption.
Thanks for your help…
Thanks Mike. I did limit my typefaces to only Times and InDesign still created the encryption.xml. Maybe Times was not the best choice, but I thought it was one of the most commonly used. I'll keep trying to research this issue more. In the meantime, I unpackaged my .epub file, deleted the unwanted .xml file, and repackaged it. That uploaded perfectly to B&N.
Mike -- You mentioned that you unpackaged your epub file and deleted the unwanted .xml file. Which program did you use to do that? I opened mine in Sigil, but I don't see an .xml file. I did notice, however, that there is a folder named "fonts". I wonder if deleting that would solve the problem, or make a worse mess. I'm scared to try!
But mostly I'm wondering which program you used to unpack the epub.
That was ckunce who unzipped it. I imagine Stuffit will unzip it. Rename the file temporarily from having an epub extension to having a .ZIP extension. That's all an apub file is, is a ZIP compressed archive file.
Best thing to do if your publisher requires no encryption is to opt not to embed the fonts. Do Google the process.
Take care, Mike
Bob -- You are quite right: on a PC, you can't simply unzip an epub file and then rezip it. I wasn't aware it was possible on Vista and Win7, since I'm still using XP. However, I did find a program that allows you to edit the HTML in an epub: it's called Sigil.
Err, you certainly can. Sometimes people have trouble. It's usually because a file browsing utility adds extra files to the unzipped directory that confuses the epub reader. (The Mac Finder can do this, which is why there is trouble over there). You might find it easier, under Windows, to use 7-Zip. But you can certainly unzip them on both platforms...
Sigil has the nasty habit of editing files & folder structures all of its own. For example, it silently strips out <video> tags that InDesign helpfully inserts. After some initial puzzlement I steered well clear of it and do all of my ePub-After formatting by hand, pending better software.
My hunblest apologies, John! You are quite right about 7zip: I was able to unzip the file, make changes in plain ol' Notepad2, and rezip the file. Then I just changed the extension from .zip to .epub.
I can view it in ADE, so I'm assuming it will work in a Nook, etc., also.
The last time I tried the unzip-rezip-rename process, I couldn't open the altered file. But I was obviously using the wrong zip program.
Lordy, it's hard to keep up!
Thanks for your tip.
I use Dreamweaver.
Bob, do you have some way of editing EPUB files in Dreamweaver without uncompressing them? (At first I thought you meant it supported it. Then I listened to Anne-Marie in last week's podcast and tried it and concluded you didn't. Unless...there is a trick?)
Thanks for the tips everyone. I ran into the same problem when uploading the knitting pattern I designed into barnes and nobles. I found this link http://www.howtogeek.com/howto/19268/edit-epub-ebooks-with-your-favori te-html-editor/ very helpful as I couldn't figure out how to convert a file name. Particular the bit about unchecking "hide extensions". Then I just opened the zip file, deleted the encryption file and uploaded it no problem.
I'm reviving this thread because I'm having the same problem as the original poster, but I'm on a mac using indesign, not a PC.
I'm not embedding fonts and still getting error messages from itunes that the file is encrypted. I do not see where to "unencypt" the file—anywhere—using Times New Roman for the font...
I did try to unzip the epub file in hopes of finding the .xml file that is being refered to here, but when I change the extention from epub to zip, and use Yumi zip (which works fine everywhere else) new zip files are created, each time I try to unzip, a new zip file with a new name pops up.
I've tried Adobe chat, and they want me to call tech support... sigh. Does anyone where have any idea how to solve my problem without the hour long phone call that will only end in finger pointing, not solutions.
Thanks in advance for your help.
@GreenFrogPublishing – did you try the apple scripts for unzip/rezip suggested in answer #9 ?
Apart from that, I often used "Springy" together with TextWrangler to edit contents in a zip file.