View Single Post
Old 08-10-2014, 01:36 PM   #17
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,134
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by cybmole View Post
Hmmm - maybe the lesson to take away form this book is that the REAL reason Stephen King does not like epubs is because his publishers employ such rubbish programmers

I did look back at the previous book in this series which I have, I would not say the coding was great but it's a lot better than this one!
here's a start of chapter sample from the previous book ( this is after it's been through calibre but all that has done is renamed a few style classes )

Code:
<head>
  <title>The Waste Lands</title>
  <link href="../Styles/stylesheet.css" rel="stylesheet" type="text/css" />
  <link href="../Styles/page_styles.css" rel="stylesheet" type="text/css" />
</head>

<body class="calibre">
  <p class="calibre1"><a id="c01"></a></p>

  <div class="fmhT">
    <b class="calibre5">I</b>
  </div>

  <div class="fmhT">
    <b class="calibre4">BEAR AND BONE</b>
  </div>

  <div class="centerAligned"><img alt="003" class="imgepub" src="../Images/king_9781101158616_oeb_003_r1.jpg" /></div>

  <div class="calibre2">
    <a id="h1"></a>
  </div>

  <h1 class="h"><b class="calibre4">1</b></h1>

  <div class="tx">
    IT WAS HER THIRD time with live ammunition . . . and her first time on the draw from the holster Roland had rigged for her.
  </div>
all nice n neat , deduct a mark for the superflous anchor tags and another for the unimaginative class names maybe!, but it's reasonably good code.

then whoever coded that gets replaced by the muppets who produced book 4 - maybe they were cheaper or something!
That publishing house uses a monster 'house stylesheet'. Those are their standard class names that are to be used in the proper places within the book. There is nothing wrong using a standard stylesheet, just clean it as the last Release step.

The problem is I see fmtx (guessing usage here: Front Mater TXT)
used in the main body (instead of TX)
The coders obviously do not know the house rules
theducks is offline   Reply With Quote