Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-17-2009, 02:56 PM   #1
horseflesh
Member
horseflesh began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Nov 2008
Device: Sony PRS-500
Problem with html->epub: reader can't page through file

I am converting some web pages to ebooks for reference material. When I choose epub output, the first page looks good--has the images and is formatted well--but when I push the page forward button my 505 reader shows the "nope!" icon.

It shows that the document has multiple pages, and I can page through it in Calibre's epub reader... but not on the device. Any ideas?

(In LRF the file works fine, though the formatting isn't as nice. Images are put in between paragraphs instead of inset into the text as on the original web page.)
horseflesh is offline   Reply With Quote
Old 10-17-2009, 03:09 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
the epub renderer on the sony doesn't like some markup in the html. you'll have to experiment and find out exactly what markup it is.
kovidgoyal is offline   Reply With Quote
Advert
Old 10-18-2009, 02:31 AM   #3
horseflesh
Member
horseflesh began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Nov 2008
Device: Sony PRS-500
Thanks. I was hoping there was a "more magic" checkbox in the config that I had missed.
horseflesh is offline   Reply With Quote
Old 10-19-2009, 04:37 AM   #4
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
Run it through ePubCheck and post the result. Don't worry if you get a long string of errors - ePubCheck is very strict and many of the errors it reports can be ignored for the Sony readers, but it will point out any critical flaws.
charleski is offline   Reply With Quote
Old 10-19-2009, 11:26 PM   #5
Mordak
Junior Member
Mordak began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2009
Device: PRS-505
I had exactly the same problem with the entire 0.6.x series (I stopped using 0.6.x and reverted to 0.5.6 in August). I would take an html formatted book, use calibre to convert it to epub, and then the book would be broken on my PRS-505. I would be able to page through some of it, but eventually it would give me a read error and would break the book (page 104 on one book, page 27 on another - but everything I tried was broken somewhere). Once I identified which book was broken where then I could reproduce the error consistently. I could not jump past the problematic page. I dug around in the epub a bit and found that it was always happening on chapter breaks, which calibre 0.6 defines differently than the 0.5 series, though I couldn't figure out what it was about the chapter breaks that broke it. I'll be back home in November and will see if the new builds of the 0.6 line solve the problem, but until then I have reverted to 0.5.6, which produces working epub output for my 505 on the exact same html input that resulted in broken epubs with 0.6.x.

So the original poster might not have funny html markup in his document, he might be experiencing the same thing I did.
Mordak is offline   Reply With Quote
Advert
Old 10-20-2009, 12:22 AM   #6
horseflesh
Member
horseflesh began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Nov 2008
Device: Sony PRS-500
Good post. When I get some time I will see if the problem goes away in 0.5.6.
horseflesh is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i convert HTML or txt file to EPUB file ? guguqiaqia ePub 7 05-28-2010 09:15 PM
Several xhtml/html to a single epub file help. clowe1028 ePub 3 03-21-2010 03:47 AM
Problem with converting very simple HTML file with table frabjous Calibre 3 09-18-2009 02:36 PM
Zipped HTML only creating file with one page Katelyn Calibre 3 08-27-2008 03:35 PM
Problem converting a webpage html to LRF, what program should I use? Long page turns seajewel Workshop 1 08-01-2008 06:32 AM


All times are GMT -4. The time now is 10:22 AM.


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