View Full Version : iLiad FBReader 0.8.1d for iLiad port finished (fixes/new features)


Adam B.
04-11-2007, 01:54 PM
In case you've been living under a rock: FBReader is an e-book reader for Linux/Windows XP computers.

Changes since the last FBReader for iLiad port:
* Close FBReader with Upper Left (Home) Hardware Button
* Better screen refreshes
* Added "Go To Next/Previous Toc Section" actions. (Next Section Via Button on Toolbar. Should be setup to use up/down hardware buttons as well) This is very useful for CHM Files and documents with a table of contents
* Hardware Buttons are configurable via settings screen
* Opening of external http/ftp/mail links in external browser has been added. (should work with dillo)
* OpenReader book format has been supported.
* New encodings (Vietnamese, Korean, MacRoman, etc.) has been supported.
* Time and position text on indicator
* FBReader reads multi-body fb2 documents.


Standalone Installation

The first time you click the icon, it will automatically copy some iLiad specific settings to the /home/root/ directory, and launch the program.

For SD/MMC Users, Download: http://projects.mobileread.com/iliad/projects/fbreader/fbreadstandalonemmc.zip

For Compact Flash (CF) Users, Download: http://projects.mobileread.com/iliad/projects/fbreader/fbreadstandalonecf.zip

The 'fbread' folder will need to be put in the root of your memory card. Simply unzip, run, and enjoy. :)

For a more native approach that will launch files directly from the contentlister, see this wiki page: http://wiki.mobileread.com/wiki/ILiad_FBReader#Native_Installation




Main features:



Supported formats are:

fb2 e-book format (style attributes are not supported yet).
HTML format (tables are not supported).
CHM format (tables are not supported).
plucker format (embedded images are supported, tables are not supported).
Palmdoc (aportis doc).
zTxt (Weasel format).
TCR (psion text) format.
RTF format (stylesheets and tables are not supported).
OEB format (css and tables are not supported).
OpenReader format (css and tables are not supported).
Non-DRM'ed mobipocket format (tables are not supported).
Plain text format.

Direct reading from tar, zip, gzip and bzip2 archives. (Multiple books in one archive are supported.)
Supported encodings: utf-8, us-ascii, windows-1251, windows-1252, koi8-r, ibm866, iso-8859-*, Big5, GBK. Automatic encoding detection is supported.
Automatically generated contents table.
Embedded images support.
Footnotes/hyperlinks support.
Position indicator.
Keeps the last open book and the last read positions for all opened books between runs.
List of last opened books.
Automatic hyphenations. Liang's algorithm is used. The same algorithm is used in TeX, and TeX hyphenation patterns are used in FBReader. Patterns for Czech, English, Esperanto, French, German and Russian are included in the current version.
Text search.
Full-screen mode.
Screen rotation by 90, 180 and 270 degrees.

henkvdg
04-11-2007, 02:39 PM
Thanks Adam,

It works, but ...

1) There are to many screen refreshes. 3 for a next page
2) The complete screen refreshes every minute. Only the time display should or leave it just out. Only refresh time at a new page, or use partial write.
It is possible to switch the time display off - although it seems that the refreshing goes on every minute.
3) If I use a smaller font, the time display font stays big and writes over the booktext. That is solved by reducing the font size for the page numbers.

Adam B.
04-11-2007, 03:04 PM
I fixed the screen refresh issues, disabled the clock, and decreased the font on the page indicator. Redownload and let me know what you think. :)

vranghel
04-11-2007, 03:14 PM
Great work, Adam

I have downloaded the SD version of the program, but i cannot run the program. O have ver 2.9.1 and i dont have the shell hack installed. Is the hack necessary? I have requested the shell hack a couple weeks ago, but havent received it.

Adam B.
04-11-2007, 03:16 PM
Great work, Adam

I have downloaded the SD version of the program, but i cannot run the program. O have ver 2.9.1 and i dont have the shell hack installed. Is the hack necessary? I have requested the shell hack a couple weeks ago, but havent received it.

Yes, the shell hack is necessary. You'll have to wait for that before you can use FBReader.

VillageReader
04-11-2007, 03:27 PM
Great work, Adam

I have downloaded the SD version of the program, but i cannot run the program. O have ver 2.9.1 and i dont have the shell hack installed. Is the hack necessary? I have requested the shell hack a couple weeks ago, but havent received it.

Pssss - if you send a private message backchannel to Matthijs you might get a quicker response if you have been in the queue a while. They seemed to get behind after the Paris show.

Don't let anybody know, though ;)

henkvdg
04-11-2007, 03:37 PM
I fixed the screen refresh issues, disabled the clock, and decreased the font on the page indicator. Redownload and let me know what you think. :)

Much better !

I think (I used the MMC version) that your package should have the MMC root directory as default for the books. It is not that difficult for me to change that though.

I like the full screen mode very much!

Just add PDF support with search and some "CPU throttling" :-)
and it could be the default viewer. (but without scribble function :-( )

Thanks!

P.S. As I think of it.
If possible you should include prefetch, because it takes some time now to display the next page.

vranghel
04-11-2007, 04:11 PM
I just filled the form for the shell hack, then checked my mail, and there it was. It seems that last time when i requested it, i put my username instead of my email.

The program works, but i dont know the path of the book directories.
On the root of the SD i have fbreader folder, Fiction and Non-fiction folders.
What is the correct path in this situation?

Adam B.
04-11-2007, 04:13 PM
Your internal documents are in /mnt/free
Documents on your SD/MMC card are /mnt/card
Document on your CompactFlash card are in /mnt/cf

henkvdg
04-11-2007, 04:14 PM
Your internal documents are in /mnt/free
Documents on your SD/MMC card are /mnt/card
Document on your CompactFlash card are in /mnt/cf


or /media/card etc.

Moonraker
04-11-2007, 04:33 PM
I requested shell access weeks ago but have not heard anything from iRex.

However, as I had never updated to version 2.9.1 I decided I would do so today.

After the iLiad had completed the update I found I did have shell access and can now use the FBReader.

Perhaps you can try this. It won't hurt if there are no updates for you and you might wait forever for an email from iRex. :happy2:

vranghel
04-11-2007, 04:39 PM
Excellent! Works great now! Thanks Adam and henk!

vranghel
04-11-2007, 04:41 PM
I requested shell access weeks ago but have not heard anything from iRex.

However, as I had never updated to version 2.9.1 I decided I would do so today.

After the iLiad had completed the update I found I did have shell access and can now use the FBReader.

Perhaps you can try this. It won't hurt if there are no updates for you and you might wait forever for an email from iRex. :happy2:


A couple weeks ago when i wanted to try stardic, i requested a shell hack, but instead of my email address, i put in my username. Thats why i didnt receive the email. Today, in a few seconds i received the shell hack.

nekokami
04-11-2007, 05:12 PM
I think they just processed a batch of requests today. I got an email from them and connected and got the shell access. Earlier this week I had tried to connect and had gotten a username/password sort of error, perhaps because there was nothing to download.

Moonraker
04-11-2007, 05:50 PM
I have decided to put my FBReader application and books for it on my CF card. My SD card I will keep for PDF books.

After some initial confusion trying to find the path for the the books it seems to be working fine and is a great improvement for RTF and HTML files. Thank you very much for this Adam.

I think I prefer HTML because it can show the cover image which I now put at the beginning of all my books. I also use class headings and note that each line of these starts on a new page. Is there anything in the settings where I can correct these? Or is it because I create my books in XHTML?

I was very pleased to see an option for UTF-8 encoding which I always use.

Thank you Adam for providing us non-literate Linux users with any easy unbrickable way to experience the FBReader. :happy2:

wagnerian
04-12-2007, 01:26 AM
I'm wondering how I can configure it to enable Korean encoding.

Adam B.
04-12-2007, 06:37 AM
If you've never used FBReader before, it may be best that you download the the desktop version and use it there.

That being said, I think I saw an option for encoding in the options screen (looks like 2 tools crossed)...

VillageReader
04-12-2007, 11:11 AM
I got a second message to download the shell hack. I think the first download didn't unpack. Soooo, FBreader (the previous version) is working. All I need to do is figure out how to consistently get to the directory I want. I think I'm too impatient and go wandering around the CF card in placed I really don't want to go.

One oddity - the FBreader doesn't seem to pick up the file names correctly when they are put into the library, even though when you open the file it seems to know the name.

wallcraft
04-12-2007, 07:54 PM
Just add PDF support with search and some "CPU throttling" :-)
and it could be the default viewer. (but without scribble function :-( ) PDF support is unlikely, because PDF isn't (in general) reflowable.

At least one user of the Nokia 770 converted PDF's to 770-sized images in a HTML wrapper file and viewed them via FBReader. I'm not suggesting this on the iLiad for PDF's, but if you have a sequence of images customized for the iLiad then this would be one way to view them.

wallcraft
04-12-2007, 08:10 PM
I'm wondering how I can configure it to enable Korean encoding. FBReader 0.8.1d is supposed to support Korean. It may not be auto detecting the format, but this should be selectable when you first open a "book" or later by selecting the "book info" icon (book with light bulb).

As Adam suggests, if this does not work on the iLiad then the first thing to do (if possible) is to try FBReader on some other device (e.g. Linux Desktop or Windows XP). For example, if under Windows XP on the Book Info menu I select Encoding Set "East Asian" then under Encoding there are four Korean options. I don't know if these actually work, because I can't read Korean.

If it fails on (say) the Windows XP version, then raise the issue on the FBReader Google Group. If it works on another device but fails on the Iliad then you may still want to ask on the Google Group.

wallcraft
04-12-2007, 08:35 PM
I think I prefer HTML because it can show the cover image which I now put at the beginning of all my books. I also use class headings and note that each line of these starts on a new page. Is there anything in the settings where I can correct these? Or is it because I create my books in XHTML? Under "Options" (crossed spanner and screwdriver) the styles tab allows customization of the appearance of many document components, including headings. However, what I think may be happening is that FBReader is creating too many (TOC) "sections" and each section starts on a new page. One way to confirm this would be to look at the Table of Contents (under page with lines icon), if FBReader is creating one.

In any case, if the problem isn't fixable via the styles tab, you should probably raise this on FBReader's Google Group and provide an example document.

A possible work around might be to convert the file(s) to the plucker format (e.g. via Sunrise XP). They won't have a TOC under FBReader, and so may not have the formating problem. This is the way I normally handle HTML-based e-books.

MishaS
04-13-2007, 01:56 AM
One oddity - the FBreader doesn't seem to pick up the file names correctly when they are put into the library, even though when you open the file it seems to know the name.
FBReader automatically adds books to library for only a few of formats: those that provide the necessary meta information, i.e. FB2, OEB (open e-book)
and OpenReader. For others, FBReader can guess certain information, but it needs to be confirmed/added/modified by the user.

wagnerian
04-13-2007, 03:32 AM
FBReader 0.8.1d is supposed to support Korean. It may not be auto detecting the format, but this should be selectable when you first open a "book" or later by selecting the "book info" icon (book with light bulb).

As Adam suggests, if this does not work on the iLiad then the first thing to do (if possible) is to try FBReader on some other device (e.g. Linux Desktop or Windows XP). For example, if under Windows XP on the Book Info menu I select Encoding Set "East Asian" then under Encoding there are four Korean options. I don't know if these actually work, because I can't read Korean.


It does work on Windows XP, but I can see only Chinese encoding options on my iLiad. :(

wallcraft
04-14-2007, 09:13 AM
I'm wondering how I can configure it to enable Korean encoding. I asked on FBReader's Google Group and the answer is:

FBReader uses 2 different modules for support character encodings.

The first module uses standard iconv modules. You can compile additional iconv modules and put it on your device. I think, this is the best way.

The second one uses xml files with encoding descriptions located in /usr/share/zlibrary/encodings (or something like, this name is valid for desktop version). You can create an additional xml file for Korean encoding and put it in your FBReader package.
On my Pepper Pad 3, the command
iconv --list
lists a huge number of encodings but perhaps there are fewer on the iLiad (or in the iLiad tool chain).

Also, the GNU libiconv supports four Korean encodings (EUC-KR, CP949, ISO-2022-KR, JOHAB) and so this may be missing from the iLiad.

realityloop
04-20-2007, 08:45 PM
I'd like to do a native installation as per the instructions at http://wiki.mobileread.com/wiki/ILiad_FBReader#Native_Installation , how do I go about accesing the /home/root/ directory from a windows machine please?

scotty1024
04-27-2007, 06:26 PM
This is an example of a CHM on my iLiad after installing 2.9.5.

FBReader's clock seems to be off by 5 minutes as well???

wallcraft
04-28-2007, 12:40 AM
This is an example of a CHM on my iLiad after installing 2.9.5. This font always looks uneven on screenshots. Is it better on the iLiad screen? I had not seen text from one line overlapping another in FBReader before, but I can get the same effect under Windows or Linux Desktop by setting the line spacing to 0.5 (I usually have this set to 1.3, which is probably the default). This setting is under the tools icon in the format tab. If it is set to 1.3, then probably the character hight isn't being detected correctly. The font itself is selected under tools/styles.

templario
04-28-2007, 04:13 AM
The same happened to me, but you can change the font type and size in the settings menu, so i did and know it looks good. One question why the clock is two hours different to my time zone? can i change this?

MishaS
05-01-2007, 09:35 AM
This is an example of a CHM on my iLiad after installing 2.9.5.

FBReader's clock seems to be off by 5 minutes as well???
Is the time off by 5 minutes right after you turn the page/open the book? The time is not updated on iLiad (as it's a very long operation that reduces usability), so if you read one page for some time, then you should observe the difference.

joblack
04-30-2008, 09:23 AM
download link doesn´t work anymore. does a newer version still have this toolbar?