Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Help with example rss news in setting custom rss address
Forum Updated to NodeBB v4.3 + New Features

Help with example rss news in setting custom rss address

Scheduled Pinned Locked Moved Mobile and Embedded
qt 5.5.0
1 Posts 1 Posters 489 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.
  • C Offline
    C Offline
    cmall
    wrote on last edited by cmall
    #1

    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
    0

    • Login

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