
: Epub cover does not display properly in Kobo app I formatted an epub for an indie author. The author tells me that the cover displays properly on the Kindle and the Nook; I checked it in
I formatted an epub for an indie author. The author tells me that the cover displays properly on the Kindle and the Nook; I checked it in ADE and Calibre. It passed the IDPF epub validator. However, it is not displaying properly in the Kobo app on the author's iPad. There is a blank page after the cover. I consulted a colleague, who checked some of her covers in the Kobo app. Two covers of the same size, with the same svg coding—one had the blank page and one didn't.
My colleague suspects that the problem covers are being displayed on two pages, with a hairline of color on the top of the blank page. Is the app setting margins that bump the cover down? She tried inserting code to set margins to 0 and that didn't work.
Does anyone have any ideas as to the source of the problem and how to fix it?
I should perhaps add that I work in Oxygen XML editor, which does not like the code for the cover page. It flags it as invalid. All the other files are fine.
However the cover page passes the IDPF validator and displays properly (in most cases :) ).
I tried posting my cover page code here, but it did not display; I could not figure out how to escape it. If anyone can tell me how to escape the code, I can post it and y'all can pick it apart. (Yeah, I'm a duffer coder; it's been a long time since I took programming classes.)
Free books android app tbrJar TBR JAR Read Free books online gutenberg
More posts by @Surya

: More than one chapter div in one epub file? A self-publishing author started his book with two epigraphs and a prologue. I originally formatted this as one file, putting the epigraphs at the
3 Comments
Sorted by latest first Latest Oldest Best
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" etc etc>
This works in Kobo, make sure the two declarations come before anything, put width, height etc after. Kobo wants the svg declaration first, drop the xmlns="http://www.w3.org/1999/xhtml" you do not need it, but the other two you do need. I struggled with this for some many weeks until I stumbled on the solution.
Free books android app tbrJar TBR JAR Read Free books online gutenberg
I'll disagree strongly with Sekhemty: Oxygen is a far superior tool to either Sigil or Calibre, both of which (last I used them, anyway) do all kinds of things to your files without telling you about them. Oxygen is incredibly powerful, and I'd use it in a heartbeat if it wasn't so expensive.
To post the code, try just pasting it into the text box you're typing in, then select it all and click the button above that looks like {}. That should enable you do paste in code, like this:
<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
<head>
<title>4_kitchen.xhtml</title>
<link href="template.css" rel="stylesheet" type="text/css" />
</head>
Hope that helps!
Free books android app tbrJar TBR JAR Read Free books online gutenberg
Use a dedicated epub editor instead of a generic xml one, you will have you work greatly improved with a lot of specific optimizations for ebooks.
With Sigil and the Calibre internal editor I've never had this kind of problem, and I use a Kobo ereader regularly.
Free books android app tbrJar TBR JAR Read Free books online gutenberg