|
|
#1 |
|
my parent's oops...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 493
Karma: 1477572
Join Date: Feb 2009
Device: Vx->Handera->Clie-> Axim->505->650->KPW/Aura ->L2->iOS/CBW
|
Duplicate Cover files in epub
Not sure how to fix this. I have some epub books from 2018 or so (not sure which version of calibre they were added/converted) but their structure shows multiple title pages with several covers. When I open them in edit book, these epubs have two title page files:
-titlepage.xhtml -calibre_title_page.xhtml the code for the titlepage.xhtml: Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="calibre:cover" content="true"/>
<title>Cover</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 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="100%" height="100%" viewBox="0 0 599 798" preserveAspectRatio="xMidYMid meet">
<image width="599" height="798" xlink:href="cover.jpeg"/>
</svg>
</div>
</body>
</html>
Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/xlink">
<head>
<title>Cover</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link href="../stylesheet.css" type="text/css" rel="stylesheet"/>
<link href="../page_styles.css" type="text/css" rel="stylesheet"/>
</head>
<body class="calibre">
<div class="calibre1">
<img src="resources/_cover__0.jpg" alt="cover" class="calibreclass"/></div>
</body>
</html>
Thanks in advance for any pointers. |
|
|
|
|
|
#2 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,341
Karma: 62025226
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
(a WAG as I have not run into this issue) Use the Modify EPUB plugin Be sure to tick Remove Legacy Jacket FWIW this is a fantastic way to update books without douing a full (and possibly hideous) full conversion |
|
|
|
| Advert | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Duplicate Cover Image | Collardclan | Devices | 7 | 01-09-2017 11:53 PM |
| Have many duplicate files | Jaejae | Calibre | 10 | 04-26-2016 09:16 PM |
| Managing cover images in mobi/epub files | steje | Library Management | 19 | 12-07-2013 10:48 PM |
| duplicate cover in mobi | wyatt650 | Kindle Formats | 6 | 08-06-2013 06:40 PM |
| Duplicate Cover images | Moonraker | Calibre | 3 | 07-30-2011 12:34 PM |