OPF e-book reader for archos

OPF e-book reader for archos

Postby divx118 » Thu Sep 18, 2008 7:46 pm

:) 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)
Last edited by divx118 on Mon Mar 16, 2009 3:44 pm, edited 1 time in total.
divx118
 
Posts: 400
Joined: Thu Sep 18, 2008 7:21 pm
Location: Netherlands

Re: OPF e-book reader for archos

Postby Peverel » Fri Sep 19, 2008 7:42 am

Now that is cool - thanks will give this a try at the weekend

Pev
Archos 605, N95, EVA8000,
Samsung Q1, HP MediaSmart 475
User avatar
Peverel
 
Posts: 334
Joined: Tue Sep 16, 2008 4:55 pm
Location: Hampshire/Surrey Border in the UK

Re: OPF e-book reader for archos

Postby mitchelln » Fri Sep 26, 2008 1:15 pm

Cool tutorial :)

Thanks!
Site owner of UN of Gadgets and buyer of too many toys.
mitchelln
Site Admin
 
Posts: 636
Joined: Tue Sep 16, 2008 5:00 pm
Location: London, UK

Re: OPF e-book reader for archos

Postby warris » Tue Sep 30, 2008 5:55 am

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. :)
warris
Moderator
 
Posts: 196
Joined: Tue Sep 23, 2008 8:45 am
Location: Cornwall. UK

Re: OPF e-book reader for archos

Postby Asheboy » Thu Oct 02, 2008 7:51 am

No other OS support I see:P. Good program:) What did you code in?
Asheboy
 
Posts: 80
Joined: Fri Sep 19, 2008 10:13 pm
Location: Hertfordshire, UK

Re: OPF e-book reader for archos

Postby divx118 » Thu Oct 02, 2008 5:12 pm

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-)
divx118
 
Posts: 400
Joined: Thu Sep 18, 2008 7:21 pm
Location: Netherlands

Re: OPF e-book reader for archos

Postby kevin » Mon Oct 06, 2008 2:20 pm

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 ;)
kevin
 
Posts: 408
Joined: Thu Oct 02, 2008 3:04 pm


Return to Widgets

Who is online

Users browsing this forum: No registered users and 1 guest

cron