View Single Post
Old 02-11-2010, 05:03 AM   #1
NASCARaddicted
Addict
NASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and grace
 
Posts: 340
Karma: 43106
Join Date: Apr 2009
Location: Germany
Device: BeBook One, Pocketbook Touch, Pocketbook Touch HD
epub check mentiones an error

I know, epub checks have been discussed before, but still I want to mention it again

I have a public domain html file that I converted into xhtml 1.1 (it is valid). Then I converted it into epub with the latest edition of calibre (I always use the latest version). Then I let it run through an epub check (threepress.org which uses epub check 1.0.5)

Everything was o.k. except for 1 error:
ERROR: Rosenresli - Johanna Spyri.epub/content.opf(10): date value '2010-02-08T22:00:00' is not valid, YYYY[-MM[-DD]] expected

Member Netseeker told me that Dublin Core recommends the usage of either just the year (YYYY) or year+month (YYYY-MM) ...

So I edited line 10 of the content.opf and removed the time setting, so that only the 2010-02-08 was left - and now the epub file passed the epub check.

Is there a way how I can keep the time setting out of the convertion ? Or do I have to remove it every time, by myself ?

Thanks in advance
NASCARaddicted is offline   Reply With Quote