Results 1 to 3 of 3

Thread: Reading remote webpage

  1. #1
    Join Date
    Jan 2007
    Posts
    29
    Thanks
    3

    Default Reading remote webpage

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Reading remote webpage

    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()).
    Last edited by Lykurg; 11th July 2010 at 06:40. Reason: updated contents

  3. #3
    Join Date
    Jan 2007
    Posts
    29
    Thanks
    3

    Default Re: Reading remote webpage

    Thanks. I actually stumbled across that and am now reading up on it.
    Seems to be fairly straight forward.

    Cheers,

Similar Threads

  1. qt gui application on webpage
    By bcheruk in forum Qt Programming
    Replies: 4
    Last Post: 23rd April 2009, 20:03
  2. opening webpage using qt....
    By anupamgee in forum Qt Programming
    Replies: 8
    Last Post: 20th April 2009, 11:13
  3. Can't get webpage to open using 'QHttp'
    By rishiraj in forum Newbie
    Replies: 6
    Last Post: 30th January 2009, 10:24
  4. is it possible to save a webpage as an image?
    By billconan in forum Qt Programming
    Replies: 2
    Last Post: 8th July 2008, 01:08

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.