Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 05-19-2016, 07:53 AM   #1
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 18,301
Karma: 16078357
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
Sigil 9.5

The following is my html metadata:
Code:
  <title>The Flower of Gloster</title>
  <meta content="Thurston, Ernest Temple" name="dcterms.creator">
  <meta content="2016/05/19" name="dcterms.date.of.publication">
  <meta content="Ebook prepared by crutledge@knology.net" name="dcterms.Description">
  <meta content="en" name="dcterms.language" scheme="DCTERMS.RFC4646">
  <meta content="Public Domain" name="dcterms.rights">
  <meta content="Fiction" name="dcterms.subject">
  <meta content="The Flower of Gloster" name="dcterms.title">
  <link rel="stylesheet" type="text/css" href="main.css">
</head>
The following are the errors I get from Sigil 9.5

Quote:
date value '2016/05/19' is not valid as per http://www.w3.org/TR/NOTE-datetime: [For input string: "2016/05/19"] is not an integer

attribute "opf:scheme" not allowed here; expected attribute "id" or "ns:type" (with xmlns:ns="http://www.w3.org/2001/XMLSchema-instance")
I really don't understand!!!

Charlie
crutledge is offline   Reply With Quote
Old 05-19-2016, 07:59 AM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,491
Karma: 5703586
Join Date: Nov 2009
Device: many
Where are you getting these errors from? Is this from running Flightcrew after importing your html? Or is this from running epubcheck?

If so, run the GUI metadata editor and fix things.

Kevin
KevinH is offline   Reply With Quote
Advert
Old 05-19-2016, 08:06 AM   #3
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,687
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
1. HTML metadata is pointless, because there aren't any apps that actually read them; metadata should only be defined in the .opf file.

2. All your entries are missing the final slash or a closing </meta> tag:

<meta content="2016/05/19" name="dcterms.date.of.publication" />

or

<meta content="2016/05/19" name="dcterms.date.of.publication"></meta>
Doitsu is offline   Reply With Quote
Old 05-19-2016, 09:22 AM   #4
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,491
Karma: 5703586
Join Date: Nov 2009
Device: many
I agree about html metadata but Sigil will try to read it and will try to use it to set some of the opf metadata information if it can.

And yes, this is not valid xhtml. The meta tags in xhtml are void tags (empty and self closed).

And here is the spec on true metadata date-time formats from the w3c:

http://www.w3.org/TR/NOTE-datetime

Spoiler:

Exactly the components shown here must be present, with exactly this punctuation. Note that the "T" appears literally in the string, to indicate the beginning of the time element, as specified in ISO 8601.

Year:
YYYY (eg 1997)
Year and month:
YYYY-MM (eg 1997-07)
Complete date:
YYYY-MM-DD (eg 1997-07-16)
Complete date plus hours and minutes:
YYYY-MM-DDThh:mmTZD (eg 1997-07-16T19:20+01:00)
Complete date plus hours, minutes and seconds:
YYYY-MM-DDThh:mm:ssTZD (eg 1997-07-16T19:20:30+01:00)
Complete date plus hours, minutes, seconds and a decimal fraction of a
second
YYYY-MM-DDThh:mm:ss.sTZD (eg 1997-07-16T19:20:30.45+01:00)
where:

YYYY = four-digit year
MM = two-digit month (01=January, etc.)
DD = two-digit day of month (01 through 31)
hh = two digits of hour (00 through 23) (am/pm NOT allowed)
mm = two digits of minute (00 through 59)
ss = two digits of second (00 through 59)
s = one or more digits representing a decimal fraction of a second
TZD = time zone designator (Z or +hh:mm or -hh:mm)

Last edited by KevinH; 05-19-2016 at 01:01 PM.
KevinH is offline   Reply With Quote
Old 05-19-2016, 01:07 PM   #5
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,491
Karma: 5703586
Join Date: Nov 2009
Device: many
In other words: replacing this
Code:
  <meta content="2016/05/19" name="dcterms.date.of.publication">
Code:
  <meta content="2016-05-19" name="dcterms.date.publication"/>
And then reimporting that into a new ebook should fix at least that first error message.
But again, it would probably be best to use the GUI Metadata Editor tool to fix thigs there which is the only place either FlightCrew or epubcheck will look to see if things are correct.

Still not sure what the second error message is about. Can you go to the content.opf Tab and copy the metadata section and paste it here. That should help me to see what is going wrong.

KevinH
KevinH is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil-0.8.900 released for testing - Wait for Sigil-0.8.901 KevinH Sigil 106 10-04-2015 10:41 AM
Sigil on Nook vs Sigil on Kobo vs Sigil on iBook rosshalde Sigil 12 11-13-2014 09:34 AM
Sigil Plugins (for Sigil 0.7xx Alpha) DiapDealer Sigil 15 09-27-2014 05:21 PM
Sigil 0.3.4 / Sigil 0.4.0 RC1 / Cover in Nook Color Bertrand Sigil 13 08-06-2011 04:06 AM
Sigil 0.3.4 / Problème CSS entre Sigil et iPad Grivels Software 10 07-03-2011 09:06 AM


All times are GMT -4. The time now is 11:04 PM.


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