wxPython to build an HTML analyser/displayer?

L

Luke Skywalker

Hi,

Currently, I use filters in Privoxy followed by a JavaScript embedded
script to further filter a web page that is restricted to IE (because
of incompatibilities of the DOM), and was wondering if it'd be
feasible to write a Python GUI app with wxPython that would do the
same, ie. fetch a web page, analyse its contents and filter/rewrite,
before displaying it in a HTML renderer? Does wxWidgets offer an HTML
displayer widget, and is it good enough?

Thank you
Luke.
 
R

Roger Binns

Luke Skywalker said:
Does wxWidgets offer an HTML displayer widget,

Yes. In general it is highly recommended to download wxPython
and the associated demo app. The demo app shows every single
widget so you get an idea of what is available, what they look
like and you can examine the demo code to see how they are used.
and is it good enough?

Unlikely. It is a simple HTML viewer and doesn't support stylesheets
amongst other things. (It does support adding your own tags,
widgets and virtual filesystems though). More details are at
http://www.lpthe.jussieu.fr/~zeitlin/wxWindows/docs/wxwin_wxhtml.html
(The "Tags supported by wxHTML 75% of the way down will be useful
information for you)

However the good news is you have two alternatives. One is that
on Windows you can use the IE HTML display widget directly. See
the demo.

If you need to be cross platform then wxMozilla is worth looking at
(which is apparently active despite appearing dormant). Start at
http://wxmozilla.sourceforge.net/pmwiki/pmwiki.php/Main/Documentation

Roger
 
L

Luke Skywalker

On Wed, 1 Dec 2004 16:57:45 -0800, "Roger Binns"
(snip)

Thx the links.

Luke.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top