View Single Post
Old 11-02-2026, 05:53 AM   #1815
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: 85,817
Karma: 154365285
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
The cover code does not work in RMSDK on a Kobo. This is the code from Modify ePub. The problem is __lang__. That is causing the problem. And as long as it's being fixed, <title>__title__</title> does not need to be in the SVG code. And <title> doe snot have the book's title. It just has __title__.
Code:
<html xmlns="http://www.w3.org/1999/xhtml"__lang__>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="calibre:cover" content="true" />
        <title>__title__</title>
        <style type="text/css" title="override_css">
            @page {padding: 0pt; margin:0pt}
            body { text-align: center; padding:0pt; margin: 0pt; }
        </style>
    </head>
    <body>
        <div>
            <svg version="1.1" xmlns="http://www.w3.org/2000/svg"
                xmlns:xlink="http://www.w3.org/1999/xlink"
                width="100%" height="100%" viewBox="0 0 1138 1680"
                preserveAspectRatio="xMidYMid meet">
                <title>__title__</title>
                <image width="1138" height="1680" xlink:href="../images/cover.jpeg"/>
            </svg>
        </div>
    </body>
</html>

Last edited by JSWolf; 11-04-2026 at 04:32 PM.
JSWolf is offline   Reply With Quote