Thread: Errors in epub
View Single Post
Old 11-26-2009, 01:30 PM   #2
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,010
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
I'm not quite sure what the problem is in your content.opf

I thought the problem in p1.html was that you hadn't declared an encoding at the top, but even adding

<meta http-equiv="content-type" content="text/html; charset=windows-1252" />

after <head> didn't fix things. Switching from Windows Latin-1 to UTF-8 does.

I'd strongly recommend Sigil to you - it creates nice clean ePubs.

Quote:
Originally Posted by novels.books View Post
I just created an epub file and used epubcheck-1.0.4.

I'm getting the following errors :
  • ERROR: My_epub.epub/OEBPS/content.opf(7): unfinished element
  • ERROR: My_epub.epub: I/O error reading OEBPS/p1.html

Can someone tell me where I'm going wrong??

I've attached the file as well.
pdurrant is offline   Reply With Quote