Display using QtWebKit, whilst parsing xml

Posted by Beren Scott on Stack Overflow See other posts from Stack Overflow or by Beren Scott
Published on 2010-05-03T10:48:22Z Indexed on 2010/05/03 17:18 UTC
Read the original article Hit count: 275

Filed under:
|
|
|
|

I wish to use QtWebKit to load a url for display, but, that's the easy part, I can do that. What I wish to do is record / log xml as I go. My attention here is to record and database certain details on the fly, by recording those details.

My problem is, how to do this all on the fly, without requesting the same url from the server twice, once for the xml, and the second time to view the url.

My hope here, is to implement a very fast way of recording set data as the user passes over it. Take for example, rather then have to type out details displayed by a website, I wish to have those details chucked into a database as I the user views the website.

Now, I am using QtWebKit, and I have everything pretty much solved viewing wise. I have a loadUrl() routine which calls load(url) inside the qwebview.h

The problem is, how do I piggyback xml parsing on top of this?

© Stack Overflow or respective owner

Related posts about qtwebkit

Related posts about c++