Is this a list to talk about khtml? Is it *the* list?

Randy Kramer rhkramer at gmail.com
Sat Mar 4 14:17:36 GMT 2006


On Friday 03 March 2006 05:47 pm, Sebastien Raveau wrote:
> Yes, this is *the* list :)

Sebastien,

Wonderful--thanks!

> On Friday 03 March 2006 21:15, Randy Kramer wrote:
> > Just as an example, I want to send an HTML "stream" to khtml to be
> > rendered (as opposed to having khtml load a URL (local or remote)).
>
> This can be done with KHTMLPart::write() as you can see on:
> http://developer.kde.org/documentation/library/cvs-api/kdelibs-apidocs/khtm
>l/html/classKHTMLPart.html#a50 or with ReadOnlyPart::openStream() and then
> ReadOnlyPart::openURL() as on:
> http://developer.kde.org/documentation/library/cvs-api/kdelibs-apidocs/kpar
>ts/html/classKParts_1_1ReadOnlyPart.html#a9 and of course don't forget to
> ReadOnlyPart::closeStream()

> Good Luck / Have Fun!

Thanks!  I'll look at those at least a little before I start asking more 
questions.  I don't know if I should warn everybody in advance--I've never 
programmed in C++ (or C) (nor Ruby--see below).  

My tentative hope/plan is that I'll be able to learn how to start a 
"standalone" instance of khtml, and then "control" it (i.e., send it HTML for 
rendering, clear it, send it more HTML, etc.) via QtRuby.  (Or, maybe I'll use 
dcop from the CLI.) 

I'll explain more about what I'm trying to accomplish in a future post.

Randy Kramer







More information about the kfm-devel mailing list