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 Update on Monday, May 27th 2025

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 460 Views
  • 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 15 Jul 2015, 15:52 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

    1/1

    15 Jul 2015, 15:52

    • Login

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