Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 04-12-2013, 05:57 AM   #1
Kratos
Connoisseur
Kratos began at the beginning.
 
Posts: 60
Karma: 10
Join Date: Mar 2011
Location: UK
Device: Kindle 3, iPhone, iPad, PC
How do I fix 'title element is empty' error?

Hi. Using Indesign I made an epub which has passed the validation checks.
After being sent to BookBaby (first time ive used them) they failed it's approval because of this error.

Code:
EpubCheck Info Result:\Detail: WARNING: //cdbarx/content/books/20/BK00013520/original/BK00013520.epub/OEBPS/content.opf(6,17): title element is empty
Browsing de internet I think it is because the title tag is empty.
Using Sigil I looked in the content.opf file and saw this. <dc:title />
So I put an opening title tag at the front <dc:title>Book Name<dc:title /> and saved it.

But when I do that the code splits on to the next line
Code:
    <dc:title>Book Name
    <dc:title />
Is this correct?

Thanks!
Kratos is offline   Reply With Quote
Old 04-12-2013, 06:19 AM   #2
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,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
In Sigil, if you click "Tools - Metadata Editor" (or F8 on your keyboard), this will lead you to where you can add things like Title, Author, ISBN, Publication Date, etc.

It is not a good idea editing the content.opf manually unless you know exactly what you are doing.
Tex2002ans is offline   Reply With Quote
Advert
Old 04-12-2013, 08:15 AM   #3
mzmm
Groupie
mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.
 
mzmm's Avatar
 
Posts: 171
Karma: 86271
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
Code:
<dc:title />
is a self-closing tag, equivalent to <dc:title></dc:title>. what you want is

Code:
<dc:title>Book Name</dc:title>
mzmm is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ePub validation error help "attribute border is not declared for element img bmacklin ePub 12 11-06-2015 11:00 AM
Error: no declaration found for element 'u' Ripplinger Sigil 6 03-09-2013 08:20 PM
By Title Empty but Newest ok LightHouse Lady Calibre 0 09-20-2010 11:32 PM
Unfinished Element error Vagabondista ePub 3 09-14-2010 12:12 PM
Crash on nonexistent "title" metadata element Valloric EPUBReader 3 12-10-2009 01:46 PM


All times are GMT -4. The time now is 06:39 AM.


MobileRead.com is a privately owned, operated and funded community.