[Kde-bindings] dcop access to html parse tree
Markus Heller
markus at relix.de
Wed Sep 1 22:01:03 UTC 2004
Hi Richard,
> I don't think there is an interface to the 'parse tree of the html page'
> via docp.
[...]
>
> I don't think you can do that with just the 'dcop' command line utility and
> kdialog, but you don't need to write in C++ either. There are some examples
> of using a KHTMLPart from python and ruby in kdebindings, see:
>
> python/pykde/examples/pyKHTMLPart.py
>
> korundum/rubylib/examples/rbKHTMLPart.rb
> korundum/rubylib/examples/RubberDoc.rb
> korundum/rubylib/examples/kludgeror.rb
>
> Then you cold write your own 'custom konqueror' to access the homebanking
> website. The RubberDoc.rb example has code to walk round the DOM tree,
> which is the closest thing to your request about needing to access the html
> parse tree. But I'm not sure if there is an interface to KHTMLPart that
> allows you to programmatically fill out text fields though.
Thanks a lot for your ideas. Though, I would like to simulate web-based access
to whatever sites and measure response times. The firm I used to work for,
sold a tool from a company called "Auditec" that was able to do measurements
on the COM+ Windows layer. (www.auditec-newtest.com) This way it was possible
to measure response time for almost all network oriented applications and
many customers appreciated this.
Especially in times where Service Level Agreements become ever more important,
measuring application performance is a key issue. Glad enough, we have such a
great interface with DCOP that allows to trigger applications on a script
basis. Though, I would like to remote control the whole application in a way
the end user would use it.
I have opened a wishlist item in bugzilla. If you find this issue interesting
and important in order to be competitive against the InternetExplorer
measurement orgies, please feel welcome to vote for it!
http://bugs.kde.org/show_bug.cgi?id=88648
Best regards,
Markus
More information about the Kde-bindings
mailing list