View Full Version : What is wrong with this EPUB?


bavardage
09-20-2009, 02:17 PM
Hi.

I'm writing a program to produce an epub tv guide (atm just for british tv).

It works when I run it with only a few channels but I'm having problems with the generated file whenever I try and include lots of channels - it opens fine in FBReader and ADE but fails in my sony reader prs600.

I'm thinking it could be a size issue, but none of the files appear to be over 300k. epubcheck also shows no errors.

Attached are the two files tvguide.epub being the large, not working one
tvguide.working.epub being ok.

Thanks

cmbs
09-20-2009, 08:50 PM
Well, in adobe digital editions, click on item info and get the error "document contains a resource which is too long". When I deleted the line from your css telling the links to be underlined, and remade the epub, the error message was gone. I don't have a sony to test it.

Also, your font for your listings is way too small if you're planning to share this with anyone who doesn't have perfect vision.

bavardage
09-21-2009, 03:51 PM
Oh thanks - I had no idea about the ADE info message.

I've split it into more chapters, and it's sorted.

parvezali
10-09-2009, 02:04 AM
You can use the below link to validate your epubs. It's useful

http://www.threepress.org/document/epub-validate/


Parvez