Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 11-23-2015, 04:19 PM   #1
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
What does epub:type="chapter" mean?

I only do the very basics with CSS and the editor, usually just enough to fix the book clean enough to be read able on the Kindle

I found this in one of them and it used <section> which I had never seen before W3Schools explained that, but I could not find anything about the the 'epub:type="chapter" ' part and what it means or does.

Can someone explain or point me to an explanation?

Thanks


Code:
<body>

  <section epub:type="chapter" title="CHAPTER">

    <div>

      <h2> ...... </h2>

    </div>

  </section>

</body>
phossler is offline   Reply With Quote
Old 11-23-2015, 06:24 PM   #2
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
It means the book is ePub3. Beyond having seen that in a glance through the epub3 specs, I don't know anything. I think a search is what you need to do.
davidfor is offline   Reply With Quote
Old 11-23-2015, 07:08 PM   #3
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
thanks -- the pointer to epub3 helped. It's apparently something to do with accessability

http://www.idpf.org/accessibility/gu.../epub-type.php

Quote:
To make ebooks more accessible, you need to consider that many readers will be interacting with the content in non-visual ways, and for that reason the logical reading order must be defined at the markup level. To facilitate this discovery, EPUB 3 includes a new epub:type attribute that allows more precise meanings to be applied to the generic tags, a process called semantic inflection.
phossler is offline   Reply With Quote
Old 11-23-2015, 07:14 PM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,757
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by phossler View Post
thanks -- the pointer to epub3 helped. It's apparently something to do with accessability

http://www.idpf.org/accessibility/gu.../epub-type.php
In plain English, it's a load of rubbish. It does nothing for anyone. It's just extra code that is meaningless. In ePub 2 there is the guide in the OPF which says what the order is. There's no need for this section garbage. It's just another useless feature added to ePub 3. ePub 3 still has the guide in the OPF and that works perfectly to specify the order of the XML files. You can get rid of the section tags without any loss of functionality.

What I have been doing with these new ePub 3 is converting them back to ePub 2 as they have nothing in them that cannot be done with ePub 2. It just makes the code more convoluted to go ePub 3 for no good reason.
JSWolf is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The element type "p" must be terminated by the matching end-tag "</p>". uieluck ePub 10 02-12-2013 07:04 PM
"ELF binary type "0" not known" Error. When run Kindlegen chovan Amazon Kindle 4 02-09-2012 11:49 AM
epub "padding left" to mobi "block quote" conversion issue 1611mac Conversion 3 01-11-2012 02:10 PM
ePub to Mobi: can't get the reference type="text" to work LaoTseu Conversion 7 09-14-2011 12:06 AM
Ideal size for a "chapter" in the epub format? eosrose ePub 2 10-27-2010 08:46 PM


All times are GMT -4. The time now is 02:52 PM.


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