View Single Post
Old 01-04-2019, 05:08 AM   #1
etrnlflame
Junior Member
etrnlflame began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Dec 2018
Device: Kobo Glo HD
Calibre Xpath to start on cover

I'm trying to figure out what to put in the "Start reading at (XPath expressions)" to get my book to start reading at the cover page. Here's the code for the cover page:

<?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 800 1200" preserveAspectRatio="none">
<image width="800" height="1200" xlink:href="cover.jpeg"/>
</svg>
</div>
</body>
</html>



Thank you!
etrnlflame is offline   Reply With Quote