View Single Post
Old 10-18-2018, 11:42 AM   #7
BKh
Zealot
BKh can extract oil from cheeseBKh can extract oil from cheeseBKh can extract oil from cheeseBKh can extract oil from cheeseBKh can extract oil from cheeseBKh can extract oil from cheeseBKh can extract oil from cheeseBKh can extract oil from cheese
 
BKh's Avatar
 
Posts: 107
Karma: 1000
Join Date: Mar 2011
Device: Kindle
Quote:
Originally Posted by Tex2002ans View Post
Another step you might want to try if you want to have take an easy way out.

Open the EPUB in Sigil:

1. Delete the cover.xhtml + cover.png files. This should clean up the content.opf and remove any crappy/broken references to those files.

2. Add the cover.png back into the EPUB, then Tools > Add Cover. This should create a clean cover.xhtml file, and also assign the correct Cover metadata to the proper image.
OK, I did this but this was still in the content.opf:
Code:
<manifest>
    <item id="cover_png" href="Images/cover.png" media-type="image/png" properties="cover-image"/>
So I deleted the <item... and used the Tools>Add Cover feature in Sigil. (FWIW, I thought I did this already, but I guess not)

Yay! This is the only thing in the .opf:
Code:
<item id="cover.png" href="Images/cover.png" media-type="image/png" properties="cover-image"/>
except for this, but I guess this is ok:
Code:
<meta content="cover.png" name="cover" />
  </metadata>
I ran the check again and tada! It checks out. Thank you so much. I fixed the guide.xhtml problem too. It was a bad link.

Thanks everyone!
BKh is offline   Reply With Quote