View Single Post
Old 05-09-2021, 09:45 AM   #11
morty92222
Enthusiast
morty92222 began at the beginning.
 
morty92222's Avatar
 
Posts: 38
Karma: 10
Join Date: Dec 2019
Device: Kindle Paperwhite
Quote:
Originally Posted by jhowell View Post
Another idea is to try converting to EPUB, even if your original book is in that format, and then check the resulting file for problems.
So, I reconverted the KFX to epub and found out the following:
1. Calibre adds an entire page at the very end that got an svg and img attribute.
2. It adds a picture to images folder (the camera).

Here is the code in the new page. Any idea why is this being inserted?

Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xml:lang="ar">

<head>
  <title>part0020</title>
  <link rel="stylesheet" type="text/css" href="../stylesheet.css"/>
  <link rel="stylesheet" type="text/css" href="../page_styles.css"/>
</head>

<body class="class">

  <div xml:lang="en" class="class_sv">

    <div class="class_sv1">

      <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" preserveAspectRatio="xMidYMid meet" viewBox="0 0 48 48" height="100%" width="100%">
        <image xlink:href="image_rsrcV1.jpg" height="48" width="48"/>
      </svg>

    </div>

  </div>

</body>

</html>
morty92222 is offline   Reply With Quote