View Single Post
Old 01-10-2022, 02:43 PM   #3
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by evil writer View Post
I got an email from Smashwords saying my epub has the following error (tried googling but didn't help):

ERROR(RSC-005): OEBPS/content.opf(57, 11): Error while parsing file: element "guide" incomplete; missing required element "reference"
Yep, exactly like Doitsu said, you're missing some EPUB semantics.

Although I'd recommend adding your Cover instead.

In Sigil, Tools > Add Cover.

Pick your cover image.

Sigil will create a cover HTML file for you + add the cover image into your <guide> section. This should solve your problem.

Side Note: I'd also recommend renaming your HTML files into human-readable names.

In Sigil's Book Browser, you can Right-Click the files > Rename.

Right now you have:
  • Section0001.xhtml
  • Section0002.xhtml
  • Section0003.xhtml
  • Section0004.xhtml
  • [...]

But I'd recommend:
  • Copyright.xhtml
  • Dedication.xhtml
  • Chapter01.xhtml
  • Chapter02.xhtml
  • Chapter03.xhtml
  • Chapter04.xhtml
  • [...]

In the future, if anything goes wrong, you can more easily debug exactly where an issue occurs.

Compare:

"Oh, I have an issue in Chapter 5? Great."

vs.

"Oh, I have an issue in Section0007.xhtml? I don't know what that is, and it's definitely not the 7th chapter in my book."

Last edited by Tex2002ans; 01-10-2022 at 02:47 PM.
Tex2002ans is offline   Reply With Quote