Quote:
Originally Posted by evil writer
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."