![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 270
Karma: 500000
Join Date: May 2010
Location: Belmont, CA
Device: iPhone
|
![]()
I'm hoping somebody out there can give us an answer.
We've been running all of our current HTML through eCub and/or Calibre to create ePub files. We're actually getting less compiling errors through eCub, but the one error we are consistently getting from both is the following: "White spaces are required between publicId and systemId." I've been able to resolve all other issues EXCEPT this one, and Google searches aren't providing me with a solution. From what I can tell, there's a problem SOMEWHERE in the following string: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> What I don't know is WHERE in that string the problem lies. Can anyone solve this? The ONLY thing keeping us from passing epubcheck (and thus allowing us to distribute in some new retail outlets) at this point is the above problem. Thanks, Jay Hartman Editor-In-Chief Untreed Reads Publishing http://www.untreedreads.com |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 270
Karma: 500000
Join Date: May 2010
Location: Belmont, CA
Device: iPhone
|
I'm doing a save in HTML format from OpenOffice, and all of our titles start out in DOC. Is there something else I should be saving them as for import into either Calibre or eCub?
|
![]() |
![]() |
![]() |
#4 |
Sir Penguin of Edinburgh
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,375
Karma: 23555235
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
|
![]() |
![]() |
![]() |
#5 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 270
Karma: 500000
Join Date: May 2010
Location: Belmont, CA
Device: iPhone
|
Unfortunately, HTML to Calibre is generating ePub but failing epubcheck due to the error message I've given. In my case, the file HAS to pass epubcheck.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 270
Karma: 500000
Join Date: May 2010
Location: Belmont, CA
Device: iPhone
|
OK, so just realized there's an export as xhtml function from OpenOffice, but that'still generated a new error message. Here's the new line of code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd"> And here's the new error message: Unresolved external XML entity 'http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd' Talk about frustrating! Jay Last edited by UntreedReads; 06-18-2010 at 11:12 PM. |
![]() |
![]() |
![]() |
#7 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Try to find some way to disable the MathML thing.
If you can't, since I don't think you are using any MathML code anyway, it could be enough to just change te DOCTYPE line to the correct: Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
|
The markup below is guaranteed to work with the W3C markup validation service and with ePubcheck.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> You might like to consider removing whatever you have now, and replacing it with the above - and then running the file through the W3C markup service anyway. Regards, Alex |
![]() |
![]() |
![]() |
#9 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
If you don't want to spend time familiarising yourself with all the issues involved in creating an epub I seriously recommend you just invest the $35 needed to get a copy of Atlantis and use that. Conversion tools like calibre and ecub are not a good choice as they're dependent on being fed with well-formed input.
|
![]() |
![]() |
![]() |
#10 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 270
Karma: 500000
Join Date: May 2010
Location: Belmont, CA
Device: iPhone
|
Jellby and AlexBell: I now officially have mad love for both of you. Changing the lines worked PERFECTLY. All my error messages are now clear. THANK YOU THANK YOU!
And Charleski, I will definitely take a look at Atlantis. Your input, too, is very much appreciated. Jay |
![]() |
![]() |
![]() |
#11 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
|
Quote:
I too like Atlantis as a word processor, but as I have some web site design experience I prefer to make my own HTML. Regards, Alex |
|
![]() |
![]() |
![]() |
#12 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jun 2010
Device: none
|
I'm signing on because I appreciate this discussion.
Interesting how often the web has people who just want to help each other. re: Ecub EPUB book validation: I find that my e-pub book of '.txt' files - made by the E-cub programme -are accepted by Three Press validation. Not by E-Cub validation though. I avoid HTML because I cannot make them acceptable to either validation service. Yet Gutenburg e-books are accepted all round???? Am I lucky, or shouldd I expect this? Many thanks ocoffey |
![]() |
![]() |
![]() |
#13 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
The epubcheck program supported by Threepress is the closest we have to an 'official' validation system, though it's not free from bugs. If it passes on the latest version (1.05) then I wouldn't worry about any complaints from ecub.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PDF conversion > spaces become "?" | Tango | Calibre | 3 | 07-16-2010 02:23 PM |
So now my "paint" is coming off my White EZreader PP | rock | Astak EZReader | 3 | 01-05-2010 03:04 AM |
Dostoevsky's: "White Nights" and Other Stories | Sonist | Reading Recommendations | 5 | 05-14-2009 07:57 AM |
Can e-ink devices display "white on black"? | ThomasMc | Which one should I buy? | 1 | 09-04-2008 08:14 PM |
White, Edward Lucas: The Unwilling Vestal (Illustrated), vers.01 Dec. 29 '07 | Starfish | BBeB/LRF Books | 0 | 12-29-2007 11:40 PM |