View Single Post
Old 10-03-2024, 06:29 AM   #2
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,359
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by lucie View Post
ERROR(RSC-005): /GoogleDoc/ebookLetsNotSugarcoatIt.xhtml(104,59): Error while parsing file: element "hr" not allowed here; expected the element end-tag, text, element "a", "abbr", "area", "audio", "b", "bdi", "bdo", "br", "button", "canvas", "cite", "code", "data", "datalist", "del", "dfn", "em", "embed", "i", "iframe", "img", "input", "ins", "kbd", "label", "link", "map", "mark", "meta", "meter", "ns1:switch", "ns2:math", "ns3:svg", "object", "output", "picture", "progress", "q", "ruby", "s", "samp", "script", "select", "small", "span", "strong", "sub", "sup", "template", "textarea", "time", "u", "var", "video" or "wbr" (with xmlns:ns1="http://www.idpf.org/2007/ops" xmlns:ns2="http://www.w3.org/1998/Math/MathML" xmlns:ns3="http://www.w3.org/2000/svg") or an element from another namespace

It looks like you are trying to put an <hr/> tag somewhere it is not allowed...like inside of a <p> etc. I would check on/around line 104, column 59 of the ebookLetsNotSugarcoatIt.xhtml file. Here is a tutorial page on <hr/>


Quote:
Originally Posted by lucie View Post
ERROR(RSC-006): /GoogleDoc/ebookLetsNotSugarcoatIt.xhtml(5,9): Remote resource reference is not allowed in this context; resource "https://themes.googleusercontent.com/fonts/css?kit=fpjTOVmNbO4Lz34iLyptLUXza5VhXqVC6o75Eld_V9 8" must be located in the EPUB container.

You can't have an external reference to a Font...all files are supposed to be contained inside the ePub (zip file) so that you do not need internet access to read the book. I'd recommend putting a copy of the font file (make sure you follow any/all licensing requirements) inside the ePub and then reference the proper location inside your css file.


Quote:
Originally Posted by lucie View Post
WARNING(RSC-017): /GoogleDoc/nav.xhtml(2,9): Warning while parsing file: The "head" element should have a "title" child element.

It looks like your nav.xhtml file is missing the <title> from the header section. A Proper xhtml file has a document title in the header section at the top of each file...something like this:


Code:
<head>
<title>This is the name of your document/chapter/book</title>
</head>
Unfortunately, I am not a google docs expert, so I can't help you with any automated way to do any of the above. I use Sigil and/or Calibre Editor to handle all the nitnoid details like that.


Cheers!

Last edited by Turtle91; 10-03-2024 at 06:47 AM.
Turtle91 is offline   Reply With Quote