Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-14-2015, 01:00 AM   #1
zz2000
Junior Member
zz2000 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2015
Device: none
EpubCheck

Immediately after calibre conversion, my epub validated using EpubCheck version 3.0.1

But after removing calibre_bookmarks.txt with the editor, the following problem was found.
Type File Line Position Message
ERROR content.opf 17 14 element "metadata" incomplete; missing required element "dc:language"

Please help
zz2000 is offline   Reply With Quote
Old 02-14-2015, 01:34 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,163
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Specify a language for the book in its metadata.
kovidgoyal is offline   Reply With Quote
Advert
Old 02-14-2015, 01:50 AM   #3
zz2000
Junior Member
zz2000 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2015
Device: none
chronology of incidents

1. It is there generated by calibre during convesion from zip to epub
<meta name="dc.language" content="English"/>

2. Validated ok

3. Removed calibre_bookmarks.txt with calibre editor

4. Did not validate, with ERROR content.opf 17

Last edited by zz2000; 02-14-2015 at 01:54 AM. Reason: incomplete post
zz2000 is offline   Reply With Quote
Old 02-14-2015, 02:03 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,163
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
<meta name="dc.language" content="English"/>

cannot validate OK. What you need is a language declaration in the OPF file, that looks like

<dc:language>en</dc:language>
kovidgoyal is offline   Reply With Quote
Old 02-14-2015, 02:15 AM   #5
zz2000
Junior Member
zz2000 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2015
Device: none
<meta name="dc.language" content="English"/> was added by calibre.

How do I add <dc:language>en</dc:language>
zz2000 is offline   Reply With Quote
Advert
Old 02-14-2015, 02:37 AM   #6
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,776
Karma: 27405072
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by zz2000 View Post
<meta name="dc.language" content="English"/> was added by calibre.

How do I add <dc:language>en</dc:language>
@zz2000 - in Metadata Edit select Language(s) from the drop down list, save changes, and Polish the EPUB. That should put the dc:language element into the EPUB's content.opf file.

BR
BetterRed is offline   Reply With Quote
Old 04-09-2015, 01:35 AM   #7
zz2000
Junior Member
zz2000 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2015
Device: none
My problem is solved. I'm documenting this for others who may face the same problem.

If calibre conversion is successful, your epub should validate.

However, if you browse your epub with calibre, some changes will be made to your epub, causing the already validated epub to fail validation.

If you need to check your epub before submission to Amazon, smashwords ... whatever, make a COPY of your epub file and check that.
zz2000 is offline   Reply With Quote
Old 04-09-2015, 03:37 AM   #8
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
The only change that should be made is adding the bookmarks file, and that can be disabled in the preferences.
eschwartz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Epubcheck 3 Dillinquent Sigil 36 01-18-2013 05:33 PM
ePubCheck problem Adjust ePub 7 02-27-2012 01:36 PM
epubcheck bugs? capidamonte ePub 2 06-13-2010 07:38 AM
Web-based epubcheck upgraded to epubcheck 1.0.5 kjk ePub 4 02-09-2010 09:53 PM
epubcheck GeoffC ePub 3 11-03-2009 04:26 AM


All times are GMT -4. The time now is 06:18 PM.


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