printing html content on the retreive

David Faure faure at kde.org
Wed Jun 23 15:37:19 BST 2004


On Wednesday 23 June 2004 16:28, jesso1607 at rogers.com wrote:
> It seems I get output by bit and pieces.
Of course you do, since you print out right at the moment when it's received,
and it arrives in bit and pieces.

> What I am trying to accomplish is to be able to extract the full "content" body retreived from a webserver in a nice contiguous data sequence.
Use a KIO::get() (or even storedGet() in CVS HEAD), or 
add a QByteArray var in kio_http's code to buffer the whole contents 
and print it at the end of the method (to append the data to your var, see
e.g. StoredTransferJob::slotStoredData in
http://webcvs.kde.org/cgi-bin/cvsweb.cgi/~checkout~/kdelibs/kio/kio/job.cpp )

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kfm-devel mailing list