Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 06-07-2010, 08:15 AM   #1
MichaelGray
Member
MichaelGray began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Feb 2010
Device: None
Valid ePub, but not valid enough for iBooks

Hello

Wondering if anybody else has experienced this problem.

I'm working on a batch of ePub files originally generated from InDesign and then edited in Calibre. I'm now trying to get them into Apple's iBooks using the iTunes Producer app. On doing so, we're told ERROR ITMS-9000, unmanifested file "calibre_bookmarks.txt". I opened up the ePub to delete this unmanifested file (maybe that was a bad idea...) and checked that the file validated, which it did. So in theory, I think, that should be OK for iBooks - but instead I'm now getting "Invalid URI in NCX file".

Any ideas anyone?

Also interested, by the way, in experiences with iTunes Producer. We've tried to upload two titles so far - one is sitting on iTunes connect as "pending" (I wonder for how long?) and the other, though apparently uploaded (and reuploaded) successfully doesn't appear at all. Maybe Apple are having a bit of a backlog?

Thanks
Michael
MichaelGray is offline   Reply With Quote
Old 06-08-2010, 09:34 AM   #2
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
Quote:
Originally Posted by MichaelGray View Post
I'm working on a batch of ePub files originally generated from InDesign and then edited in Calibre. I'm now trying to get them into Apple's iBooks using the iTunes Producer app. On doing so, we're told ERROR ITMS-9000, unmanifested file "calibre_bookmarks.txt". I opened up the ePub to delete this unmanifested file (maybe that was a bad idea...)
That's just a file that calibre's reader adds to provide support for bookmarks without having to maintain them in a separate database. Perfectly safe to delete it.

Quote:
and checked that the file validated, which it did. So in theory, I think, that should be OK for iBooks - but instead I'm now getting "Invalid URI in NCX file".
Could you post the epub's .ncx file? (It only contains the chapter names, so there shouldn't be a copyright issue.) ePubcheck does basic link-checking, so that shouldn't be an issue, but there might be some odd character in there causing a problem.

Quite a lot of problems people have reported end up boiling down to character-encoding issues, which is why I'd recommend using Sigil to do the editing instead, as it's strict about enforcing UTF-8 in the current version.
charleski is offline   Reply With Quote
Advert
Old 06-15-2010, 09:47 AM   #3
gkovler
Junior Member
gkovler began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2010
Device: ipad
same problem

i, too, am getting an error at the end of the long itunes producer process. i have now been on the phone with apple for 47 minutes and am getting nowhere. if you have found any help for this, can you post? thanks. gail
gkovler is offline   Reply With Quote
Old 06-20-2010, 01:35 PM   #4
Fabe
Dylanologist
Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.
 
Fabe's Avatar
 
Posts: 200
Karma: 146754
Join Date: Apr 2010
Location: Hanover, New Hampshire, USA
Device: none/all/any
I got the same error. I've been working on creating a "pristine" epub for Apple. I'll keep checking bach here and let you know if it works.
Fabe is offline   Reply With Quote
Old 06-20-2010, 09:41 PM   #5
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
Well the original poster never came back, so I assume he fixed his problem. It's impossible to tell what's causing the problem without seeing your .ncx file. But, as before, messed-up characters (improper coding, spaces being turned into %20's, etc) are the most likely cause.
charleski is offline   Reply With Quote
Advert
Old 06-21-2010, 07:32 AM   #6
Fabe
Dylanologist
Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.
 
Fabe's Avatar
 
Posts: 200
Karma: 146754
Join Date: Apr 2010
Location: Hanover, New Hampshire, USA
Device: none/all/any
Charleski - I often have code with %20s in place of spaces I've typed. Should I be using an underscore instead? Thx.
Fabe is offline   Reply With Quote
Old 06-21-2010, 02:00 PM   #7
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
Yes, probably safer, though the real problem is whatever software you have that can't deal with spaces in file names.
charleski is offline   Reply With Quote
Old 06-23-2010, 05:28 AM   #8
MichaelGray
Member
MichaelGray began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Feb 2010
Device: None
Quote:
Originally Posted by charleski View Post
Well the original poster never came back, so I assume he fixed his problem. It's impossible to tell what's causing the problem without seeing your .ncx file. But, as before, messed-up characters (improper coding, spaces being turned into %20's, etc) are the most likely cause.
Hello again - sorry for going silent, got distracted by something else. Alas I'm still not quite there. I can't post the file as it would identify the book and I'm not sure its owner would want that, but I think you're definitely on the right track – I've had a similar problem on another file which I did eventually manage to get on to iTunes. However I'm not quite sure how I fixed it... Is there a way I can actually see the offending characters easily and change them to what they should be?
MichaelGray is offline   Reply With Quote
Old 06-23-2010, 06:09 AM   #9
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
The URIs in the ncx file are fairly easy to spot:
Code:
...
            <navPoint id="navPoint-6" playOrder="6">
                <navLabel>
                    <text>4</text>
                </navLabel>
                <content src="Text/Section0007.xhtml"/>
            </navPoint>
...
You need to check that these filepaths precisely match what's actually in your epub.

I would recommend you run it through epubcheck separately, as that will give the line number on which the error occurred.
charleski is offline   Reply With Quote
Old 06-23-2010, 07:19 AM   #10
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by charleski View Post
The URIs in the ncx file are fairly easy to spot:
Code:
...
            <navPoint id="navPoint-6" playOrder="6">
                <navLabel>
                    <text>4</text>
                </navLabel>
                <content src="Text/Section0007.xhtml"/>
            </navPoint>
...
You need to check that these filepaths precisely match what's actually in your epub.
Nothe that the paths are relative to where the OPF file is located, thus, if the OPF is "OEBPS/content.opf", the above path would refer to "OEBPS/Text/Section0007.xhtml"
Jellby is offline   Reply With Quote
Old 06-30-2010, 11:27 AM   #11
MichaelGray
Member
MichaelGray began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Feb 2010
Device: None
Thanks for that charleski and Jellby.

I've had a close look at the file but I just can't see any link that doesn't match up. In the NCX I have...

<navPoint class="chapter" id="932a1cb0-ec5c-4a75-ac02-9ef00e71d591" playOrder="58">
<navLabel>
<text>Also available</text>
</navLabel>
<content src="OEBPS/split_017.xhtml#also-available"/>
</navPoint>

...and in that file I have a...

<p class="also-available-title" id="also-available">Also available</p>

Don't normally have problems with broken links but I must be missing something obvious here?

Still seems odd that the file validates in epubcheck but is rejected by iTunes Producer.

Best
Michael
MichaelGray is offline   Reply With Quote
Old 06-30-2010, 02:43 PM   #12
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
Just a thought - have you tried removing the hyphen from the fragment id? Hyphens are legal in fragment ids, but Apple doesn't always follow the standards completely.
charleski is offline   Reply With Quote
Old 07-01-2010, 11:11 PM   #13
eBookNoir
Member
eBookNoir began at the beginning.
 
eBookNoir's Avatar
 
Posts: 15
Karma: 10
Join Date: May 2010
Device: none
Line 105 column 29: unfinished element - i'm getting this error with itunes producer, anyone come across it before? cannot for the life of me figure it out, looked at it so many ways, I'm sure I'm missing something simple. Any help would be great, thanks.
eBookNoir is offline   Reply With Quote
Old 07-02-2010, 02:02 AM   #14
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 688
Karma: 150000
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by eBookNoir View Post
Line 105 column 29: unfinished element - i'm getting this error with itunes producer, anyone come across it before? cannot for the life of me figure it out, looked at it so many ways, I'm sure I'm missing something simple. Any help would be great, thanks.
When I've gotten this via epubcheck, it means I've not specified one or more of:

author
title
publisher

in the metadata. (i.e. within content.opf in the epub archive) I've no clue if this is your problem, just thought I'd post it as it wasn't obvious to me from the error message, just what was lacking.

HTH
st_albert is offline   Reply With Quote
Old 07-02-2010, 05:22 AM   #15
MichaelGray
Member
MichaelGray began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Feb 2010
Device: None
Hello all
Just had this from Apple support:

All characters in the URIs must be valid. Non-alphanumeric characters must be properly encoded. For example, a space should be encoded as '%20'. The problem most often surfaces in URIs in the NCX files.

For more information, refer to Metadata, File Formats and Cataloging in the iBookstore FAQS. Thanks!


The ref to the FAQ's is quite handy as well (within iTunes connect) - it seems to have been expanded, last time I looked there were only two questions (both about using iBooks rather than making things for it!)

Will investigate further and post any progress.

@eBookNoir I'm sure you've thought of this, but I think I've had that error with missing out a closing tag in the TOC or in the HTML files. If the latter, you could try validating each file at http://validator.w3.org (or with the developer toolbar in Firefox) to pinpoint the error. Hope that helps...

Michael
MichaelGray is offline   Reply With Quote
Reply

Tags
calibre, epub, itunes connect, itunes producer, validation

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
is my epub valid or not ? NASCARaddicted ePub 2 02-10-2010 05:56 AM
Smashwords - Valid Until 03.01.10 Miladysa Deals and Resources (No Self-Promotion or Affiliate Links) 4 12-28-2009 09:10 AM
With a valid CC and U.S. Address..... clobber Sony Reader 2 12-05-2008 10:04 AM
This book is not valid! James Bryant Bookeen 8 06-20-2008 11:09 PM


All times are GMT -4. The time now is 01:40 AM.


MobileRead.com is a privately owned, operated and funded community.