![]() |
#1 | |
eBook FANatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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> Quote:
Charlie |
|
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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> |
![]() |
![]() |
![]() |
#4 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
Last edited by KevinH; 05-19-2016 at 01:01 PM. |
![]() |
![]() |
![]() |
#5 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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"/> 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 |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
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 |