Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 08-30-2020, 10:42 PM   #1
rjnagle
Zealot
rjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it is
 
Posts: 126
Karma: 2167
Join Date: Oct 2005
Location: Houston, Texas
Device: ipad 1, Nook Simple Touch, Kindle 3, ebookwise 1150
kindle support for "hidden" HTML element for section --> li?

I notice that the latest epub specification indicates support for the "hidden" HTML element in the navigation document -- see https://www.w3.org/publishing/epub3/...nav-def-hidden

I was wondering: if you use the HIDDEN HTML attribute for li or ol inside the navigation html document, do Kindle reading systems support it?

I'm guessing that e-ink kindles don't support HIDDEN in the navigation document. Does anyone know of a fallback technique to prevent individual TOC items from being displayed on e-inks?

Thanks.
rjnagle is offline   Reply With Quote
Old 08-30-2020, 10:57 PM   #2
rjnagle
Zealot
rjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it is
 
Posts: 126
Karma: 2167
Join Date: Oct 2005
Location: Houston, Texas
Device: ipad 1, Nook Simple Touch, Kindle 3, ebookwise 1150
Egad, am I lazy or what? All I had to do was to render it in the Kindle Previewer. It looks fine. I'll test on the paperwhite, but so far it won't be a problem. Horray!
rjnagle is offline   Reply With Quote
Old 09-01-2020, 09:17 AM   #3
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by rjnagle View Post
I notice that the latest epub specification indicates support for the "hidden" HTML element in the navigation document -- see https://www.w3.org/publishing/epub3/...nav-def-hidden

I was wondering: if you use the HIDDEN HTML attribute for li or ol inside the navigation html document, do Kindle reading systems support it?

I'm guessing that e-ink kindles don't support HIDDEN in the navigation document. Does anyone know of a fallback technique to prevent individual TOC items from being displayed on e-inks?

Thanks.
I would tread carefully with hiding TOC items. KDP can be rather pissy about it, fwiw.

Hitch
Hitch is offline   Reply With Quote
Old 09-06-2020, 03:17 PM   #4
rjnagle
Zealot
rjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it isrjnagle knows what time it is
 
Posts: 126
Karma: 2167
Join Date: Oct 2005
Location: Houston, Texas
Device: ipad 1, Nook Simple Touch, Kindle 3, ebookwise 1150
Oops, spoke too soon. I may be able to hide the TOC list item in the logical TOC. However, that doesn't hide the entry in the reading system's TOC for current Kindles (and even Adobe DE).

3.2 spec says:
To control rendering across all Reading Systems, authors MUST use the [HTML] hidden attribute to indicate which (if any) portions of the navigation data are excluded from rendering in the content flow. The hidden attribute has no effect on how navigation data is rendered outside of the content flow (such as in dedicated navigation user interfaces provided by Reading Systems).

MUST is the key word here, but apparently that's not true for Kindle or even for Adobe DE.

It's funny, because I can think of multiple situations where I want content to be not visible in the reading system's navigation entries.

Looking further, I see that linear=0 doesn't seem to hide the TOC item from the reading system's navigation system. (Maybe that was a legacy way to do it which was not really implemented?)
rjnagle is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Error while parsing file 'element "img" not allowed here" shotsfromthebar Editor 3 03-31-2017 03:53 AM
The element type "p" must be terminated by the matching end-tag "</p>". uieluck ePub 10 02-12-2013 07:04 PM
Try to remove : This item was downloaded by caliber from .... and "Section Menu", "Ma poulardalber Recipes 4 08-21-2012 05:23 AM
Kindle Fire: also missing "section/articles" in all news mkgtu Devices 3 11-21-2011 10:14 AM


All times are GMT -4. The time now is 10:14 PM.


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