PDA

View Full Version : Reading remote webpage



kiss-o-matic
11th July 2010, 07:27
This is probably a really noob question, but:

Is reading a remote webpage in Qt best (read, easiest) done w/ QtWebKit? I've never used the web kit, and am not particularly adverse to it, but if there's a basic Qt class that can do this I'd rather use that. I have a nice Curl class in PHP but, but a PHP project isn't the most portable or user friendly. I just need to read some tags out of said page.

Cheers

Lykurg
11th July 2010, 07:38
If you just want the "source code" of that page, use QNetworkAccessManager.
EDIT:Ehm...
I just need to read some tags out of said page. go for mentioned QNetworkAccessManager (QNetworkAccessManager::get()).

kiss-o-matic
11th July 2010, 08:02
Thanks. I actually stumbled across that and am now reading up on it.
Seems to be fairly straight forward.

Cheers,