View Single Post
Old 11-22-2010, 12:14 PM   #3
CGPGrey
Junior Member
CGPGrey began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Nov 2010
Device: iPad
Hi kovidgoyal,

First, let me say thanks for making this application and for all the support I see you giving people on the forums.

Here's what I'm trying to do:

After exploding the files I'm changing these lines in the relevant files:

<package xmlns="http://www.idpf.org/2007/opf" version="2.0" unique-identifier="uuid_id">
<metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlnspf="http://www.idpf.org/2007/opf" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:calibre="http://calibre.kovidgoyal.net/2009/metadata" xmlns:dc="http://purl.org/dc/elements/1.1/">

to

<package version="2.0" unique-identifier="uuid_id">
<metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:calibre="http://calibre.kovidgoyal.net/2009/metadata" xmlns:dc="http://purl.org/dc/elements/1.1/">

and

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

to

<html xmlns="http://www.w3.org/1999/xhtml">


So I'm trying to get rid of the errors lulu is complaning about. Then I run your epub-fix on the file. However, this just leads to more errors than before.

ERROR: 30 Days to a More Organized Life - C. G. P. Grey.epub/content.opf(2): element "package" not allowed in this context
WARNING: 30 Days to a More Organized Life - C. G. P. Grey.epub/content.opf(2): OPF file is using OEBPS 1.2 syntax allowing backwards compatibility
ERROR: 30 Days to a More Organized Life - C. G. P. Grey.epub/content.opf(4): element "creator" from namespace "http://purl.org/dc/elements/1.1/" not allowed in this context
ERROR: 30 Days to a More Organized Life - C. G. P. Grey.epub/content.opf(6): element "language" from namespace "http://purl.org/dc/elements/1.1/" not allowed in this context
ERROR: 30 Days to a More Organized Life - C. G. P. Grey.epub/content.opf(8): element "title" from namespace "http://purl.org/dc/elements/1.1/" not allowed in this context
ERROR: 30 Days to a More Organized Life - C. G. P. Grey.epub/content.opf(8): attribute "file-as" from namespace "http://www.idpf.org/2007/opf" not allowed at this point; ignored
ERROR: 30 Days to a More Organized Life - C. G. P. Grey.epub/content.opf(10): element "date" from namespace "http://purl.org/dc/elements/1.1/" not allowed in this context
ERROR: 30 Days to a More Organized Life - C. G. P. Grey.epub/content.opf(11): element "contributor" from namespace "http://purl.org/dc/elements/1.1/" not allowed in this context
ERROR: 30 Days to a More Organized Life - C. G. P. Grey.epub/content.opf(11): attribute "role" not allowed at this point; ignored
ERROR: 30 Days to a More Organized Life - C. G. P. Grey.epub/content.opf(12): element "identifier" from namespace "http://purl.org/dc/elements/1.1/" not allowed in this context
ERROR: 30 Days to a More Organized Life - C. G. P. Grey.epub/content.opf(12): attribute "scheme" not allowed at this point; ignored
WARNING: 30 Days to a More Organized Life - C. G. P. Grey.epub/content.opf(15): use of OPS media-type 'application/xhtml+xml' in OEBPS 1.2 context; use text/x-oeb1-document instead
WARNING: 30 Days to a More Organized Life - C. G. P. Grey.epub/content.opf(16): use of OPS media-type 'application/xhtml+xml' in OEBPS 1.2 context; use text/x-oeb1-document instead
WARNING: 30 Days to a More Organized Life - C. G. P. Grey.epub/content.opf(57): use of OPS media-type 'text/css' in OEBPS 1.2 context; use text/x-oeb1-css instead
WARNING: 30 Days to a More Organized Life - C. G. P. Grey.epub/content.opf(59): use of OPS media-type 'application/xhtml+xml' in OEBPS 1.2 context; use text/x-oeb1-document instead


Am I missing something obvious?

Thanks in advance
CGPGrey is offline   Reply With Quote