Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 03-09-2010, 10:35 AM   #16
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: 72,527
Karma: 309063598
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Quote:
Originally Posted by kovidgoyal View Post
I just want people to realize that having your book passed by epubcheck is a guarantee of precisely nothing.
It's a guarantee that it passes that particular version of epubcheck!

On the other hand, failing to pass epubcheck means that 99 times out of 100 there's something wrong with your ePub. Even though it might still render OK in some readers, it would be better to fix the problems.
pdurrant is offline   Reply With Quote
Old 03-09-2010, 10:49 AM   #17
loveangel
Banned
loveangel began at the beginning.
 
Posts: 137
Karma: 30
Join Date: Feb 2010
Device: kindle
Quote:
Just so you know: epubcheck is totally meaningless. A file that *passes* epubcheck may or may not work with any given epub renderer. A file that *does not pass* epubcheck may or may not work with any given epub renderer.

The best that could possibly be said about epubcheck (and I wouldn't be comfortable saying this without actual data) is that a file that passes epubcheck may be more likely than a file that does not pass to render correctly with most epub viewers. Even if this were true it would most likely be so because files that tend to pass epubcheck tend, on average, to have extremely simple markup, as they are typically the product of machine translation from some extremely simple format.

What I'm trying to say is that the things that epubcheck checks are those things that it is easiest to write software to check, not those things that are most likely to cause problems, or those things that are most likely to occur in the wild.

What epubcheck is good for, is those situations where you have absolutely no idea why your epub file is not rendering with a particular renderer. In that case, you can try running epubcheck on it and fix the errors it points out. Of course, that may or may not fix your actual problem. And even for this use case, epubcheck is extremely sub-optimal since its error messages are incredibly unhelpful.

That's my epubcheck jeremiad for this week.
Got your point !
loveangel is offline   Reply With Quote
Advert
Old 03-09-2010, 11:56 AM   #18
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 charleski View Post
While it's not perfect (and desperately needs another release)
I'm happy to say I've just found I'm completely wrong there!

epubcheck 1.0.5 was released for download on Feb 18, and should contain a host of fixes. No need to use the old Dec '08 version any more. The earlier Threepress blog post on it left me thinking the actual release was still some time away.
charleski is offline   Reply With Quote
Old 03-09-2010, 02:55 PM   #19
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,536
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by kovidgoyal View Post
I just want people to realize that having your book passed by epubcheck is a guarantee of precisely nothing.
But, as pdurrant says, if the book doesn't pass epubcheck, that's a guarantee of even less. It serves, at least, to catch the errors it catches. For me it has been useful to check I have not forgotten to add any file, that the internal links are consistent, that I didn't leave HTML entities in the NCX file, etc. Failure to pass epubcheck means that, if your book does not display fine, you cannot blame the reader

Of course, I'm saying ¬p -> ¬q, that does not imply p -> q
Jellby is offline   Reply With Quote
Old 03-09-2010, 03:29 PM   #20
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,551
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Jellby View Post
Failure to pass epubcheck means that, if your book does not display fine, you cannot blame the reader
Yes you can, your file is most likely not displaying in the reader for reasons that have nothing to do with the errors epubcheck is pointing out.

But maybe my perspective on this issue is somewhat different, since I don't hand create EPUB files. Instead I hand create an e-book in TXT or HTML and auto generate the EPUB from that. So things like checking the NCX and OPF files for validity are not important to me, all that's automatically taken care of
kovidgoyal is offline   Reply With Quote
Advert
Old 03-09-2010, 03:39 PM   #21
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by droople View Post
What I did with Sigil epub file is type in "test" in the text field, without import any external files.

Here is the validation message
ERROR: test.epub/OEBPS/content.opf(6): unfinished element
Quote:
Originally Posted by awp View Post
This is because some mandatory metadata items are missing.
Quote:
Originally Posted by pdurrant View Post
It's a design decision not to add random values to the metadata for the required metadata fields.

If you use the metadata editing interface in Sigil, and enter values for the required items, Sigil ePubs pass epubcheck if you also have valid XHTML in the content.
What pdurrant said. Emphasis mine.

Last edited by Valloric; 03-09-2010 at 03:47 PM.
Valloric is offline   Reply With Quote
Old 03-09-2010, 03:44 PM   #22
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by kovidgoyal View Post
What I'm trying to say is that the things that epubcheck checks are those things that it is easiest to write software to check, not those things that are most likely to cause problems, or those things that are most likely to occur in the wild.
I don't think anyone would disagree with this. Epubcheck will not find the serious errors, but it will find the simple ones. So why not fix the simple ones?

As others have noted, it's a sanity check. Passing epubcheck doesn't mean your file doesn't have problems, but not passing it means it does in 99% of cases.

Again, epubcheck will scream on even trivial things you can safely ignore, but if you're trying to build an error-free epub, why not fix those?
Valloric is offline   Reply With Quote
Old 03-09-2010, 03:49 PM   #23
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,551
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Valloric View Post
Again, epubcheck will scream on even trivial things you can safely ignore, but if you're trying to build an error-free epub, why not fix those?
No reason except that you and I and pdurrant and Jellby recognize that these are trivial errors. Most people don't.
kovidgoyal is offline   Reply With Quote
Old 03-09-2010, 03:58 PM   #24
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by kovidgoyal View Post
No reason except that you and I and pdurrant and Jellby recognize that these are trivial errors. Most people don't.
But you also said that epubcheck is doing "more harm than good". I strongly disagree with that.

Epubcheck is like a spell checker. It will catch things like "teh" instead of "the", but not "they're" instead of "their", or the more serious grammatical errors. But even within its limited capabilities, a spell checker is extremely useful. Sure, there are those (misguided) people who think that just because their document passes a spell checker it is error-free, but that's not the spell checker's fault.

It's the fault of the bozos who don't know better.

And bashing a spell checker because someone else is a bozo is IMO silly.

Last edited by Valloric; 03-09-2010 at 05:49 PM. Reason: typo... oh the irony
Valloric is offline   Reply With Quote
Old 03-09-2010, 04:07 PM   #25
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,536
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by kovidgoyal View Post
Yes you can, your file is most likely not displaying in the reader for reasons that have nothing to do with the errors epubcheck is pointing out.
In a sense, you are right, the reader's problems are not necessarily related to the problems detected by epubcheck, but if the book is not a valid ePUB file, you should't expect the reader to display it correctly. Make it first a valid ePUB, and you can blame the reader as much as you want
Jellby is offline   Reply With Quote
Old 03-09-2010, 04:12 PM   #26
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,551
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Valloric View Post
But you also said that epubcheck is doing "more harm than good". I strongly disagree with that.

And bashing a spell checker because someone else is a bozo is IMO silly.
But epubcheck is a spell checker that does not claim to be a spell checker. It claims to be a grammar checker. I also said that epubcheck should have been named epub-schema-check or something equivalent.
kovidgoyal is offline   Reply With Quote
Old 03-09-2010, 04:13 PM   #27
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,551
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Jellby View Post
In a sense, you are right, the reader's problems are not necessarily related to the problems detected by epubcheck, but if the book is not a valid ePUB file, you should't expect the reader to display it correctly. Make it first a valid ePUB, and you can blame the reader as much as you want
In my (rather extensive) experience, they're almost never related to problems detected by epubcheck.
kovidgoyal is offline   Reply With Quote
Old 03-09-2010, 04:42 PM   #28
droople
Connoisseur
droople has a complete set of Star Wars action figures.droople has a complete set of Star Wars action figures.droople has a complete set of Star Wars action figures.droople has a complete set of Star Wars action figures.
 
droople's Avatar
 
Posts: 95
Karma: 388
Join Date: Jan 2010
Device: Nook,Nook Simple Touch, Nook Color
Quote:
Originally Posted by kovidgoyal View Post
But epubcheck is a spell checker that does not claim to be a spell checker. It claims to be a grammar checker. I also said that epubcheck should have been named epub-schema-check or something equivalent.
Do you mean "spell mistake" is not important and you never correct them?

Cheers
droople is offline   Reply With Quote
Old 03-09-2010, 04:43 PM   #29
droople
Connoisseur
droople has a complete set of Star Wars action figures.droople has a complete set of Star Wars action figures.droople has a complete set of Star Wars action figures.droople has a complete set of Star Wars action figures.
 
droople's Avatar
 
Posts: 95
Karma: 388
Join Date: Jan 2010
Device: Nook,Nook Simple Touch, Nook Color
Quote:
Originally Posted by Valloric View Post
I don't think anyone would disagree with this. Epubcheck will not find the serious errors, but it will find the simple ones. So why not fix the simple ones?

As others have noted, it's a sanity check. Passing epubcheck doesn't mean your file doesn't have problems, but not passing it means it does in 99% of cases.

Again, epubcheck will scream on even trivial things you can safely ignore, but if you're trying to build an error-free epub, why not fix those?
I strong agree.
droople is offline   Reply With Quote
Old 03-09-2010, 05:44 PM   #30
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,551
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by droople View Post
Do you mean "spell mistake" is not important and you never correct them?

Cheers
No I mean that assuming something is error free because it has no spelling errors is wrong.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
epubcheck bugs? capidamonte ePub 2 06-13-2010 08:38 AM
PRS-600 Possible to check out library books w/o Sony Reader Software Installed? 45MPHK9 Sony Reader 5 03-27-2010 04:16 PM
Web-based epubcheck upgraded to epubcheck 1.0.5 kjk ePub 4 02-09-2010 10:53 PM
Epub check tool: ePubs do not pass Portnull Calibre 32 11-04-2009 09:27 AM
epubcheck GeoffC ePub 3 11-03-2009 05:26 AM


All times are GMT -4. The time now is 04:39 PM.


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