[QGIS-Developer] additional qgis news feed
michal.wloga at envirosolutions.pl
michal.wloga at envirosolutions.pl
Fri Nov 13 01:29:26 PST 2020
Hello Devs,
I'm trying to append to QGIS News panel my own messages using python.
I have already set up backend using https://github.com/elpaso/qgis-feed
It works: https://qgisfeed.envirosolutions.pl/
I can't find out how to fetch it and add to QGIS panel.
I'm fetching something from my source:
parser = QgsNewsFeedParser(QUrl("https://qgisfeed.envirosolutions.pl/"))
parser.fetch()
parser.entries()
[<qgis._core.QgsNewsFeedParser.Entry object at 0x0000025A5A3C59D8>,
<qgis._core.QgsNewsFeedParser.Entry object at 0x0000025A5A3C5AF8>]
I'm fetching also from feed.qgis.org:
parser2 = QgsNewsFeedParser(QUrl("https://feed.qgis.org/"))
parser2.fetch()
parser2.entries()
[<qgis._core.QgsNewsFeedParser.Entry object at 0x0000021B5C1D1168>]
But I need to add it somehow to QGIS interface. How can I do this?
Regards,
EnviroSolutions Sp. z o. o.
MichaÅ WÅoga
<mailto:coo at envirosolutions.pl> coo at envirosolutions.pl
<http://www.envirosolutions.pl/szkolenia> www.envirosolutions.pl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20201113/4e9c7396/attachment.html>
More information about the QGIS-Developer
mailing list