View Single Post
Old 01-29-2008, 04:08 AM   #1
shousa
Groupie
shousa doesn't littershousa doesn't littershousa doesn't litter
 
Posts: 181
Karma: 232
Join Date: May 2006
Errors in .Lit files

Using wordpad I have found a way to quickly "repair" a badly made (as far as I can see) .Lit ebook I bought for over $10 (I have 2 others with the same problem but all the rest, the vast majority, are fine)

Why I thought it needed repairing:
- book designer and lit2lrf would both only generate the first few pages and then stop without an error message.

In a nutshell here is the situation:
- exploded .lit to all it parts (a number of .jpg, html files and 1 opf and i css file and 1 .htm for the cover)
- found that all links (I mean 100%) referred to a .html called XXXfront.html when it should have been XXX.html. So clicking on the links in the html always came back to the xxxfront.html which is a single page with publisher details only.
- i used a find and replace in wordpad to change all the xxxfront.html links to xxx.html and now all the links 100%work....great so far.

My initial thoughts were to:
1) convert the exploded .Lit back to a .Lit for conversion to correct .Lrf
2) or.....convert the exploded files to .Lrf

but I could not find a way to do either.

Am working using Book designer to fix this now - anyone else encountered this?

Last edited by shousa; 01-29-2008 at 04:23 AM.
shousa is offline   Reply With Quote