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 06-12-2012, 12:30 PM   #1
VictoriaSkyline
Junior Member
VictoriaSkyline began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2012
Device: none
Exclamation Epub Validation Error Help Please

Hello

Used Microsoft .doc - created Epub on Barnes and Noble "Pubit"

A few chapters have large white gaps (like page break where it's not) between a few paragraphs. I've removed all formatting. Redone the book. Nothing removes spaces.

This book will not pass Validation.

Used Calibre> remove spacing > now It Validates fine but still shows the gaps.

Tried saving Word .doc as Web page filtered to make complete Epub in Calibre. Formatting looks perfect but Got more Validation errors than ever.

Nothing seems to be working. Is there a way to remove those gaps with my original epub?

This same file converted on Amazon Kindle works fine. The epub is the problem.

Any help appreciated.
Thank you
Victoria
VictoriaSkyline is offline   Reply With Quote
Advert
Old 06-12-2012, 01:19 PM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 16,213
Karma: 83865638
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Note (in the ePub) the class names of the html elements preceding and following the gaps:
<p class="blah-blah">

Open the css stylesheet and locate the class names from above.

In the properties for those classes, look for "margin", or "margin-top", or "margin-bottom" attributes that are not zero (0).

Make them zero, or reduce them or remove those attributes until the spacing looks how you want it to.
DiapDealer is offline   Reply With Quote
Old 06-12-2012, 02:08 PM   #3
VictoriaSkyline
Junior Member
VictoriaSkyline began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2012
Device: none
Thank you. I'll try it and let you know if I can do it.

Would I edit this in Calibre? I just opened the epub with Calibre viewer, and it looks perfect, just like the Kindle book did.

It has gaps on Adobe Digital Reader and on my tablet Cool Reader (here the gaps are less noticeable than AD Editions)

Could this be a reader glitch? To be sure, can you please tell me what program to use to search for the CSS tag you mentioned?
Thank you so much !!

Last edited by VictoriaSkyline; 06-12-2012 at 02:13 PM.
VictoriaSkyline is offline   Reply With Quote
Old 06-12-2012, 02:18 PM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 48,152
Karma: 36908365
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Give Sigil a go.
JSWolf is offline   Reply With Quote
Old 06-12-2012, 02:57 PM   #5
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 9,846
Karma: 56938177
Join Date: Nov 2007
Location: Toronto
Device: Wife: Touch, Arc, Vox Me: Nexus 7, Glo
You could also look at this plugin for calibre: [Input Plugin] DOCX Input
PeterT is offline   Reply With Quote
Advert
Old 06-12-2012, 03:13 PM   #6
VictoriaSkyline
Junior Member
VictoriaSkyline began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2012
Device: none
Thank you !
VictoriaSkyline is offline   Reply With Quote
Old 06-12-2012, 03:36 PM   #7
VictoriaSkyline
Junior Member
VictoriaSkyline began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2012
Device: none
Hi

I downloaded Sigil and it seems straightforward. My problem: It won't import my entire epub into Sigil because I think it's picking up the gap as a break or separate file. I can't get to the rest of the book. This is the html. I found <spam> and <div> which should not be there, correct? I can't save the file because Sigil is giving me an error when I try to save, after I deleeted that html:

This is the location of first Gap and where Sigil stopped importing:

<p class="pubitCssCls25"><span class="pubitCssCls24">Mona stood at the end of the aisle</span><span class="pubitCssCls24">.</span> <span class="pubitCssCls24">Sienna shoved the money into her hand</span><span class="pubitCssCls24">.</span> <span class="pubitCssCls24">"</span><span class="pubitCssCls24">T</span><span class="pubitCssCls24">here’s no one at the register.</span></p>
</div>
</body>
</html>

This is the error message when I tried to save:

Error info: Cannot save file C:/Users/January/Desktop/LoveDreamsPublit.epub: ..\..\..\main_code\src\Sigil\Exporters\ExportEPUB. cpp(162): Throw in function void __thiscall ExportEPUB::SaveFolderAsEpubToLocation(const class QString &,const class QString &)
Dynamic exception type: class boost::exception_detail::clone_impl<struct CZipExceptionWrapper>
std::exception::what: Unknown exception
[struct zip_info *] = Permission denied.

Sigil version: 0.3.2
Runtime Qt: 4.7.0
Compiled Qt: 4.7.0
Platform: Windows SysInfo ID 144

Last edited by VictoriaSkyline; 06-12-2012 at 03:42 PM. Reason: additional information
VictoriaSkyline is offline   Reply With Quote
Old 06-12-2012, 04:52 PM   #8
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 3,784
Karma: 9825094
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by VictoriaSkyline View Post
I downloaded Sigil and it seems straightforward.
Sigil 0.3.2 is totally outdated. You may want to download version 0.5.3.

Quote:
Originally Posted by VictoriaSkyline View Post
My problem: It won't import my entire epub into Sigil because I think it's picking up the gap as a break or separate file.
Define "gap."

Quote:
Originally Posted by VictoriaSkyline View Post
This is the location of first Gap and where Sigil stopped importing:
...
</div>
</body>
</html>
Since </html> is used to mark the end of an .html file, that's to be expected.

You could try the following:
1. Rename the .epub file to .zip.
2. Extract the .html files and add them separately to a new Sigil ebook.
Doitsu is offline   Reply With Quote
Old 06-12-2012, 05:44 PM   #9
VictoriaSkyline
Junior Member
VictoriaSkyline began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2012
Device: none
What I mean by gap is there is a break between some paragraphs where it looks like a page break or end of chapter.
VictoriaSkyline is offline   Reply With Quote
Old 06-12-2012, 05:46 PM   #10
VictoriaSkyline
Junior Member
VictoriaSkyline began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2012
Device: none
Where is the best site to download Sigil from? When I used Softonic I ended up with a toolbar addon and tons of browser ads. I managed to remove it.

Is there a safe download?
VictoriaSkyline is offline   Reply With Quote
Old 06-12-2012, 05:55 PM   #11
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 16,213
Karma: 83865638
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Is there a safe download?
Yes. Download it from Sigil's official home. http://code.google.com/p/sigil/downloads/list
DiapDealer is offline   Reply With Quote
Old 06-12-2012, 07:07 PM   #12
VictoriaSkyline
Junior Member
VictoriaSkyline began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2012
Device: none
Hi again

If I can view the source code as html on my website, and do not see anything out of order, what could be causing this?

When I view the book on Calibre there are no gaps. The file I used to create a Kindle ebook is perfect, book works fine. Could it be Pubit conversion? Has anyone heard of this?
VictoriaSkyline is offline   Reply With Quote
Old 06-12-2012, 09:21 PM   #13
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 48,152
Karma: 36908365
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Before you update to a new version of Sigil, uninstall the old one. There were some issues upgrading on top of during the beta testing.
JSWolf is offline   Reply With Quote
Old 06-13-2012, 03:51 AM   #14
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 3,784
Karma: 9825094
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by VictoriaSkyline View Post
If I can view the source code as html on my website, and do not see anything out of order, what could be causing this?
Different ePub viewers sometimes display ePubs slightly differently. You said that it displays fine in Calibre. What ePub viewer/reader is displaying the "gap?"

Calibre is an excellent tool, but you may want to use ADE for testing purposes since most ebook reader manufacturers licensed ADE technology from Adobe. I.e. if it looks OK in the ADE desktop version, it usually looks OK on the actual devices.

My guess would be that Pubit split the original .html file into sever smaller smaller files to avoid file size limitation issues and if your original single .html source file contained a top margin definition, it might have been carried over to the split files causing the "gap" issues.

You can easily test this, by renaming your .epub file to a .zip file and unzipping the .html files. If the "gaps" occur at the end of an .html file, file splitting and/or style issues are causing the problem.

Quote:
Originally Posted by VictoriaSkyline View Post
The file I used to create a Kindle ebook is perfect, book works fine.
Not necessarily, because Kindlegen and Calibre simply skip HTML code that Kindles cannot handle. Also Kindle source files don't have to be split.
Doitsu is offline   Reply With Quote
Old 06-13-2012, 10:28 AM   #15
VictoriaSkyline
Junior Member
VictoriaSkyline began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2012
Device: none
Hi
Thank you for the info. The gap is visible using ADE and Nook reader for PC. Here's the catch (frustrating). I can get this copy to Validate. But - when I create a perfect viewing copy using Mobi & Calibre, I get a long list of errors. It's a catch 22. Do I distribute a flawed copy with gaps that will validate or a perfect one that retailers won't carry because it won't validate.
I found this: http://www.istonsoft.com
First I'm going to try your suggestion of renaming to zip and see if I can spot anything. If not, I'll try the ebook creator on that site.
I'll keep you posted.
Thank you !!
VictoriaSkyline is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
epub validation error adetutuijose ePub 12 01-14-2012 10:05 PM
Epub Validation Error DTurner ePub 6 09-12-2011 05:13 PM
Epub validation Error fiona86 ePub 3 06-25-2011 12:57 AM
ePub validation error sk19.gupta Introduce Yourself 6 10-19-2010 10:53 PM
ePub Validation Error mrbillb ePub 6 09-28-2010 02:14 PM


All times are GMT -4. The time now is 07:00 AM.


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