when I exported my ebook into epub this error message appeared on the epub check: entity 'apos' is undeclared
I think this is because my ebook's title is 'Instructor's Handbook' with apostroph ... since I entered this into the file info, this error message has been appearing.
does anyone know how I can fix this error / warning message so that I can successfully submit my ebook to retailers?
many thanks
I am encountering this problem with every one of my documents that has an apostrophe in the title line (in the file info)...
I have even tried just now to create a new document and just name the title line with a word including an apostrophe and the same problem appears - as soon as I remove the apostrophe the epubcheck is fine???
Thank you Steve,
but what would be the correct way of going about - as the book I am working at needs to have this apostrophe in the title line?
is it right that the metadata (file info) needs to be absolutely identical with the information that I am submitting in regards to the assigned ISBN?
many thanks again for your assistance!
appreciate it.
Sorry, desktop, I was speaking to Steve but I should have made my comment more accessible.
If one takes the EPUB file that InDesign generates and edits it either by unzipping it and editing it by hand, or using some EPUB editor), then you can find the metadata and observe that InDesign has written a &apos in place of the apostrophe. This is an HTML entity code. You can replace it with a regular apostrophe, then it will validate.
If this doesn't sound good to you, then you're stuck. Find a way to not include the apostrophe in the metadata, or wait for CS6 next year and hope that it is fixed there.Sorry.
The best discussion I've seen on editing options with ePub on the Mac is Anne-Marie Concepcion's Lynda.com video:
InDesign CS5.5 to EPUB, Kindle, and iPad
You're supposed to be able to do a free trial week on Lynda. com. Hopefully, Bob Levine will pop in here to give you the URL for that.
It's more difficult on a Mac because you can't use the OS to unzip and zip up the ePub correctly without using Terminal. You can do it with a script (easiest) or you can do with Terminal. Anne-Marie talks about the options. I use the Oxygen editor which takes care of that.
Hi desktop:
To unzip and then zip back up the epub, use these two applescript utilities linked to this post on mobileread.com. Simply drag and drop the epub file onto the unzip one.
Then, it's very simple to edit the content.opf file where the metadata is stored. It's a text file so open it with your favorite text editor. I like the free Text Wrangler as it colors the tags and stuff but you can use Text Edit that comes with Mac OS if you want.
And when you're ready, drag and drop the folder onto the zip utility to package it back up into an epub.
I have been having this same problem with a ePub document and I have finally traced it down to the metadata. The problem was not with the name field, but in the description field. I had used three words with the apostrophe in the description and I had been getting those three errors when I ran the document through the ePub Checker and also when I tried to upload it to the Apple site. The answer is DON'T use any apostrophes in the metadate anywhere. They don't get decoded properly.
North America
Europe, Middle East and Africa
Asia Pacific