I opened up a lit file by changing it's ext to zip and examined the contents. I wanted to extract the covers before converting it to a txt file. I found a file named content with no ext that seems to be the main file. My question is what type of file is it? I tried html but all i got was a blank page in firefox.
Thanks,
Paul

A lit file isn't a zip with a different extension, it had it's own compression. I think (IIRC) zip could read the header, but couldn't extract it properly though. The files were pretty much what are found in an epub, with a few differences - set sizes for covers, etc..

I know how to convert a lit file to just about any other format, that's not the issue. I just wanted to experiment and investigate the structure of a lit file. Although it gives me an error, the zip extractor I use in Linux successfully extracted the lit files. I don't know anything about the structure of a lit file but I wanted to learn.

I know how to convert a lit file to just about any other format, that's not the issue. I just wanted to experiment and investigate the structure of a lit file. Although it gives me an error, the zip extractor I use in Linux successfully extracted the lit files. I don't know anything about the structure of a lit file but I wanted to learn.

It is an OEB file (also known as Open eBook) and shares its source format with eBookwise and Mobipocket. Think of it as ePub version 1.0. You can read about it in our wiki. If you discover any interesting things I would suggest you add to the wiki documentation.

The structure of a standard LIT is generally made up of .jpg's of whatever graphics are in the book (cover, chapter headings, etc.), HTML files containing the book text itself, a .css file and an .opf file