Shiny New E-Book Gizmo: The Amazon Kindle


View Full Version : dillo web browser for the iliad


Antartica
12-03-2006, 04:33 AM
What is it:
Dillo is a web browser for PDAs and similar devices. It doesn't offer the features of a full-fledged web browser (not comparable in any way to firefox, opera or safari), but is amazingly fast and works with very little resources.

How to install:
1. First of all, you need to have shell access enabled. To have it enabled in your iliad, you have to request it to iRex in this page: https://myirex.irexnet.com/user.php/developer. After that you have to connect the iliad to iDS to fetch the update. More information in the wiki (http://wiki.mobileread.com/wiki/Iliad_shell_access).
2. Download the lastest release of dillo and the connect scripts: dillo-0.8.6_iliad-0.7.zip (http://projects.mobileread.com/iliad/users/antartica/dillo/dillo-0.8.6_iliad-0.7.zip) connection-scripts-1.0.zip (http://projects.mobileread.com/iliad/users/antartica/dillo/connection-scripts-1.0.zip)
3. Connect the iliad to your PC and uncompress the two zip files to one of the directories of the iliad (for example in "documents")
4. Disconnect the iliad from you PC

How to run:
1. Go to the place you installed (unzipped) the programs (i.e "DOCS")
2. Click on the "Lan/Wifi On" item. The led should blink for some seconds. If it only blinks once, it's probable that the shell access package is not installed (try to launch dillo, if it can launch, then it's correctly installed and the problem is elsewhere).
3. Click on the "Dillo" item. The web browser should open. If the screen doesn't refresh correctly the first time, just tap with the stylus in the screen and it will refresh again.
4. Once you have finished web browsing, click on the underlined "F" in the menu bar, then "Exit", to quit dillo.
5. Click on the "Lan/Wifi Off" item to disconnect from the internet.

Limitations of dillo in the iliad:
- Only accepts latin-1 characters (that is, no unicode, no east-europe encodings, no chinese, no japanese... read this as "only works for pages in english, french, spanish, portuguese, german, italian and similar languages").
- There is support for opening local files, but is rough (report problems, please)
- No bookmark support
- No SSL support (https will not work)
- No download support.

And that is it, more or less.
===Original Message follows===
Hi All!

Using the knowledge gained from the unfinished port of ted to the iliad, I've finally added the bits needed to make dillo work in the iliad.

It's somewhat rough around the edges (after using any hardware button, it lefts the busy led blinking, and it crashes frequently), but it works for some sites.

You have it here, for your testing pleasure:

http://projects.mobileread.com/iliad/users/antartica/dillo/

Have fun!

P.S.: You have to enable the network (using a shell script or whatever) before launching dillo.
P.S.2: Caution, this is not thoroughly tested, perhaps you'll have to reset your iliad after using it, etc.

narve
12-03-2006, 05:53 AM
Would you mind uploading a pre-built binary, for the benefit of us non-developers?

Antartica
12-03-2006, 08:01 AM
Would you mind uploading a pre-built binary, for the benefit of us non-developers?

The file at

http://projects.mobileread.com/iliad/users/antartica/dillo/dillo-0.8.6_iliad-0.4.tar.gz

is a prebuilt binary. In fact, is a tar.gz to untar in the iliad, that creates a folder with the needed run.sh et al (but without manifest.xml and icon).

WinRar supports uncompressing tar.gz (IIRC), if that is what you're asking ;-).

I can pack it also in zip, if using winrar isn't feasible.

jęd
12-03-2006, 12:51 PM
is a prebuilt binary. In fact, is a tar.gz to untar in the iliad, that creates a folder with the needed run.sh et al (but without manifest.xml and icon).

Looks cool, and least you've included source code / diffs from a published dillo version...:)

(This is why patches + src are so important... The Illiad is under constant development so binaries might not always run on different versions... )

narve
12-03-2006, 03:41 PM
The file at

http://projects.mobileread.com/iliad/users/antartica/dillo/dillo-0.8.6_iliad-0.4.tar.gz

is a prebuilt binary. In fact, is a tar.gz to untar in the iliad, that creates a folder with the needed run.sh et al (but without manifest.xml and icon).

WinRar supports uncompressing tar.gz (IIRC), if that is what you're asking ;-).

I can pack it also in zip, if using winrar isn't feasible.
Aha, I thought it was only the source code. Tar.gz is fine with me, I prefer .zip since I use Windows but 7-zip handles most formats. Will give it a try!

k2r
12-04-2006, 04:05 AM
Using the knowledge gained from the unfinished port of ted to the iliad,
Could you please share some of this knowlegde in the wiki? It does not have to be a well-structured tutorial, but some hints about what you did where in the source would be great.

Antartica
12-05-2006, 05:55 AM
Could you please share some of this knowlegde in the wiki? It does not have to be a well-structured tutorial, but some hints about what you did where in the source would be great.

Sure!

I was waiting to have all the tools I use uploaded to
http://projects.mobileread.com/iliad/projects/toolchains/
but I can begin to document it now.

I'll start a new thread when I put that page up ;-).

emkay
12-05-2006, 08:39 AM
Antartica, how do you close Dillo? I think on my iLiad, it doesn't quite fit the screen. Seems like I can just see the edge of a button on the toolbar on the top left? Can't select it with the stylus though.

narve
12-05-2006, 08:47 AM
Antartica, how do you close Dillo? I think on my iLiad, it doesn't quite fit the screen. Seems like I can just see the edge of a button on the toolbar on the top left? Can't select it with the stylus though.
I remember closing it -- clicking the F icon and then choosing exit?

Antartica
12-05-2006, 09:19 AM
Antartica, how do you close Dillo? I think on my iLiad, it doesn't quite fit the screen. Seems like I can just see the edge of a button on the toolbar on the top left? Can't select it with the stylus though.

Narve is right. You have to use the stylus to "click" on the "F" menu, and the "click" on the "Exit Dillo" option.

OTOH, as the stylus is not calibrated, you may try in places near the "F"...

But it should fit your iliad... I'll try to make a shot (or a screenshot O:-) of my iliad running dillo so you can compare it with yours.

emkay
12-05-2006, 12:12 PM
Aha, thanks.
Yes it would be interesting to see a screen capture too...

jęd
12-07-2006, 07:16 AM
Has anyone checked the compatability of this with 2.8...?

emkay
12-07-2006, 08:59 AM
Yes, still working. It's quite a nice fast browser.

I was thinking, how difficult would it be to write an application which scans the local wireless networks, and lists them (with info about which are encrypted) as links? Click on the link to connect to the network you want to use, maybe with an option to enter an encryption key if necessary.
(Something like the built in network profile manager, but allowing connections without calling IDS.)
This would be really useful when out and about. Quite often there are unsecured networks one can use to pull down web content (like your Guardian 24 script jaed).
Also when Sylpheed Claws is ready, this would be really useful.
I must say I'm finding web browsing on the iLiad really useful too, for text based sites like Wikipedia.
I could do this in java, but I'm not a Linux developer. Anyone have an idea if it's easy or not?

arivero
12-07-2006, 09:13 AM
Yes, still working. It's quite a nice fast browser.

I was thinking, how difficult would it be to write an application which scans the local wireless networks, and lists them (with info about which are encrypted) as links? Click on the link to connect to the network you want to use, maybe with an option to enter an encryption key if necessary.
...
I could do this in java, but I'm not a Linux developer. Anyone have an idea if it's easy or not?

Use shell scripting and the terminal. It is practically the same thing to click in the dialog box that to click in a number in the keyboard, and it keeps the user informed that he is really doing a geeky thing.

Matthijs
12-07-2006, 10:53 AM
Or you can just use the connectionMgr to enable your network...
Tip: try "connectionMgr --help", esp. the --execute is useful.

Antartica
03-01-2007, 01:13 PM
Hi!

I've uploaded a new version. Has better browsing experience (scroll with the stylus) URL is:

http://projects.mobileread.com/iliad/users/antartica/dillo/dillo-0.8.6_iliad-0.6.zip

And modified Yokos connection scripts to make two entries, one for connecting, and another for disconnecting.

http://projects.mobileread.com/iliad/users/antartica/dillo/connection-scripts-1.0.zip

I've incorporated Yokos manifest.xml and icons, too :-). Thanks Yokos :-b.

The GreatGonzo
03-01-2007, 02:58 PM
A little help, please, for the clueless (surely there's more than just me?):

When I unzip the dillo package, I get - among other things - a lot of .gz files. Do I unpack these, too, before transferring the folder to the Iliad?

Also, will dillo run without a wifi connection present? (I don't have a LAN/WLAN connection that I can use right now, but I'd like to know if the browser is installed correctly before I venture out in search of a hotspot...)

Thanks!

Mambo
03-01-2007, 03:40 PM
Antartica: I have not checked the new version but I will try.

Otherwise when I tried last time, I got so disappointed that browsing has consumed the battery of my iliad in just 2 hours (as opposed to reading was possible for 10 hours).
Now I've got the idea, that would it be possible to close the wireless every time a page has been downloaded and put the CPU in idle mode, or at least do nothing. But when you click on a link reconnect again to the wireless network in the background, download the webpage and disconnect again?
This way you could browse the net for 10 hours (with the exception of a few sites, where you need to log on and stay connected)

I hope somebody here knows how to do this and would help us to achieve this!

Antartica
03-02-2007, 01:18 AM
A little help, please, for the clueless (surely there's more than just me?):

When I unzip the dillo package, I get - among other things - a lot of .gz files. Do I unpack these, too, before transferring the folder to the Iliad?

No, you should unzip the package as-is in the iliad. For example, i have unzipped both files inside the documents folder of the iliad (I have reserved the iliad "documents" folder for programs -- and moved all documents to another place O:-).

Also, will dillo run without a wifi connection present? (I don't have a LAN/WLAN connection that I can use right now, but I'd like to know if the browser is installed correctly before I venture out in search of a hotspot...)

Yes. You can open dillo without a connection present.

The problem is that you cannot use (yet) the "File->Open file" dialog to open local files (because it requires the dpid daemon, that I have not compiled...). I'll look at it at some point into the future (ugh! dillo 0.7.3 didn't had this dependency -- it opened loal files without the the dpid daemon installed :-? -- it must be a new feature of the 0.8.x series of dillo).

Antartica
03-02-2007, 01:29 AM
Otherwise when I tried last time, I got so disappointed that browsing has consumed the battery of my iliad in just 2 hours (as opposed to reading was possible for 10 hours).
Now I've got the idea, that would it be possible to close the wireless every time a page has been downloaded and put the CPU in idle mode, or at least do nothing. But when you click on a link reconnect again to the wireless network in the background, download the webpage and disconnect again?
This way you could browse the net for 10 hours (with the exception of a few sites, where you need to log on and stay connected)

I hope somebody here knows how to do this and would help us to achieve this!

Hey! That was how the Apple Newton worked (AFAIK) :rolleyes5 .

If there is a way to bypass using connectionManager to do the connection, perhaps it can be done fast enough to be usable. Right now using connectionManager, it's like 5-8 seconds to connect in my setup (although I have the access point is quite far), and I don't think it'll be very usable this way if we connect/fetch page/disconnect. Anyway, in the zaurus it's like 3 seconds to connect, and I don't think that it can be done better than that.

P.S.: I had the impression that the batteries lasted more than 2h with wifi... I'll have to do some tests.

emkay
03-02-2007, 04:00 AM
Nice work Antartica.

Is there any way to scroll using the up / down hardware keys? The vertical scroll bar is really difficult to use here because it's so narrow and my stylus isn't calibrated.

Antartica
03-02-2007, 04:54 AM
Nice work Antartica.

Thanks :-).

Is there any way to scroll using the up / down hardware keys? The vertical scroll bar is really difficult to use here because it's so narrow and my stylus isn't calibrated.

Mine isn't well calibrated and I had that problem too: one of the improvements in this version, is that you can "pan" the page with the stylus.

Drag with the stylus any plain area (text or just background) and the page should scroll the amount you moved the stylus.

As for the vertical scrollbar and bad calibrated iliads: A nice thing of the wacom tablet of the iliad, is that it responds to events that are away from the physical screen. That means that you can click on the case next to the vertcal scrollbar and it will work (in fact, dragging also works this way). But I'm worried that using the stylus in the iliad case will damage it somehow... so I cannot recomend it :-(.

As to the hardware keys: the flipbar works, but there is a bug in my code that doesn't reset the busy led, so it's somewhat anoying. Personally, I only use the stylus while in dillo.

emkay
03-02-2007, 05:19 AM
T
Drag with the stylus any plain area (text or just background) and the page should scroll the amount you moved the stylus.


Wow, excellent! I missed that.

The GreatGonzo
03-03-2007, 06:51 AM
Thanks for the help, got one more:

<edit> Never mind, figured it out, unzipping error, sorry....

The GreatGonzo
03-04-2007, 08:15 PM
Quick thank you to everybody who worked on this; runs like a charm, I'm enjoying it immensely...

kapoira
03-05-2007, 01:24 PM
It's to me or the dillo browser have stopped to work in the 2.9....

now i will go to the forum of irex and see the people there ;-)

yokos
03-06-2007, 09:39 AM
dillo complains it can't find the shared library "libXp.so.6".
So cping this file in the lib directory should maybe solve starting problems. :scholar:

I attached a screenshot of dillo [firmware 2.8] - because there is no one in this thread.

[EDIT:] iLiad's os 2.9 likes dillo again. :cool:
Please copy the file "libXp.so.6" in the attached zip file to the subdirectory "lib" in your dillo directory.
[EDIT II:] changed zip-file [I added a short readme.txt]

firekat
03-17-2007, 10:13 PM
A quick question to you techie gurus out there. I have been experimenting with some html files to view on the iLiad. To me it seems like it takes a lot of work with xml files to get them configured. I also have some that have some small javascript stuff in them for basic navigation - still trying to find some kind of self contained wiki to run on the iLiad. The thing is would dillo be a better viewer for html than the one currently installed in the iLiad? Could you just point it to a file and have it read just like you would Firefox or any browser that you would have on your PC? If this were the case it would be much more "plug & play" and "point & click" for most people and would be certainly less time consuming than messing with an xml file. Most of the screenshots that I have seen here seem to better formatted than what I have seen on the iLiad. We could even have a back button?

Thanx for any info

Antartica
03-18-2007, 02:11 AM
The thing is would dillo be a better viewer for html than the one currently installed in the iLiad? Could you just point it to a file and have it read just like you would Firefox or any browser that you would have on your PC?

Not yet.

The current port can't open local files, as it tries to execute a helper program (dpid) and a plugin to open such files.

In the next revision I'll try to include the helper program and plugins so it can open local files and also we will get support for https.

narve
03-19-2007, 04:10 AM
Hey! That was how the Apple Newton worked (AFAIK) :rolleyes5 .

If there is a way to bypass using connectionManager to do the connection, perhaps it can be done fast enough to be usable. Right now using connectionManager, it's like 5-8 seconds to connect in my setup (although I have the access point is quite far), and I don't think it'll be very usable this way if we connect/fetch page/disconnect. Anyway, in the zaurus it's like 3 seconds to connect, and I don't think that it can be done better than that.

P.S.: I had the impression that the batteries lasted more than 2h with wifi... I'll have to do some tests.

Nice work!!!

I agree, the connection is way too slow, even on my home network (where I am about 2 meters from my AP). And even 3 seconds extra delay would be irritating when just browsing.

If you actually manage to close connection and throttle CPU, perhaps a better solution would be to close connection and power down CPU after e.g. 10 seconds of network inactivity (i.e., you actually found an article you are going to read, instead of just following links).

emkay
03-23-2007, 08:21 AM
Antartica,
Is it just me, or is the stylus page scroll not working any more (2.9.1)?

Antartica
03-23-2007, 11:26 AM
Antartica,
Is it just me, or is the stylus page scroll not working any more (2.9.1)?

Uh? IIRC I'm still on 2.9. I'll update and see what happens...

Antartica
04-17-2007, 03:14 AM
Hi All!

I've uploaded a new version of the dillo web browser for the iliad. Changes from previous version:
- File URI support: now you can open local html files to view off-line in the iliad. Remember that it also suppots jpg, tif and png, so you can view those too. Even more, if you have a directory of sequentially numbered images, you can go to next image just using the forward button (think of it as a poor's man comic browser).
- Fixed a bug in the forward button guess next URL feature.
- I've put a smaller refresh timeout in the .iliad_refresh.conf. It should refresh the image faster, but if the connection is slow, you will have more spurious refreshes.

You can download it from:
http://projects.mobileread.com/iliad/users/antartica/dillo/dillo-0.8.6_iliad-0.7.zip

Source patches, older versions and tar.gz archives available at:
http://projects.mobileread.com/iliad/users/antartica/dillo/

P.S.: I've not updated yet to 2.9.1, so I have yet to check what's problem with scrolling in that firmware version.

Alexander Turcic
04-17-2007, 02:38 PM
P.S.: I've not updated yet to 2.9.1, so I have yet to check what's problem with scrolling in that firmware version.
Can anyone with the current firmware check? If it works, I'd like to make an "official" announcement of the release ;)

bedwere
05-08-2007, 08:28 PM
I installed dillo on 2.9.5 and it seems to work just fine (many thanks!). However, pages with Unicode text are not displayed correctly.
I did a search and found this Puppy Linux web page (http://puppylinux.org/wikka/LanguageSupport) that explains how to add Unicode support. I downloaded the ARIALUNI.TTF font and put it in the fonts/tff directory. It still doesn't work. Is there any chance to make it work?

Antartica
05-09-2007, 02:03 AM
I installed dillo on 2.9.5 and it seems to work just fine (many thanks!). However, pages with Unicode text are not displayed correctly.
I did a search and found this Puppy Linux web page (http://puppylinux.org/wikka/LanguageSupport) that explains how to add Unicode support. I downloaded the ARIALUNI.TTF font and put it in the fonts/tff directory. It still doesn't work. Is there any chance to make it work?

Dillo for the iliad is based on the official gtk1.x version, not the [old] gtk-xft nor the [older] gtk2 version, so it cannot use ttf fonts.

OTOH, I have a patch so as to be able to display latin1 UTF-8. I haven't used that patch in the iliad version because I didn't find it all that necessary, but if this is what you need, just ask. I've tested the patch in my desktop and it works reasonably well (only tested to view spanish pages using UTF-8, as in es.wikipedia.org).

If you want to be able to view other character sets (eastern-europe, cyrillic, CJK...), the patch will not work, as the fonts dillo has installed only contains the iso8859-1 charset (AKA latin1), and the patch specifically converts those UTF-8 codes to latin1 equivalents, ignoring all others.

EDIT: About the version of dillo used: Well, it's the lastest official version plus some patches to make it usable in the iliad O:-), so it's not the official version :vulcan:

Antartica
05-09-2007, 02:08 AM
Antartica,
Is it just me, or is the stylus page scroll not working any more (2.9.1)?

Have you tested with 2.9.5? In 2.9.5 works correctly (as bedwere just reported, and for me it also works).

emkay
05-10-2007, 02:56 PM
Hi,
I just installed your latest version. The browser is working fine, but the scroll still isn't working for me. I'm on 2.9.5.
I can get it to scroll by clicking on the scroll bar, but the page drag scroll that worked before doesn't work anymore here. Very strange.
Any ideas?

emkay
05-18-2007, 05:07 PM
:)
OK it's working. l was scrolling from top to bottom, instead of bottom to top. Duh!!
l wrote this post on the iliad, in Dillo, btw :)

Snas
05-30-2007, 11:25 AM
Thanks a lot, it works perfectly on my iLiad (with latest software) :happy2:

scotty1024
06-04-2007, 06:42 PM
The new right Click Stylus works with Dilllo!

Hans_Poppel
06-20-2007, 07:44 AM
If you want to be able to view other character sets (eastern-europe, cyrillic, CJK...), the patch will not work, as the fonts dillo has installed only contains the iso8859-1 charset (AKA latin1), and the patch specifically converts those UTF-8 codes to latin1 equivalents, ignoring all others.

EDIT: About the version of dillo used: Well, it's the lastest official version plus some patches to make it usable in the iliad O:-), so it's not the official version :vulcan:

Hi,
i'm successfully build dillo with this patch (http://teki.jpn.ph/pc/software/index-e.shtml#dillo-i18n). UTF-8 cyrillic sites looks reasonably

bedwere
06-20-2007, 04:44 PM
I'd love to have it!

Hans_Poppel
06-21-2007, 12:12 AM
I'd love to have it!
Hi bedwere,
this is Antarctica's package with replaced dillo. Please consider, it is testing build without some features (like ssl and jpeg support). And possible, with some bugs :-).

bedwere
06-21-2007, 04:06 PM
It works with polytonic Greek, but the font is huge. I tried to open the configuration window but was not able to.

Hans_Poppel
06-21-2007, 11:15 PM
Hi,
You may change font scaling by editing dillorc file. Options dialog is a separate program which edit the same file. I shall correct options, but it is not priority for me now

Antartica
06-22-2007, 02:35 AM
Hi,
i'm successfully build dillo with this patch (http://teki.jpn.ph/pc/software/index-e.shtml#dillo-i18n). UTF-8 cyrillic sites looks reasonably

Ok. I see that they have updated the patch since the last time I tried it :). Hope they have improved the stability.

Right now I've no time, but ASAP I'll post the patch for iliad support broken up in little patches. Hope they also apply with that (huge) patch applied.

When I manage to do it, I'll post here for your info.

Hans_Poppel
06-22-2007, 01:28 PM
Thank you, i shall look forward

Antartica
06-23-2007, 08:07 AM
Thank you, i shall look forward

I've uploaded the splitted patches. They are in

http://projects.mobileread.com/iliad/users/antartica/dillo/dillo-patch-splitted/

The last distributed version of dillo only had incorporated the lines included in:
- iliad-support
- file
- next-v3

The one I mentioned for supporting latin1 utf-8 characters is in
- utf-support-v2

I only have applied the utf-support patch on my desktop machine, not in the iliad version, but if it's of any interest, here it is.

Good Luck with your hacking of the intl version ;-).

P.S.: Yokos reminded me that the included README in the dillo package is obsolete and we should stop distributing it as it may confuse new users :).

tido
07-13-2007, 02:39 AM
Hi!

Does dillo run "out-of-the-box", or do I have to request shell access from iRex first?

I tried the "dillo-0.8.6_iliad-0.7.zip"-Version together with the lan-on/of-scripts, but it did not work (no error message; using version 2.10.2 of iLiad's OS).

Antartica
07-13-2007, 03:14 AM
Does dillo run "out-of-the-box", or do I have to request shell access from iRex first?

You need the shell access first. Sorry.

rangababu
07-14-2007, 01:42 AM
hello ,is dillo is suitable for mobile browser
and XML and XHTML how wiill i open in dillo-0.8.6 please answer my queries

Antartica
07-14-2007, 02:56 AM
hello ,is dillo is suitable for mobile browser
and XML and XHTML how wiill i open in dillo-0.8.6 please answer my queries

I don't understand what do you mean for mobile browser. If you mean WAP, dillo doesn't support that. Also bear in mind that while it's a small and fast web browser, it lacks a lot of modern web technologies. In the mailing lists there is talk about supporting CSS and javascript, when (if) the new codebase is released (and as it's based in FLTK 2.x it would also bring in UTF-8 support and antialiasing). But don't bet on having it released very soon (they're still sorting some problems between difference of opinions of the main developers).

XML will not be correctly shown in current dillo (it lacks xslt support).

XHTML should work, AFAICT.

rangababu
07-20-2007, 01:25 AM
would u suggest which browser supports Wap application but our require ment is its take less memory i dont find any in opensource or for paid if know please inform me

Antartica
07-20-2007, 04:33 AM
would u suggest which browser supports Wap application but our require ment is its take less memory i dont find any in opensource or for paid if know please inform me

I thought WAP was a flop. Anyway, the trend right now is to have a server convert on-the-fly regular HTML content to an specialized "mobile" format, as is done with Opera mini.

If that suits you, I would consider inquiring Opera ( www.opera.com) about availability/cost of porting of Opera mini to your intended platform (the iRex iliad?)

Good luck.

Zebio
01-31-2008, 02:10 PM
Hello All greatfull coders & developers!
I'm patiently wait for usable browser for iLiad.
The most big problem for me in dillo is impossibility read web on cyrillic.
Just want ask is it possible in near future to repair dillo fonts?
But I understand that our time if you wake up and don't have at least one problem then you dead man, but I'm also amazing about fonts problem in 2008 Y.
Bests,
igor

serge
01-31-2008, 04:48 PM
The most big problem for me in dillo is impossibility read web on cyrillic.
There is an internationalized dillo version (http://www.mobileread.com/forums/showpost.php?p=75928&postcount=44) which allows one to read Cyrillic utf-8 pages. I wrote a bit about it here (http://www.mobileread.com/forums/showpost.php?p=142592&postcount=8).
and here (http://www.the-ebook.org/forum/viewtopic.php?t=5430&start=570).
In order to convert non-unicode pages to utf-8 one can use (in Linux):
iconv -f WINDOWS-1251 -t UTF-8 file_in.html > file_out.html Whether this can be done on the fly in dillo, I am not sure, but I guess this functionality could be added. Just needs one of the great developers to get excited about it. Which may happen or not...

wallcraft
01-31-2008, 08:01 PM
The screenshot illustrates the following changes to .dillo/dillorc
font_factor=2.0

panel_size=large
Since the iLiad screen is tall, the larger panel isn't too intrusive (and much easier to use).

However, I can't get bookmarks to work. They require dpid, which I thought was there now (for local files). I am using dillo-0.8.6_iliad-0.7.

wallcraft
01-31-2008, 08:16 PM
Dillo has several alternative toolbar icon sets, as seen here (http://www.dillo.org/Icons/). I'm not sure which would look best on the iLiad, perhaps "transparent", but it would be worth trying them. Unfortunately, each requires a recompile.

The Grantham main icon is also a bit washed out on the iLiad. I attach a greyscale version of Eric's icon (possible replacement for cover.png)

stelpa
03-22-2008, 02:41 PM
Hi bedwere,
this is Antarctica's package with replaced dillo. Please consider, it is testing build without some features (like ssl and jpeg support). And possible, with some bugs :-).

Iam Greek. I want to read greek sites and forums. I downloaded the patch but....I dont know where to place it. Do i have to place it onto dillo folder or i have to do something else?

disposable
03-24-2008, 12:30 AM
I'm a new iLiad user. I have requested the shell access, connected, downloaded and installed the thing from iRex. Now is there anything that will show that the shell access install is successful? It said downloading, then zipping/installing or something, said complete and then restarted.

I then donloaded the dillio browser, connection manager, manifest and libXp.so.6, unzipped it all and transferred to main memory of iLiad all as described here: http://wiki.mobileread.com/wiki/Iliad_Software#dillo. But the link to libXp.so.6 that was given on that page is no longer available.
As a result I went here(page 4 of this thread):


Antartica
You can download it from:
http://projects.mobileread.com/iliad..._iliad-0.7.zip

Source patches, older versions and tar.gz archives available at:
http://projects.mobileread.com/iliad...tartica/dillo/

and downloaded the new version.

And before all of the above, I started my donloads from this thread: http://www.mobileread.com/forums/showthread.php?t=8965&highlight=shell+access+iliad

So all I want to say is: I love my iLiad and I'm really impressed by all the effort of the developers among the iLiad users. But sincerely speaking it seems all you guys are doing these things for yourselves not for the rest of us that do not know anything about programming/scripts/linux etc.

Why do isn't everything organized into a single page with a clear step by step guide. The entry on the wiki page is good, but one of the links (for libXp.so.6) is not working.

I wish there is a single page dedicated for each application, so that once there is any new version, the old version is deleted immediately. Also, all supporting files should be mentioned withing that same page. So that someone who has not been following these multiple threads for the past 3yrs would easily understand what's going on.

You see I started with a thread. Read all the posts only to realize later that that thread is for an old version of the application. I followed the newer one with some inactive links. I then followed another one that contains a directory with several files with weired extensions that I have no clue what opens them etc.

Consider the way Joomla extensions are organized. You don't have to follow several links to find all you need about an extension. Everything is organized within a single page. Once there is an update, anything old is ramoved.

Consider for instance in one of the links I followed to install this browser, it was mentioned regarding the libXp.so.6:
With 2.9 firmware there is no libXp.so.6, so the bundled xset program won't run. You can find a tarfile with it here and copy it into the dillo/lib directory.
Now the 2.12v is available. What if it already updated with this file, but i don't know? I followed the link and the link is dead. I then search online, only to find unlimited results most of which look like this: http://rpmfind.net/linux/rpm2html/search.php?query=libXp.so.6
I then get confused and wouldnt know waht to do, cos I don't have the vaguest idea what all that means.

I hope you guys understand what I mean. It's really painful to make all these things work on the iLiad for people like me. It took me days to make the wireless connection work. I tried installing the minimo browser, without any success. I also tried installing the file manager by Adam B., also didnt succeed. I think the only thing I managed to install was a mobipocket dictionay lol. So can u guys please take some time and organize your invaluable works, so we could all benefit from it, please?

Thank you all and I wish all of you luck in your various endeavours.

Luka Trifunovic
03-30-2008, 12:05 AM
Dillo is working but I can't open local files nor use bookmarks. Also I can see just english letters (not even german etc..). When I start dillo from console I get following errors:
./xset: bad font path element (#56), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
./xset: bad font path element (#56), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
./xset: bad font path element (#56), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax

Gdk-WARNING **: locale not supported by Xlib, locale set to C
dillorc:95: unexpected string constant "force_visited_color", expected symbol
dillo_dns_init: Here we go! (threaded)
Disabling cookies.
Nav_open_url: Url=>about:splash<
Type check: [Srv: text/html Det: text/html]
Nav_open_url: Url=>dpi:/bm/<
Dpi_start_dpid (child): No such file or directory
Dpi_start_dpid: No such file or directory
dpi.c: ERROR, can't start dpi daemon
Nav_open_url: Url=>file:/mnt/free/dillo/Readme.txt<
Dpi_start_dpid (child): No such file or directory

And last error (can't start dpi deamon) I get when I try to open file. Does anybody have similar problem? (using 2.12)
How to solve it?

And one more thing: Why dillo refreshes whole screen for every little change? Why it doesn't use partial refresh (it would be much faster)?

Antartica
04-05-2008, 04:03 PM
So all I want to say is: I love my iLiad and I'm really impressed by all the effort of the developers among the iLiad users. But sincerely speaking it seems all you guys are doing these things for yourselves not for the rest of us that do not know anything about programming/scripts/linux etc.

Point taken. I've updated a bit the first post on this thread to make it more understandable, but have done so "relying on my memory" (without checking the steps in the iliad), so it may have some "bugs". If someone can test it, I would appreciate it :-).

Update:: I've just tested the instructions in the first post with my iliad (2.12, received it a few days ago from the repair center and I didn't had installed the developer package yet, so I have tested the procedure from beginning to end) and it works with them. I've also corrected a few minor errors (in the menu names O:-).

Antartica
04-05-2008, 04:08 PM
Dillo is working but I can't open local files nor use bookmarks. Also I can see just english letters (not even german etc..).
(...)
And last error (can't start dpi deamon) I get when I try to open file. Does anybody have similar problem? (using 2.12)
How to solve it?

And one more thing: Why dillo refreshes whole screen for every little change? Why it doesn't use partial refresh (it would be much faster)?

German should be displayed correctly, and local files should be opened without trying to launch the dpi daemon (that error is shown because I have not compiled/bundled-with-dillo the dpi daemon in the iliad port). Check that you're using the 0.7 version. If you are, complain again...

OTOH, the reason as to not using partial refreshes is that the screen degrades fast with partial refreshes. In my experience, partial refreshes only seem to use 4-colour, and is a lot worse with ghosting, so in a few pages the text is really difficult to read (maybe not difficult, but annoying nevertheless :-).

Update:: I've just seen that I didn't replied to the bookmarks issue. The answer is that bookmarks don't work in this port (it doesn't have all the parts needed for bookmarks to work).

DiaLogical
04-13-2008, 11:53 AM
Is there a way to change the homepage of the Dillo browser?

Antartica
04-27-2008, 05:58 AM
Is there a way to change the homepage of the Dillo browser?

Yes.

After you decompressed the dillo zip, it created a "dillo" subdirectory (for example, if you uncompressed it in documents, it should have a documents/dillo subdirectory).

Inside that dillo directory, there is a "hidden" subdirectory named ".dillo" (note the dot, hidden directories start with a dot), and inside it a configuration file named dillorc.

That dillo/.dillo/dillorc is the file you have to edit to change the homepage. Search for a line that says:
home=http://www.mobileread.com/

and change it to suit your needs ;-).

disposable
05-02-2008, 08:22 PM
I still can't get any browser to work on my iLiad.
Is there any hope that iRex would come up with one, or incorporate these ones into a future update?