![]() |
#1 |
Member
![]() Posts: 12
Karma: 10
Join Date: Oct 2016
Device: none
|
Ibooks- invalid?
Hi,
I'm trying to read in Ibooks the epubs I create, but it says that is invalid. I read another post on here that said that this is related to an extra space in the DTD, however, I went in and took out the space and it still says that is invalid. Does anyone know why this is happening and how to fix it? Oh, and not sure if it's relevant, but I'm trying to edit them in Dreamweaver. I know Calibre is capable of creating the space without the but I can't use Calibre for these specific books. |
![]() |
![]() |
![]() |
#2 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,725
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Code:
  Quote:
|
||
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 286
Karma: 1546488
Join Date: Jan 2016
Device: ipad
|
Quote:
|
|
![]() |
![]() |
![]() |
#4 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,681
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
You do not need to make ePub 3 eBooks for iBooks. You can make ePub 2 eBooks.
|
![]() |
![]() |
![]() |
#5 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,725
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Quote:
|
||
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Where does the idea that HTML5 does not support named characters? It certainly does and if iBooks doesn't then it is not HTML5 compliant. The list of Named character references is in our wiki. This list is a superset of entities and certainly includes nbsp.
Dale |
![]() |
![]() |
![]() |
#7 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,725
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
BTW, you can easily test this for yourself. Create a new epub3 book, insert named entities such as and have it checked by epubcheck. For example, the following code will fail epubcheck: Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
<head>
<title></title>
</head>
<body>
<p> </p>
</body>
</html>
Code:
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html [ <!ENTITY nbsp " "> ]> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops"> <head> <title></title> </head> <body> <p> </p> </body> </html> |
|
![]() |
![]() |
![]() |
#8 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
|
Can this be put in the css file, or otherwise just once in the book rather than in the head of every xhtml file?
I've just been looking at a HarperCollins ePub and had ePubCheck warn me of this, so I'm pretty sure it's not a fatal error, but I'd like to stop it complaining. I could of course just convert to numeric entities, but I'm a human being and I prefer readable code rather than having to decompile as I read. You can, but the TOC may not work properly. I used to hand code an epub3-style nav.xhtml file and put it in a ePub2 until I found the ePub3-itizer for Sigil. Last edited by AlanHK; 02-19-2017 at 03:07 AM. |
![]() |
![]() |
![]() |
#9 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,725
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
|
![]() |
![]() |
![]() |
Tags |
, ibooks for mac, invalid tag |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
&()nbsp , &()#160 , inconsistencies?? | rbruce1314 | Sigil | 47 | 09-18-2015 12:29 PM |
  instead of | Alt68er | Sigil | 16 | 01-02-2014 08:02 PM |
iBooks does NOT LIKE | Erin | Apple Devices | 0 | 09-13-2011 11:17 AM |