Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 06-13-2012, 10:43 AM   #16
VictoriaSkyline
Junior Member
VictoriaSkyline began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2012
Device: none
Hi

I unzipped the file. There are 6 different pages. I think that's where the gaps are occurring. Is there a way to merge them while still passing validation? Have you seen epubs saved in sections?
Thank you
VictoriaSkyline is offline   Reply With Quote
Old 06-13-2012, 12:40 PM   #17
Doitsu
Grand Sorcerer
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: 5,731
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by VictoriaSkyline View Post
Is there a way to merge them while still passing validation?
You could easily merge them with an editor or Softsnow Merger, however, this will also cause problems because then the single .html file will most likely be larger then 300KB and epubcheck will display a different warning.

Quote:
Originally Posted by VictoriaSkyline View Post
Have you seen epubs saved in sections?
That's pretty much the default, because many older readers cannot handle .html files larger than 230KB.

Your problem is most likely caused by a style embedded in the .html file or a style in a linked .css file. I'd recommend opening the second or third .html file in an editor. Have a look at the header and copy everything from the first line (<?xml version="1.0" ...?>) to the very first paragraph. Post the excerpt here. If you see <href link ...>, attach the .css file, too.
Doitsu is offline   Reply With Quote
Advert
Old 06-13-2012, 01:37 PM   #18
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: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
The real problem is that it is hard to tell what's going on without seeing the CSS and XML code in question.
JSWolf is offline   Reply With Quote
Old 06-14-2012, 11:21 AM   #19
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: 28,603
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
The end of one html file and the beginning of another will always result in "gap" in an ePub (at least with most Adobe RMSDK-based devices/apps, anyway). Unless the end of the first file happens to accidentally fill a "screen" (at that font-size) that is. That's the way it works. Think of a physical book and the end of a chapter. The next chapter doesn't immediately start on the same page. The rest of the page is blank and the new chapter starts on the next page.

It's your responsibility to make sure that the epub is broken up (physical file-wise) into logical sections (such as chapters) and not in the middle of a chapter/section.

You can merge files with the Book Browser in Sigil and then split them at logical points.
DiapDealer is online now   Reply With Quote
Reply


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 11:52 AM.


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