2

Is there a possibility of adding own items into the news feed of QGIS 3.10? As a GIS administrator it would be a great tool to spread GIS/QGIS related news to internal colleagues.

3

I think you can. I'd have to get your service to return this structure.

https://feed.qgis.org/

And with this I should be able to add your news channel.

url ="https://feed.qgis.org/"
text = "QGIS"
mNewsFeedParser = QgsNewsFeedParser(QUrl(url), text)
mNewsFeedModel = QgsNewsFeedProxyModel( mNewsFeedParser );
mNewsFeedParser.fetch()

I think you can, but I'm not completely sure. Anyway, the welcome page feed always uses only the official QGIS feed, so even if you added your own channel I don't think it's going to be the same.

I hope it helps you.

  • Ok, thank you for your input. It seems it's not as easy as I imagined. I'll give it a try soon and let you know if it worked for me. – pascatl Nov 18 at 15:05
1

While the code behind the news feed is open and can be reproduced, there's no way to replace the existing feed address with a new one (or add multiple feed sources). Rather, it's hard coded into the qgis source and cannot be customised (as of 3.10)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.