Bookshelf | Reports | Community | KDP Select

Home » Amazon KDP Support » Ask the Community » Formatting

Thread: Warnings!!!!!! What to do?


This question is answered. Helpful answers available: 0. Correct answers available: 1.

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 15 - Pages: 2 [ 1 2 | Next ] - Last Post: Nov 10, 2012 9:56 AM Last Post By: Pamela Leigh Po...
Pamela Leigh Po...

Posts: 87
Registered: 10/15/12
Warnings!!!!!! What to do?
Posted: Nov 1, 2012 11:32 AM
 
Click to report abuse...   Click to reply to this thread Reply
Ok, thanks everyone. I thought ALL the details were Warnings I had to correct! So I have 3 on this one document:

Warning(inputpreprocessor):W29004: Forcefully closed opened Tag:

in file: /Users/PamelaPowers/Desktop/PageSpinner pages/chapter8N.html line: 0000034

Warning(inputpreprocessor):W29004: Forcefully closed opened Tag:

in file: /Users/PamelaPowers/Desktop/PageSpinner pages/chapter8N.html line: 0000076

Warning(prcgen):W14016: Cover not specified

So are lines 34 and 76 the same that are on my original? What does forcefully closed open Tag mean?
and does the cover have to be in a specific place for it to pick up on it?

Thanks!

(I see what you mean by them being pretty explanatory...I was looking at the whole long list of what had been done and getting the vapors! :) )

peterspenser

Posts: 416
Registered: 02/16/12
Re: Warnings!!!!!! What to do?
Posted: Nov 1, 2012 11:41 AM   in response to: Pamela Leigh Po... in response to: Pamela Leigh Po...
Helpful
Click to report abuse...   Click to reply to this thread Reply
It used to bother me a lot, too. The word “Warnings” is an unfortunate choice of words on Amazon’s part. It’s more true that they are merely “Alerts.” Somewhere in all of their documentation they explain that a warning is generated when a non-fatal incident occurs that KindleGen takes care of in a way that will still make your MOBI file usable.

You may not like what has been done when you see how your file displays, but it will (supposedly) work in some fashion.

It’s “Errors” that you have to be wary of. They will stop the conversion in its tracks and you will have to correct something yourself and try again.

Peter Spenser
http://www.peterspenser.com
Anyone Can Make a Kindle Book
http://www.amazon.com/dp/B007F14XM8/
man2010

Posts: 1,897
Registered: 01/01/10
Re: Warnings!!!!!! What to do?
Posted: Nov 1, 2012 11:42 AM   in response to: Pamela Leigh Po... in response to: Pamela Leigh Po...
Helpful
Click to report abuse...   Click to reply to this thread Reply
You will see line numbers if you open your HTML file in Notepad++.

"Forcefully closed tag" means that you either forgot to add a closing tag to an opening tag, or you placed some tags where they don't belong and the parser cannot find your existing closing tag.

"Cover not specified" means that you are trying to build your Kindle book using an HTML file as input for KindleGen or Kindle Previewer. If you want to have a native Table of Contents and Cover in your Kindle book, you must use the OPF file as input, not the HTML file. If you are not familiar with the structure of the OPF file, my advice is to add the named anchor "toc" before your table of contents and upload your HTML file to KDP. This way you will have the cover inserted automatically (and a native TOC) without the OPF file.
Pamela Leigh Po...

Posts: 87
Registered: 10/15/12
Re: Warnings!!!!!! What to do?
Posted: Nov 1, 2012 12:59 PM   in response to: man2010 in response to: man2010
 
Click to report abuse...   Click to reply to this thread Reply
I didn't get Notepad....doesn't work with Mac? Some reason...I love my little PageSpinner, altho it isn't liking Mt Lion too well...throws things in that it didn't before. I know it used to be able to put in line numbers, ....it's there somewhere. at least when I click on a line it shows the number.

THANKS! :)
Pamela Leigh Po...

Posts: 87
Registered: 10/15/12
Re: Warnings!!!!!! What to do?
Posted: Nov 1, 2012 1:01 PM   in response to: peterspenser in response to: peterspenser
 
Click to report abuse...   Click to reply to this thread Reply
THANKS! It's always so helpful when there are people to distill this gobbley gook into useful info! :)
mrlasers

Posts: 1,633
Registered: 07/06/11
Re: Warnings!!!!!! What to do?
Posted: Nov 1, 2012 2:20 PM   in response to: Pamela Leigh Po... in response to: Pamela Leigh Po...
 
Click to report abuse...   Click to reply to this thread Reply
@peterspenser:
It used to bother me a lot, too. The word “Warnings” is an unfortunate choice of words on Amazon’s part. It’s more true that they are merely “Alerts.” Somewhere in all of their documentation they explain that a warning is generated when a non-fatal incident occurs that KindleGen takes care of in a way that will still make your MOBI file usable.

"Warning" is common term in software development for non-fatal errors. It's appropriate and non-ambiguous in this context. Changing the terminology to a vaguely synonymous word like "alert" would not improve clarity one bit. Learning the definition of the word "warning" might, however.

While some "warnings" can be safely ignored (missing cover or page-map, for instance), others really should be addressed. In some circumstances warnings, particularly forcefully closed tags, may result in unintended formatting or prevention of intended formatting, as in the following example.

<p>The <em>quick brown fox <strong>jumped</em> over</strong> the log.</p>

This would obviously be corrected as follows.

<p>The <em>quick brown fox </em><strong><em>jumped</em> over</strong> the log.</p>

@Pamela:
and does the cover have to be in a specific place for it to pick up on it?

The cover needs to be specified in the OPF for your publication. This isn't strictly necessary since Amazon will insert the cover image when you publish through KDP. If you did want to include it yourself, for greater accuracy in previewing for instance, it's relatively easy to setup if you have any experience with HTML. You can find a template for OPF (and NCX) here: http://mrlasers.com/files/mrlasers-opfncx-template.zip

--
MrLasers
eBook Formatting & Production
http://www.mrlasers.com
Pamela Leigh Po...

Posts: 87
Registered: 10/15/12
Re: Warnings!!!!!! What to do?
Posted: Nov 3, 2012 9:13 AM   in response to: mrlasers in response to: mrlasers
 
Click to report abuse...   Click to reply to this thread Reply
Thanks! this is what I have most, saying a forced close

Notes


would it be happier with </center>??
Pamela Leigh Po...

Posts: 87
Registered: 10/15/12
Re: Warnings!!!!!! What to do?
Posted: Nov 3, 2012 9:16 AM   in response to: Pamela Leigh Po... in response to: Pamela Leigh Po...
 
Click to report abuse...   Click to reply to this thread Reply

Notes


ok - it's just giving the output here. I have

on either end, then
and
next in on either end, and then

with the word Notes and then

encapsulating Notes. so all I can see is it doesn't like
???
Pamela Leigh Po...

Posts: 87
Registered: 10/15/12
Re: Warnings!!!!!! What to do?
Posted: Nov 3, 2012 9:17 AM   in response to: Pamela Leigh Po... in response to: Pamela Leigh Po...
 
Click to report abuse...   Click to reply to this thread Reply
ok this isn't showing up at all. I have the paragraph tags on either end. then I have the center tags inside that, then I have the H1 tags on either side of Notes.... so the only thing that would have any issue would be the /div rather than /center???
divorcedoctor

Posts: 5,546
Registered: 07/11/10
Re: Warnings!!!!!! What to do?
Posted: Nov 3, 2012 4:26 PM   in response to: Pamela Leigh Po... in response to: Pamela Leigh Po...
 
Click to report abuse...   Click to reply to this thread Reply
alas center and similar tags work HERE but no longer work for Kindle.

EVERYTHING now needs to be built into your Word STYLES and you can't go wrong.

all explained in KISS format below.

your call - I use this APPROVED method to format for heaps of authors and never got a single Warning

E-Book Format for Indie Authors - 2013 Ready US
E-Book Format for Indie Authors - 2013 Ready UK
mrlasers

Posts: 1,633
Registered: 07/06/11
Re: Warnings!!!!!! What to do?
Posted: Nov 3, 2012 5:01 PM   in response to: Pamela Leigh Po... in response to: Pamela Leigh Po...
 
Click to report abuse...   Click to reply to this thread Reply
ok this isn't showing up at all. I have the paragraph tags on either end. then I have the center tags inside that, then I have the H1 tags on either side of Notes.... so the only thing that would have any issue would be the /div rather than /center???

Let me see if I understand you correctly, you're doing something like this?

<p><center><h1>Notes</h1></center></p>

Couple of things wrong here:

1. Center tag has long since been deprecated in HTML. While you can still use it (depending on doctype), it should always be preferred to use the CSS property text-align:center instead.

2. Enclosing a heading tag (<hN>) inside a paragraph is invalid markup and certainly causing at least some of your forced close warnings.

Here is what you would want to do instead to implement this markup properly.

CSS:
h1 { text-align:center; }

HTML:
<h1>Notes</h1>

If you only need this formatting for some h1 tags, try this instead.

CSS:
h1.chap { text-align:center; }

HTML:
<h1 class='chap'>Notes</h1>

In the event that you continue to get forced close warnings after repairing instances of this faulty markup, I'd highly recommend running your HTML file through a validator. It will generally provide more detailed explanations of structural issues than KindleGen. You can validate your HTML in a web browser, by either uploading the file or copy & pasting its contents, here: http://validator.w3.org.

For future reference, when posting HTML to the forum you can prevent it from being interpreted literally by replacing the < character with &lt; A text editor's find & replace function can be helpful here if you're going to be posting markup with a large number of tags.

--
MrLasers
eBook Formatting & Production
http://www.mrlasers.com
Pamela Leigh Po...

Posts: 87
Registered: 10/15/12
Re: Warnings!!!!!! What to do?
Posted: Nov 4, 2012 10:33 AM   in response to: mrlasers in response to: mrlasers
 
Click to report abuse...   Click to reply to this thread Reply
The PageSpinner program centers by doing a
and then on the other end it just does /div in the brackets. shouldn't that be what it wants? That's all I can see that's different. Everything seems to be in the right place.
THANKS!

Almost done! Gotta go thru each chapter for these warnings and figure out the opf and then attempt to go thru the uploading process.

THANKS!!
Pamela Leigh Po...

Posts: 87
Registered: 10/15/12
Re: Warnings!!!!!! What to do?
Posted: Nov 4, 2012 10:34 AM   in response to: Pamela Leigh Po... in response to: Pamela Leigh Po...
 
Click to report abuse...   Click to reply to this thread Reply
ok, try again. it does div align="center" in brackets
Prabha Mistry

Posts: 4
Registered: 11/05/12
Re: Warnings!!!!!! What to do?
Posted: Nov 5, 2012 6:33 AM   in response to: Pamela Leigh Po... in response to: Pamela Leigh Po...
 
Click to report abuse...   Click to reply to this thread Reply
All these are non issues with the Ultimate Ebook Creator
I tested it. It creates 100% correctly formatted EPUB files that you can check via the
epub validation web site here: http://validator.idpf.org

You will get zero warnings or errors.
It's pretty cool.
Pamela Leigh Po...

Posts: 87
Registered: 10/15/12
Re: Warnings!!!!!! What to do?
Posted: Nov 10, 2012 9:55 AM   in response to: Prabha Mistry in response to: Prabha Mistry
 
Click to report abuse...   Click to reply to this thread Reply
Wow! yes, this was very validating! to me and to the book! Everything came out AOK even the opf which was a sample I adjusted. So I'm almost ready to try to upload it; THANKS!
Legend
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums