![]() |
#16 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,467
Karma: 5703586
Join Date: Nov 2009
Device: many
|
FYI, I and many many others regularly create epub3 ebooks that 100% pass epubcheck. So I am not sure what is going on here. If all epub3 features are tagged as errors, then perhpas you do not have the correct version tag in the opf to indicate this is an epub3 versus an epub2.
|
![]() |
![]() |
![]() |
#17 | |
Member
![]() Posts: 11
Karma: 10
Join Date: Dec 2017
Device: all
|
Quote:
thanks a lot |
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,467
Karma: 5703586
Join Date: Nov 2009
Device: many
|
If in a recent version of Sigil, it will tell you if your epub is an epub3 or epub2 by looking at the main gui Window name.
The definitive way is to look at the opf file. The content.opf file has an opf package tag that has a version attribute that determines the version of the epub: For example, here is the opening package tag for a typical epub3 content.opf. Code:
<package xmlns="http://www.idpf.org/2007/opf" version="3.0" xml:lang="en" unique-identifier="uid" prefix="rendition: http://www.idpf.org/vocab/rendition/# cc: http://creativecommons.org/ns#"> |
![]() |
![]() |
![]() |
#19 | ||
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,796
Karma: 6759036
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
Quote:
I am slowly transitioning my library to epub3, and so far everything validates. Last edited by odamizu; 12-21-2017 at 09:49 PM. |
||
![]() |
![]() |
![]() |
#20 | ||
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,616
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Quote:
I thought hoped there might be an explicit way to declare 'this is toc-less' book. BR Last edited by BetterRed; 12-21-2017 at 05:29 PM. |
||
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,796
Karma: 6759036
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
![]() I also tested this with a non-breaking space — which I suspect you would have tried, too — but that wouldn't validate. |
|
![]() |
![]() |
![]() |
#22 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Do we have reason to believe that SW now accepts ePUB3? We've made some FXL ePUBs that, as far as I know, uploaded over there, but I don't remember if they were ePUB2 or 3. Nonetheless, for at least the last few years, every time an ePUB (2) was uploaded there, it tanked with alleged intake (ePUBcheck) errors. They had to be manually processed. So, it could be an ePUB3.0 thing; or it could be just the usual SW intake errors around ePUBs. Just a thought. Hitch |
|
![]() |
![]() |
![]() |
#23 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,467
Karma: 5703586
Join Date: Nov 2009
Device: many
|
I really have no idea about SW itself. That is why I asked him if epubcheck on his epub passed or not and if it gave the same error message.
The op said that epubcheck failed for every epub3 feature. I tried to point out this must be because of a coding error as valid epub3s can and do pass epubcheck |
![]() |
![]() |
![]() |
#24 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
So, yes, I agree, I'd ePUBcheck it first, independently of SW. Hitch |
|
![]() |
![]() |
![]() |
#25 | |
Member
![]() Posts: 11
Karma: 10
Join Date: Dec 2017
Device: all
|
Dears
just received an answer from Smashwords, and actually, proud to say, I was right ! Many epub 3 functionalities are not accepted by Smashwords (this includes footnotes pop up, which was one of the main thing rejected in my ebooks) ... So their standard is not real epub 3 but something like epub 2.5 (I know it doesn't exist, but well ... ) Quote:
@KevinH: you wrote Code:
<package xmlns="http://www.idpf.org/2007/opf" version="3.0" xml:lang="en" unique-identifier="uid" prefix="rendition: http://www.idpf.org/vocab/rendition/# cc: http://creativecommons.org/ns#"> Code:
<?xml version="1.0" encoding="utf-8"?> <package version="3.0" unique-identifier="BookId" xmlns="http://www.idpf.org/2007/opf"> |
|
![]() |
![]() |
![]() |
#26 | |
Member
![]() Posts: 11
Karma: 10
Join Date: Dec 2017
Device: all
|
and here is what I have for my toc.ncx
Quote:
|
|
![]() |
![]() |
![]() |
#27 |
Member
![]() Posts: 11
Karma: 10
Join Date: Dec 2017
Device: all
|
Hi guys
I'm sooo sorry, I just re-re-re checked my ebooks and discover that 2 of them (which were the main problem) where tagged as epub2 but were intended to be epub 3 ... so mostly my fault ![]() I corrected that and now this 2 ebooks pass the epub validator successfully ... but still, according to Smashword standard, not sure they make it to their premium store as some epub3 tricks are not welcome on their website (not criticising them here, they are doing a great job ... just sharing info). Thanks everyone, I learned a lot in the process. Happy Christmas ! |
![]() |
![]() |
![]() |
Tags |
epub 3, epub check, nav.xhtml |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil Nav.xhtml Line Break Issue | Dave_M | Sigil | 11 | 10-26-2017 07:45 PM |
TOC nav.xhtml issue | ebookscovers | Conversion | 1 | 05-06-2017 11:12 AM |
ToC help needed: nav.xhtml | Phssthpok | Editor | 10 | 04-14-2017 04:58 AM |
missing elements from validator but they're there howcum? | Allthunbs | Sigil | 3 | 02-03-2014 07:17 AM |