Bookshelf | Reports | Community | KDP Select

Home » Amazon KDP Support » Ask the Community » Formatting

Thread: Title problem with Sigil-generated .epub


This question is not answered. Helpful answers available: 2. Correct answers available: 1.

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 7 - Pages: 1 - Last Post: Dec 6, 2017 3:09 AM Last Post By: Notjohn Threads: [ Previous | Next ]
A S Templeton

Posts: 2
Registered: 09/06/16
Title problem with Sigil-generated .epub
Posted: Oct 6, 2016 4:56 PM
 
Click to report abuse...   Click to reply to this thread Reply
So I imported my Word-generated HTML+files into Sigil, generated the logical TOC (after the fine explanation offered at https://www.youtube.com/watch?v=-Cp6NoNSync), tweaked some image names and source callouts, save-as'ed to .epub, fired up the Kindle Previewer 3 (beta) and dragged the .epub onto the blank previewer window to "compile" the project.

Previewer 3 immediately threw an error:

Error(prcgen):E21011: The book title was not set. Please set the title before generating the mobi.

Hmmm; did Sigil somehow delete the <title> declaration in the HTML? Nope, still there in the main document's <head> block: <title>My Title</title>

Is there something missing in the Sigil-generated .epub? There doesn't seem to be any way in Previewer 3 to manually set the project's title.

/Thanks for any insight!
writerbn

Posts: 5,649
Registered: 05/12/12
Re: Title problem with Sigil-generated .epub
Posted: Oct 6, 2016 5:20 PM   in response to: A S Templeton in response to: A S Templeton
 
Click to report abuse...   Click to reply to this thread Reply
Check the content.opf file. Does it have a "dc:title" entry?

Also, once you fix the ePub (and validate it), you can just upload the ePub directly to KDP.
A S Templeton

Posts: 2
Registered: 09/06/16
Re: Title problem with Sigil-generated .epub
Posted: Oct 6, 2016 7:27 PM   in response to: writerbn in response to: writerbn
 
Click to report abuse...   Click to reply to this thread Reply
Nope, there's no "dc:title" in the content.opf -- was this .opf (meant to be) created by Sigil upon import of the .htm exported by Word? How is that title filled in?
writerbn

Posts: 5,649
Registered: 05/12/12
Re: Title problem with Sigil-generated .epub
Posted: Oct 7, 2016 5:20 AM   in response to: A S Templeton in response to: A S Templeton
 
Click to report abuse...   Click to reply to this thread Reply
I don't use Word, I just start with a blank Sigil file and copy/paste my text into it from Scrivener.

Every ePub file should have both a content.opf file and a TOC file. That's where your problem lies. Try starting with a fresh Sigil file, and creating your own stylesheet. Look for Notjohn's posts on these forums; I think he has a template you can use.
MR R J LAIDLER

Posts: 937
Registered: 09/26/16
Re: Title problem with Sigil-generated .epub
Posted: Oct 7, 2016 8:13 AM   in response to: writerbn in response to: writerbn
 
Click to report abuse...   Click to reply to this thread Reply
The .opf file is created automatically by Sigil. One of the things worth looking at is the Metadata. In Sigil the Metadata editor is found under Tools, or at least it is on my 0.9.6 version. :) Click on this and you should see a field called dc:title. If you click on the right of this it should open up a little box you can enter your title in. It isn't a very helpful window but with a bit of playing about you should get the hang of it. At the same time, while you are rummaging in the Metadata, opposite the dc:creator field you can add your name as the author. Click OK after making your changes and in the .opf file near the top in the Metadata section you should see the title appear. Probably worth saving first but I don't think that is essential, the .opf file seems to be created and amended dynamically. After doing this try to see what happens if you load it into the Kindle Previewer, though as already suggested you can upload the epub file directly to Kindle but doing it through the Previewer will generate a file containing any warnings or errors which is easy to read.
William Thompson

Posts: 1,135
Registered: 07/06/14
Re: Title problem with Sigil-generated .epub
Posted: Oct 7, 2016 3:40 PM   in response to: A S Templeton in response to: A S Templeton
 
Click to report abuse...   Click to reply to this thread Reply
The problem you are having is caused by incomplete or missing metadata(ebook details) in the epub i. e. your epub metadata does not contain the ebook title.

To resolve your problem, click the Metadata Editor button in the Sigil toolbar(has a big "i" as thumbnail) and complete all the necessary metadata for your epub before you convert to Kindle mobi. At a bare minimum, your epub metadata should contain the ebook title, author, publisher, language and creation date.

If you find Sigil's Metadata Editor difficult or awkward to use, just google and download the Epub Metadata Editor (free app) from the internet and use that instead to add metadata to your epub..
Andrew Valdez

Posts: 1
Registered: 12/06/17
Re: Title problem with Sigil-generated .epub
Posted: Dec 5, 2017 9:50 PM   in response to: William Thompson in response to: William Thompson
 
Click to report abuse...   Click to reply to this thread Reply
THis didn't work either.. what to do?? /
Notjohn

Posts: 23,770
Registered: 02/27/13
Re: Title problem with Sigil-generated .epub
Posted: Dec 6, 2017 3:09 AM   in response to: Andrew Valdez in response to: Andrew Valdez
 
Click to report abuse...   Click to reply to this thread Reply
Tell us your problem rather than opening up a year-old thread. Are you actually using Sigil, and if so, what release? And you can't find the "metadata" editor if you go Tools > Metadata Editor (or F8)?

When I do that, I see that the language is filled in as English, followed by this line:

dc:title {No data}

And I can overwrite {No data} with my title. You can't?

You can actually communicate with Kevin and Diap, the lads who maintain this free and powerful software, if you go to the Sigil forum on MobileRead dot com.

(Don't trust KDP to publish a print edition. Don't trust CreateSpace to publish an ebook. Each does one thing well and the other thing poorly.)

Good luck! -- NJ

Notjohn's Guide to E-Book & Print Formatting

The blog:
http://notjohnkdp.blogspot.com
Legend
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums