View Single Post
Old 07-22-2024, 01:26 PM   #517
Astroman
Member
Astroman can tame squirrels without the assistance of a chair or a whip.Astroman can tame squirrels without the assistance of a chair or a whip.Astroman can tame squirrels without the assistance of a chair or a whip.Astroman can tame squirrels without the assistance of a chair or a whip.Astroman can tame squirrels without the assistance of a chair or a whip.Astroman can tame squirrels without the assistance of a chair or a whip.Astroman can tame squirrels without the assistance of a chair or a whip.Astroman can tame squirrels without the assistance of a chair or a whip.Astroman can tame squirrels without the assistance of a chair or a whip.Astroman can tame squirrels without the assistance of a chair or a whip.Astroman can tame squirrels without the assistance of a chair or a whip.
 
Posts: 11
Karma: 11018
Join Date: Feb 2024
Device: none
Question

Thanks for the info! Yes, I'm using Sigil's built-in Python. I installed JDK as well, and got EpubCheck working … although I'm not sure it's working 100%.

I have yet to add images to my EPUB (version 3), but the text is 99% finished. I was quite happy to see that EpubCheck only had one type of complaint:

"Col: 10: ERROR(RSC-005): Error while parsing file: Element "title" must not be empty."

This exact line was repeated 25 times, i.e. the same error in 25 different chapters/xhtml files. The reason is the empty title tag, i.e. <title></title>, in the <head> element at the beginning of each file.

I have two questions:

1) I only use the h1 tag for chapter titles. I read a lot of guides and tips before I started producing this EPUB, and I've never read anything about the title tag. I have searched on Google, but I can't find any relevant information (except for the "title" that refers to the title of the book, which is added to the metadata).

What is the title tag for? EpubCheck lists these errors in red colour, so I assume it's serious and must be fixed.

I checked the Sigil User Guide, and often the title tag contains the same text as the h1 or h2 heading, but sometimes it's completely different. E.g. the chapter called "External Editors" has "Files" in the title tag. I'm confused.

PS: I have added my book's title to the metadata using the Metadata Editor, but I assume the book's title is not related to the title tag that appears near the top of every single chapter/xhtml file?

2) EpubCheck lists the above-mentioned error only for 25 chapters. However, all of my approximately 80 chapters have empty title tags.

Why is EpubCheck only reporting this error for less than 1/3 of the chapters?

PS: There is one file that has something written in the title tag: the file nav.xhtml has "ePub NAV" in the title, which I believe is something Sigil inserts automatically.
Astroman is offline   Reply With Quote