Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Help with example rss news in setting custom rss address

    Mobile and Embedded
    qt 5.5.0
    1
    1
    376
    Loading More Posts
    • 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.
    • C
      cmall last edited by cmall

      Hello, I am trying to customize the rss address to the following "

      http://www.pamakhouse.gr/forums/external.php?do=rss&type=newcontent&sectionid=1&days=120&count=10

      This is my model:

      XmlListModel {
      id: feedModel

          source: "http://" + window.currentFeed
          query: "/rss/channel/item"
      

      XmlRole { name: "pubDate"; query: "pubDate/string()" }
      XmlRole { name: "title"; query: "title/string()" }
      // Remove any links from the description
      XmlRole { name: "description"; query: "description/string()" }
      //XmlRole { name: "image"; query: "media:content/@url/string()" }
      XmlRole { name: "link"; query: "link/string()" }
      XmlRole { name: "guid"; query: "guid/string()" }
      }

      But I jus get a blank screen. Does anyone know what is wrong? Thanks!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post