Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 03-29-2019, 09:57 AM   #1
danielbullen
Junior Member
danielbullen began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2019
Device: none
E-Book failing e-pub check

I am trying to get an e-book published through Smashwords and it keep failing. I am getting closer to publishing an e-book on there. I have made it an epub file and used EPUB Validator. Here are the results I got below:

Results
Detected version: EPUB 2.0.1

Results: The following problems were found in The Liberation of Britain Part - Daniel Bullen.epub:

Type File Line Position Message
ERROR The Liberation of Britain Part 2-nuked_split_001.htm 14 53 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
ERROR The Liberation of Britain Part 2-nuked_split_002.htm 12 110 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
ERROR The Liberation of Britain Part 2-nuked_split_003.htm 12 91 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
ERROR The Liberation of Britain Part 2-nuked_split_004.htm 12 97 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
ERROR The Liberation of Britain Part 2-nuked_split_005.htm 12 91 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
ERROR The Liberation of Britain Part 2-nuked_split_006.htm 12 91 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
ERROR The Liberation of Britain Part 2-nuked_split_007.htm 12 97 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
ERROR The Liberation of Britain Part 2-nuked_split_008.htm 12 97 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
ERROR The Liberation of Britain Part 2-nuked_split_009.htm 12 97 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
ERROR The Liberation of Britain Part 2-nuked_split_010.htm 12 91 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
ERROR The Liberation of Britain Part 2-nuked_split_011.htm 12 98 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
ERROR The Liberation of Britain Part 2-nuked_split_013.htm 12 92 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
ERROR The Liberation of Britain Part 2-nuked_split_014.htm 12 92 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
ERROR The Liberation of Britain Part 2-nuked_split_015.htm 12 92 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
WARNING The Liberation of Britain Part 2-nuked_split_000.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_001.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_002.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_003.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_004.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_005.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_006.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_007.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_008.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_009.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_010.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_011.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_012.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_013.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_014.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_015.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.

I don't know what else to do.

Regards,

Daniel
danielbullen is offline   Reply With Quote
Old 03-29-2019, 04:25 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 44,805
Karma: 168802811
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by danielbullen View Post
I am trying to get an e-book published through Smashwords and it keep failing. I am getting closer to publishing an e-book on there. I have made it an epub file and used EPUB Validator. Here are the results I got below:

Results
Detected version: EPUB 2.0.1

Results: The following problems were found in The Liberation of Britain Part - Daniel Bullen.epub:
Spoiler:

Type File Line Position Message
ERROR The Liberation of Britain Part 2-nuked_split_001.htm 14 53 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
ERROR The Liberation of Britain Part 2-nuked_split_002.htm 12 110 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
ERROR The Liberation of Britain Part 2-nuked_split_003.htm 12 91 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
ERROR The Liberation of Britain Part 2-nuked_split_004.htm 12 97 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
ERROR The Liberation of Britain Part 2-nuked_split_005.htm 12 91 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
ERROR The Liberation of Britain Part 2-nuked_split_006.htm 12 91 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
ERROR The Liberation of Britain Part 2-nuked_split_007.htm 12 97 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
ERROR The Liberation of Britain Part 2-nuked_split_008.htm 12 97 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
ERROR The Liberation of Britain Part 2-nuked_split_009.htm 12 97 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
ERROR The Liberation of Britain Part 2-nuked_split_010.htm 12 91 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
ERROR The Liberation of Britain Part 2-nuked_split_011.htm 12 98 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
ERROR The Liberation of Britain Part 2-nuked_split_013.htm 12 92 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
ERROR The Liberation of Britain Part 2-nuked_split_014.htm 12 92 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
ERROR The Liberation of Britain Part 2-nuked_split_015.htm 12 92 Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"
WARNING The Liberation of Britain Part 2-nuked_split_000.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_001.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_002.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_003.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_004.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_005.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_006.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_007.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_008.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_009.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_010.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_011.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_012.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_013.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_014.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.
WARNING The Liberation of Britain Part 2-nuked_split_015.htm - - Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename.


I don't know what else to do.

Regards,

Daniel
If your filenames must have spaces in them, wrap them in quotes so if your filename is This is a filename, you need to use "This is a filename". Otherwise remove the spaces (i.e. ThisisaFilename). As for the clear attributes, delete them. Search for clear= and remove the clear= and whatever is in quotes after the = sign, (e.g. clear="all", clear="both", etc.). See an example below:

Code:
<br clear="all" class="calibre6" id="calibre_pb_7"/>

<br class="calibre6" id="calibre_pb_7"/>
And two items to remember: Google is your best buddy and wrap long bits of logs, etc. in spoiler tags (select the text and click on icon of an eye with a X between the YouTube and Maps icons.

Last edited by DNSB; 03-29-2019 at 04:28 PM.
DNSB is offline   Reply With Quote
Advert
Old 04-02-2019, 09:27 AM   #3
danielbullen
Junior Member
danielbullen began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2019
Device: none
Quote:
Originally Posted by DNSB View Post
If your filenames must have spaces in them, wrap them in quotes so if your filename is This is a filename, you need to use "This is a filename". Otherwise remove the spaces (i.e. ThisisaFilename). As for the clear attributes, delete them. Search for clear= and remove the clear= and whatever is in quotes after the = sign, (e.g. clear="all", clear="both", etc.). See an example below:

Code:
<br clear="all" class="calibre6" id="calibre_pb_7"/>

<br class="calibre6" id="calibre_pb_7"/>
And two items to remember: Google is your best buddy and wrap long bits of logs, etc. in spoiler tags (select the text and click on icon of an eye with a X between the YouTube and Maps icons.
Thanks for that. I've changed the name of the file to make it all one word like you suggested. However, I don't know how to use the code given. The code is here:

<br clear="all" class="calibre6" id="calibre_pb_7"/>

<br class="calibre6" id="calibre_pb_7"/>

I'm not sure what to do with these pieces of code or where to use them.

Regards,

Daniel
danielbullen is offline   Reply With Quote
Old 04-02-2019, 03:34 PM   #4
lumpynose
Wizard
lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.
 
Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
Quote:
Originally Posted by danielbullen View Post
<br clear="all" class="calibre6" id="calibre_pb_7"/>

<br class="calibre6" id="calibre_pb_7"/>

I'm not sure what to do with these pieces of code or where to use them.
The first br is an example with an incorrect clear attribute, the second line is how it looks after it's been fixed.
lumpynose is offline   Reply With Quote
Old 04-03-2019, 12:07 AM   #5
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 44,805
Karma: 168802811
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by danielbullen View Post
Thanks for that. I've changed the name of the file to make it all one word like you suggested. However, I don't know how to use the code given. The code is here:

<br clear="all" class="calibre6" id="calibre_pb_7"/>

<br class="calibre6" id="calibre_pb_7"/>

I'm not sure what to do with these pieces of code or where to use them.

Regards,

Daniel
These were two examples for a search and replace with the first line being the before and the second the after. You could search for 'clear="all" ' and replace it with nothing. Use a search for clear= to see what variants are in use. I've attached an image of the search/replace as seen with Sigil.
Attached Thumbnails
Click image for larger version

Name:	sigil_search_replace_example.jpg
Views:	156
Size:	34.7 KB
ID:	170562  

Last edited by DNSB; 04-03-2019 at 12:09 AM.
DNSB is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Edit book/Check book/Parsing failed: Inconsistencies in counting chaot Editor 4 06-02-2016 11:20 AM
Book repeatedly failing to download on iOS Cameronpaterson Kobo Reader 8 05-14-2012 03:21 PM
Reading Mantano E-Pub Book travelingsandy Kindle Fire 5 02-16-2012 12:49 AM
4 book series PDB conversion, 1 book failing fuzzycloud Calibre 2 10-13-2009 03:03 AM


All times are GMT -4. The time now is 04:12 AM.


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