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 05-02-2011, 09:31 PM   #1
AmpedUpDigital
Junior Member
AmpedUpDigital began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2011
Device: iPad
"Content is not allowed in prolog." - Enhanced Epub Error Help?

Hello all! I will fully admit to being a noob at the epub game, so please be gentle.

I have an enhanced epub with video that I have created for the iPad. When I sync through iTunes it works perfectly.

The problem comes when posting through iTunesPublisher. Has anyone seen the error: "Content is not allowed in prolog." If so, what does that mean and any thoughts on how to fix it?

BTW, why does Apple make this such a difficult process? If it runs on my iPad during testing, shouldn't it run on every other iPad?

Anyway, thanks for any insights.
Kelly R. Kerr
AmpedUpDigital is offline   Reply With Quote
Old 05-03-2011, 09:29 AM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
The main problems are, that video is not really part of the epub specs and the iBooks app on the iPad is a crap program. The iBooks program doesn't follow a lot of specs and you have to work around it.

Then again, after working around it, it will probably only work on the iBooks app.

Like I said, video is not part of the specs. If you get it to work, there are no garantues. I would advise search around on this forum. Various posts about video on the iPad in a iPub (since it won't be an ePub) are made and I believe also methods to make it work.
Toxaris is offline   Reply With Quote
Advert
Old 05-03-2011, 11:38 AM   #3
Jim Lester
Evangelist
Jim Lester is less competitive than you.Jim Lester is less competitive than you.Jim Lester is less competitive than you.Jim Lester is less competitive than you.Jim Lester is less competitive than you.Jim Lester is less competitive than you.Jim Lester is less competitive than you.Jim Lester is less competitive than you.Jim Lester is less competitive than you.Jim Lester is less competitive than you.Jim Lester is less competitive than you.
 
Jim Lester's Avatar
 
Posts: 416
Karma: 14682
Join Date: May 2008
Location: SF Bay Area
Device: Nook HD, Nook for Windows 8
"Content is not allowed in prolog" is a general XML error and it usually means that you have whitespace before the beginning of the content so instead of

Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
  .... yadda yadda yadda ....

You may have

Code:
(new lines or tabs )

<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
If the error gave a particular file - check that file.


EDIT: ... alternatively ... it's not about your ePub at all, but is a problem sending the request to the Apple servers (firewall, et al inserting content into the body).

Last edited by Jim Lester; 05-03-2011 at 11:41 AM.
Jim Lester is offline   Reply With Quote
Reply

Tags
content not allowed, enhanced epub

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Keep getting "Page Error" on epub file when I open it on my PRS-300 (filesize > 25MB) ryancolm Sigil 6 09-03-2010 10:45 AM
"Protect Page" error with Public Library EPUB books DojoPat Sony Reader 28 07-13-2010 12:09 AM
Creator taking control of the "first page" link in the "content" menu cyberbaffled Kindle Formats 2 07-11-2010 04:21 PM
Epub Fixer Error: "zip error: 15" Gordo29 Kobo Reader 0 06-26-2010 01:57 PM
JBL- Calibre ePub sometimes = "File too Large" Error Ken Maltby Ectaco jetBook 13 01-09-2010 01:27 PM


All times are GMT -4. The time now is 07:46 AM.


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