Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. How to display specific part from website?
Forum Updated to NodeBB v4.3 + New Features

How to display specific part from website?

Scheduled Pinned Locked Moved Qt WebKit
13 Posts 7 Posters 7.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mario
    wrote on 13 Jan 2011, 10:11 last edited by
    #4

    Sure, that should be possible I think.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mohsen
      wrote on 13 Jan 2011, 10:33 last edited by
      #5

      i think you should analyze the Html code inside using DOM and then take the piece you need to view. it's not so simple.

      http://doc.qt.nokia.com/latest/qdomdocument.html

      1 Reply Last reply
      0
      • B Offline
        B Offline
        benjamin.poulain
        wrote on 13 Jan 2011, 11:27 last edited by
        #6

        You could probably create a widget wrapper over QWebPage that show only the geometry of the element.

        For such a simple page, the idea of mario is way simpler and could work.

        1 Reply Last reply
        0
        • G Offline
          G Offline
          goetz
          wrote on 13 Jan 2011, 12:32 last edited by
          #7

          What about just loading http://search.yahoo.com/?

          http://www.catb.org/~esr/faqs/smart-questions.html

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mario
            wrote on 13 Jan 2011, 13:51 last edited by
            #8

            [quote author="Volker" date="1294921927"]What about just loading http://search.yahoo.com/?[/quote]

            That would be to easy Volker :)

            1 Reply Last reply
            0
            • M Offline
              M Offline
              mohsen
              wrote on 14 Jan 2011, 04:53 last edited by
              #9

              mario solution is interesting

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mario
                wrote on 14 Jan 2011, 07:43 last edited by
                #10

                Actually, I've done an app with filtering capabilities by settting the display style to none and it works great.

                The app shows a web page containing a table with sport matches. I added filtering buttons to support filtering the table. I also remove some links from the page by settings the display style.

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mohsen
                  wrote on 14 Jan 2011, 09:08 last edited by
                  #11

                  nice job dude! :)

                  1 Reply Last reply
                  0
                  • K Offline
                    K Offline
                    kholis
                    wrote on 16 Jan 2011, 18:00 last edited by
                    #12

                    [quote author="Volker" date="1294921927"]What about just loading http://search.yahoo.com/?[/quote]
                    @Volker: yahoo.com is just an example. I will use it to other website of course :) thanks anyway

                    @all: thanks all for the clues. I'll try what mario & mohsen suggested.

                    1 Reply Last reply
                    0
                    • R Offline
                      R Offline
                      rich
                      wrote on 23 Jan 2011, 12:39 last edited by
                      #13

                      I posted some examples of a few ways of doing this kind of webslicing a while back in my blog: http://www.kdedevelopers.org/node/4086

                      1 Reply Last reply
                      0

                      13/13

                      23 Jan 2011, 12:39

                      • Login

                      • Login or register to search.
                      13 out of 13
                      • First post
                        13/13
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved