Re: Images with GtkXmHTML



I tried to use gtkxmhtml for my own project at some point. If I remember correctly,
I had to fetch images and store them in a temp directory then give the path for it
to gtkxmhtml.

The other options out there I'm aware of:

- gtkhtml (ftp://ftp.gnome.org/pub/GNOME/unstable/sources/gtkhtml/).

This one is a lot better than gtkxmhtml in many regards.
It has however several dependencies on gnome core libs, which might or might not be
a problem in your situation

- cschtml (http://cscmail.net/cschtml/).

A fork from gtkhtml, with as little dependencies as possible.
The problem with this package is that it hasn't been updated since June 2000, so
you'd be missing out on all the update done on gtkhtml since then.

Both widgets are rendering only, giving you a few callbacks for you to handle
networking, caching, URL toying, etc.

It's also probably possible to use gecko (mozilla's rendering engine), although
I don't know how complicated it.


Henri


dg tao-group com wrote:

Is there any documentation for GtkXmHTML? I've just added preliminary HTML
rendering support to SQmaiL <PLUG SRC="http://sqmail.sourceforge.net";>. It
works fine, for plain text. For messages that contain images, I just get a bunch
of `No such file or directory' errors, which leads me to believe that it's just
doing file lookups, not URL accesses. As I'm currently working on sheer
guesswork and reading the API, this does not surprise me.

Alternatively, are there any other HTML rendering widgets I could use?

--
+- David Given ---------------McQ-+ "There is no expedient to which a man will
|  Work: dg tao-group com         | not resort to avoid the real labour of
|  Play: dgiven iname com         | thinking." --- Thomas Edison
+- http://wired.st-and.ac.uk/~dg -+

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]