Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 04-08-2011, 05:38 AM   #16
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Flightcrew checks more than threepress and the error descriptions are usually much more usable and understandable.

It looks that the epub generator from smashword does not follow specs though.
Toxaris is offline   Reply With Quote
Old 04-09-2011, 06:06 PM   #17
cantovento
Junior Member
cantovento began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Aug 2010
Location: Namibia
Device: iPad
My problem is similar to yarndog's. I get 52 times the same error message from epubcheck:

ERROR: van-oerknal-tot-oorbevolking.epub/tmp_6b25f4347228bfd9dd9d03c78e4d7602_Vez7s1.chapha ck.fixed.fc.tidied.stylehacked.xfixed_split_001.ht ml(1879): attribute "width" not allowed here; expected attribute "abbr", "align", "axis", "char", "charoff", "class", "colspan", "dir", "headers", "id", "rowspan", "scope", "style", "title", "valign" or "xml:lang"

My question: It should be easy to fix since it's 52x the same thing, but where do I find the 52 errors in the epub file?
cantovento is offline   Reply With Quote
Advert
Old 04-10-2011, 06:42 AM   #18
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
It looks like an error in images. Run the file through FlightCrew, it is much better than epubcheck, and then check the errors. It should be more clear what the problem is.

If the problem is really the same problem over and over, a well-phrased search and replace should fix it.
Toxaris is offline   Reply With Quote
Old 04-10-2011, 02:50 PM   #19
cantovento
Junior Member
cantovento began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Aug 2010
Location: Namibia
Device: iPad
Sorry, I forgot to say that I wrote my book in WORD1997-2003. In accordance with smashwords instructions , I removed all formatting, then manually re-formatted the headings in 4 levels, then bookmarked about 200 headings and linked them to a TOC. After sending it through Meatgrinder, all formats were shipped except Amazon and Apple. When a website says "will be shipped, I believe it. Shipping to Apple is said to be on Thursdays, so I waited 4 Thursdays. Only after querying Smashwords did I learn that you have to validate the converted epub file through epubchecker.

The doc contains 27 images. I have reformatted them all and republished. When I'm through the Smashwords rigmarole I'll run the epub file through FlightCrew and report the result here.

Dank je wel!
cantovento is offline   Reply With Quote
Old 04-11-2011, 09:09 AM   #20
cantovento
Junior Member
cantovento began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Aug 2010
Location: Namibia
Device: iPad
After re-aligning all images & making a few other improvements, I uploaded my doc to Smashwords and passed the resulting epub thru Epubchecker & FlightCrew. The Epubchecker error msgs are still exactly the same, FlightCrew's are just as unintelligible to me, e.g:

This resource is reachable but not present in the OPF <manifest>

This resource is reachable but not present in the OPF <spine>

This resource is present in the OPF <manifest> but is not reachable (it's unused)

then it gets worse...
The msgs in FlightCrew will not copy & it's too much garble to transcribe manually.
Some have N/A under line, others have numbers.
How can I find which line is which?
Isn't there no software that will give understandable error msgs for plain people like me?
cantovento is offline   Reply With Quote
Advert
Old 04-11-2011, 12:08 PM   #21
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
It is saying you have an extra file or perhaps more than one in your ePUB document that should not be there. Change the extension of you ebook to .zip and then open it and take a look at the structure and see it there is an unusually named file. Sometimes Calibre can stick a bookmark file in the archive which will cause this error. Once you fix it then you can change the extension back to .epub. Note if you have 7zip then you can just open the archive without having to rename the extension.

Dale
DaleDe is offline   Reply With Quote
Old 04-15-2011, 12:13 PM   #22
yarndog
Member
yarndog began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Mar 2011
Device: Kindle
I did hear from Mark Coker from Smashwords. It appears meatgrinder did not pick up some table tabs in my doc document. I fixed that problem. In addition when I quoted a person I used the Quotations style in LibreOffice. When this got converted to epub the Quotations style got converted to <blockquote> tags and meatgrinder didn't like them. My solution was to just change my quotes that used Quotation style to Content 5 style, and just tell that style to italicize. Once I did this, in addition to fixing the table problem, my book made it through meatgrinder and epub checker, and has been shipped to Apple. Yippee! Mr. Coker mentioned they are changing the way a user is notified of epub errors. They do understand the current system is too mysterious in terms of a user knowing if they have epub errors by having to check whether their book shipped/not shipped.
yarndog is offline   Reply With Quote
Old 04-15-2011, 12:16 PM   #23
yarndog
Member
yarndog began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Mar 2011
Device: Kindle
I did hear from Mark Coker from Smashwords. It appears meatgrinder did not pick up some table tabs in my doc document. I fixed that problem. In addition when I quoted a person I used the Quotations style in LibreOffice. When this got converted to epub the Quotations style got converted to <blockquote> tags and meatgrinder didn't like them. My solution was to just change my quotes that used Quotation style to Content 5 style, and just tell that style to italicize. Once I did this, in addition to fixing the table problem, my book made it through meatgrinder and epub checker, and has been shipped to Apple. Yippee! Mr. Coker mentioned they are changing the way a user is notified of epub errors. They do understand the current system is too mysterious in terms of a user knowing if they have epub errors by having to check whether their book shipped/not shipped. Just by fixing the blockquote problem got rid of most of the errors alone. Threepress cranks out so many errors for every occurrence of a problem.
yarndog is offline   Reply With Quote
Old 04-15-2011, 12:17 PM   #24
yarndog
Member
yarndog began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Mar 2011
Device: Kindle
I got an error for each occurrence of <blockquote>. I just used find and replace to replace each one of those <blockquotes> and the large morass of errors went away.
yarndog is offline   Reply With Quote
Old 04-15-2011, 04:08 PM   #25
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
<blockquote> is an allowed tag for epubs... It just should be inside <p> tags.
Toxaris is offline   Reply With Quote
Old 09-19-2011, 11:11 PM   #26
DrDln
Banned
DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.
 
Posts: 1,527
Karma: 2349214
Join Date: Apr 2011
Location: Mountain House, CA
Device: kindle
Quote:
Originally Posted by cantovento View Post
My problem is similar to yarndog's. I get 52 times the same error message from epubcheck:
ERROR: van-oerknal-tot-oorbevolking.epub/tmp_6b25f4347228bfd9dd9d03c78e4d7602_Vez7s1.chapha ck.fixed.fc.tidied.stylehacked.xfixed_split_001.ht ml(1879): attribute "width" not allowed here; expected attribute "abbr", "align", "axis", "char", "charoff", "class", "colspan", "dir", "headers", "id", "rowspan", "scope", "style", "title", "valign" or "xml:lang"
My question: It should be easy to fix since it's 52x the same thing, but where do I find the 52 errors in the epub file?
I seem to have similar problem. Please share if you find the solution. I will do the same. Here is my dilemma.

Nine of my 12 guides pass the epub test. One of them I fixed yesterday only. Below are the error messages that I get with other 3 guides. Any idea what do these mean!

I will continue to work on these. Most of these errors perhaps are link and image related. The major work is to locate them.

I will appreciate any clue on how to find these errors or to know what these mean.

1. <<ERROR: the-power-of-breathing.epub: The file tmp_56e5d5dbe37ad7496a77581a2e5789e3_VW6W9h_html_m 5b32798a.png does not appear to be of type image/png>>

2. <<ERROR: art-of-stress-free-living-eastern-and-western-approach.epub/tmp_90dd12c32a5b750b5645fd483b9830eb_aTzujH.ch.fix ed.fc.tidied.stylehacked.xfixed_split_011.html(38) : attribute "width" not allowed here; expected attribute "abbr", "align", "axis", "char", "charoff", "class", "colspan", "dir", "headers", "id", "rowspan", "scope", "style", "title", "valign" or "xml:lang" >>

3. << ERROR: HHL-epub.epub/tmp_6c6543aa0c591fd11631fa8ca3bcaedb_G67JJi.ch.fix ed.fc.tidied.stylehacked.xfixed_split_014.html(207 ): attribute "height" not allowed here; expected attribute "abbr", "align", "axis", "char", "charoff", "class", "colspan", "dir", "headers", "id", "rowspan", "scope", "style", "title", "valign" or "xml:lang"

Thanks in advance for your help.
DrDln is offline   Reply With Quote
Old 09-20-2011, 01:00 AM   #27
LaoTseu
Member
LaoTseu began at the beginning.
 
Posts: 20
Karma: 12
Join Date: Sep 2011
Device: Kindke
Quote:
Originally Posted by Toxaris View Post
<blockquote> is an allowed tag for epubs... It just should be inside <p> tags.
This is a very surprising statement to me. So far as I know, <blockquote> can be use as first child of <body> and do not need to be enclosed by <p>.

The following code validate with http://validator.w3.org/
Code:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>title</title>
</head>

<body>
<blockquote>
  <p>test</p>
</blockquote>
</body>
</html>
Maybe you meant that when using strict HTML/XHTML, <blockquote> can only contain block-level elements like <p> so

Code:
<blockquote>
text 1
text 2
text 3
</blockquote>
is invalid for strict XHTML whereas

Code:
<blockquote>
<p>
text 1
text 2
text 3
</p>
</blockquote>
is valid.
LaoTseu is offline   Reply With Quote
Old 09-20-2011, 02:41 AM   #28
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
I have to check, but it looks that you are right. I wrote it down in the wrong order apparently...
Toxaris is offline   Reply With Quote
Old 09-28-2011, 12:58 AM   #29
DrDln
Banned
DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.
 
Posts: 1,527
Karma: 2349214
Join Date: Apr 2011
Location: Mountain House, CA
Device: kindle
Finally, all of my 12 guides pass ePub validation. But two of 12 are still pending approval for some reason.
DrDln is offline   Reply With Quote
Old 10-23-2011, 12:49 PM   #30
DrDln
Banned
DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.DrDln ought to be getting tired of karma fortunes by now.
 
Posts: 1,527
Karma: 2349214
Join Date: Apr 2011
Location: Mountain House, CA
Device: kindle
I have all 12 books passing the ePub test. But I got a new problem with one of the books. I have done the suggestion in message below. But still have a problem. Any help will be highly appreciated. Here's the message that I get:

" #2 Your book contains some possibly corrupt formatting. If you take a look at the EPUB, you'll notice there are slight font size differentiations. This is caused by your mix of inconsistent on-screen formatting. One option is to do a CTRL-A and change everything to Normal style, then modify the style to enforce the characteristics you want. ||| When you're finished correcting your book, go to Dashboard: 'upload new version' to upload the new version. Thanks. "

Thanks in advance for your help.
DrDln is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Smashwords Question bhartman36 Writers' Corner 38 05-05-2011 11:56 PM
Format Popularity Statistics from Smashwords anurag News 16 04-05-2011 02:35 PM
Format Question html to ePub Fabe Calibre 3 04-21-2010 05:08 PM
question about move to epub format kelly1010 Sony Reader 1 12-22-2009 01:52 AM
Question about lrx vs epub format jfinli Sony Reader 2 05-27-2009 08:15 AM


All times are GMT -4. The time now is 09:06 AM.


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