Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > EPUBReader

Notices

Reply
 
Thread Tools Search this Thread
Old 11-05-2010, 09:31 AM   #1
ghostyjack
Guru
ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.
 
ghostyjack's Avatar
 
Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
Blank pages when opening this epub

I've downloaded Trollslayer from the the Black Library free books and unfortunately the first two pages are blank. They appear fine in ADE but not in EPUBReader.

Link to Free books page is:
http://www.blacklibrary.com/Getting-...Downloads.html
ghostyjack is offline   Reply With Quote
Old 11-05-2010, 10:30 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,778
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by ghostyjack View Post
I've downloaded Trollslayer from the the Black Library free books and unfortunately the first two pages are blank. They appear fine in ADE but not in EPUBReader.

Link to Free books page is:
http://www.blacklibrary.com/Getting-...Downloads.html
I just looked at the book in Sigil:

The first 2 pages are rendering Correct in Sigil and EPUBReader.
The reason: No textual or Image content in the Body of "FrontCover.html" or "title.html"

I am guessing ADE is skipping pages that do not have visible content
I am guessing that someone forgot to insert the image links (both images exist in the package) and were fairly easy to fix With Sigil (Current sigil does not allow re-using a image that exists in the package. I past a dummy image into place then switch to Code View and change the filename to the one in the package+ add a text value to the alt entry.
theducks is offline   Reply With Quote
Advert
Old 11-05-2010, 11:12 AM   #3
ghostyjack
Guru
ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.
 
ghostyjack's Avatar
 
Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
That's just it, ADE isn't skipping the pages, it is in fact showing both the cover page and the second page with a title on it. EPUBReader shows them as blank pages.

If the textual or image content isn't there, how on earth am I seeing it then?
ghostyjack is offline   Reply With Quote
Old 11-05-2010, 11:20 AM   #4
ghostyjack
Guru
ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.
 
ghostyjack's Avatar
 
Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
I load it into Sigil and I agree, there is no ontent on the first two pages.

But im I unzip the file and read the HTML files directly, there in infact content to the pages; SVG data pointing at those image files.

This is all too wierd for me as two of my main epub software show blank first two pages (sigil even shows no content), but ADE correctly renders them.
ghostyjack is offline   Reply With Quote
Old 11-05-2010, 12:04 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,778
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by ghostyjack View Post
I load it into Sigil and I agree, there is no ontent on the first two pages.

But im I unzip the file and read the HTML files directly, there in infact content to the pages; SVG data pointing at those image files.

This is all too wierd for me as two of my main epub software show blank first two pages (sigil even shows no content), but ADE correctly renders them.
Bingo! SVG

Sigil and some readers probably don't do SVG. (Sigil tends to 'tidy' (code) things up, which is why I did not see them .
theducks is offline   Reply With Quote
Advert
Old 11-05-2010, 12:19 PM   #6
ghostyjack
Guru
ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.
 
ghostyjack's Avatar
 
Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
Well that would explain it then. I'll raise a defect with Valloric as Sigil shouldn't be deleting SVG code.

As for EPUBReader, I thought Firefox could handle SVG, unless of course EPUBReader blocks access to the SVG rendering function.
ghostyjack is offline   Reply With Quote
Old 11-05-2010, 12:37 PM   #7
mikelv
Developer of EPUBReader
mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.
 
Posts: 271
Karma: 1922
Join Date: Oct 2009
Device: none
Quote:
Originally Posted by ghostyjack View Post
I've downloaded Trollslayer from the the Black Library free books and unfortunately the first two pages are blank. They appear fine in ADE but not in EPUBReader.
I checked the epub. Firefox doesn't display the svgs, because of the file extension of the html page in which they are embedded. The pages are named *.html, if you rename them to *.xhtml, the svgs are displayed. In my opinion it should also work with the html extension, but I don't know what the Firefox developers reason for this behaviour is .

I checked additionally the svg code:
Code:
<svg:svg viewBox="0 0 600 800">
<svg:image xlink:href="images/9781841541006_FrontCover.jpg" 
transform="translate(0 0)" width="600" height="800" />
</svg:svg>
Why does the author not use a simple <img> tag for this? If I were him, I would do this anyway, because I guess that there are many epub reader out there, which don't support svg.
mikelv is offline   Reply With Quote
Old 11-05-2010, 12:48 PM   #8
ghostyjack
Guru
ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.
 
ghostyjack's Avatar
 
Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
Now that is odd behaviour, I'll have a go at manually adjusting the epub and I think I'll drop The Black Library a quick mail about this and see if they are aware about this book as the others work perfectly fine.

I agree about the image tag, until SVG support is improved across a wider range of reading devices, them <img> is a much better option.

Thanks Guys for looking at this.
ghostyjack is offline   Reply With Quote
Old 11-05-2010, 02:05 PM   #9
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
As I replied to the issue, the problem is caused by the namespace prefixes. So just remove the "svg:" start of every element and it will work correctly in Sigil (and Sigil will also render the SVG).

The underlying bug is with Tidy.
Valloric is offline   Reply With Quote
Old 11-09-2010, 11:49 AM   #10
ghostyjack
Guru
ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.
 
ghostyjack's Avatar
 
Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
I mailed the Black Library regarding this and they have responded saying the following:

"Thank you, we have been reviewing our eBooks process and indeed will not be including SVG images in the future."

So hopefully we wont see this issue cropping up any more from them.
ghostyjack is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Blank Pages in EPub when Viewed on iPad NewDay ePub 6 10-23-2010 03:08 AM
epub -> mobi. Blank pages in Kindle 2, but not Kindle for PC notyou Calibre 0 06-28-2010 08:06 PM
Blank pages with iPad timbgray Calibre 3 05-04-2010 09:43 PM
Blank pages JSWolf Calibre 4 11-29-2008 01:22 PM
USA Today EPUB Blank Pages Acey Calibre 1 10-07-2008 08:09 PM


All times are GMT -4. The time now is 01:28 AM.


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