Page 1 of 1

OPF e-book reader for archos

PostPosted: Thu Sep 18, 2008 7:46 pm
by divx118
:) Since there will be no e-book reader for the archos available i am making my own.
I am talking about .lit e-books that is a microsoft format. They can be easily converted (batch conversion is also possible) to HTML with an OPF file. This is the so called open e-book specification see this link http://www.idpf.org/oebps/oebps1.2/down ... -xhtml.htm for more info.
The conversion is done by convertlit an open source program see here http://www.convertlit.com/download.php
What I use is the one with a GUI for windows and is available here http://dukelupus.pri.ee/convertlit.php



Well ok I have my reader finished. First a short explanation on how to convert the .lit files to html

Download http://dukelupus.pri.ee/convertlit.php
Install and start the program.

Image

Image

Image

Image

Image

When you have done point 1 to 7 folder of the books are created in the output folder.
In each folder there is one *.opf rename that file to reader.opf
Also look at the folder names that are created if there are blank spaces in them remove them.

ie Dahl, Roald - Beware of the Dog should become Dahl,_Roald-Beware_of_the_Dog

Now download the zip file with the e-bookreader from here http://home.versatel.nl/mauricevankruch ... der1.0.zip
or here http://files.myopera.com/maurice118/blo ... der1.0.zip

Extract the zip in each e-book folder.

Now you can copy the e-books to your Archos.
To start reading a book on your Archos just use the filebrowser and go into the OPFreader1.0 folder of the book you want to read. Now open the E-book.html

Some notes:
- The zoom function of the text may not work on all books. You could edit the html file for that.
- If you have a very large HTML size that is over 400kB then it takes a long time to load the book also are the responses of the buttons very slow.
A work around would be to chop the html file and edit the reader.opf file for the links.
- If the book doesn't load try reload in the browser.
- If the bookmark feature doesn't work then you have blank spaces in one of your folder names.
- Use the (I) button for help on the reader.
- If you click the book cover you get the advanced info of the book.


Image

Maurice 8)

Re: OPF e-book reader for archos

PostPosted: Fri Sep 19, 2008 7:42 am
by Peverel
Now that is cool - thanks will give this a try at the weekend

Pev

Re: OPF e-book reader for archos

PostPosted: Fri Sep 26, 2008 1:15 pm
by mitchelln
Cool tutorial :)

Thanks!

Re: OPF e-book reader for archos

PostPosted: Tue Sep 30, 2008 5:55 am
by warris
Seems like you can get the Archos to do a lot more that Archos can! Well done Maurice. I use the brilliant gmail widget daily. Keep up the good work please. :)

Re: OPF e-book reader for archos

PostPosted: Thu Oct 02, 2008 7:51 am
by Asheboy
No other OS support I see:P. Good program:) What did you code in?

Re: OPF e-book reader for archos

PostPosted: Thu Oct 02, 2008 5:12 pm
by divx118
Thanks all for the compliments :D

Asheboy wrote:No other OS support I see:P. Good program:) What did you code in?

For the E-book reader itself I just used javascript and html. Not much else except flash for the archos :cry: and flash isn't really my thing I rather do something with C# to get my skills up on that.
If you meant the ConvertLit GUI I didn't make that it is from Dan Jackson and an anonymous programmer who made the first version of convertlit.
For convertlit there is also a linux version, but I don't know if that also has an easy to use GUI or is just commandline.
I did use the open e-book standard, because it is easy to code when using javascript and html and there are alot of free interesting books available in that format. I then did a search on the internet if somebody already beat me in converting my .lit books that I had to the open e-book, that is how I found this neat little program convertlit.

Maurice 8-)

Re: OPF e-book reader for archos

PostPosted: Mon Oct 06, 2008 2:20 pm
by kevin
divx118 wrote:For convertlit there is also a linux version, but I don't know if that also has an easy to use GUI or is just commandline.


It's easy enough to use on the command line, so long as you mind type `clit' all over the place ;)