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:c...@envirosolutions.pl> c...@envirosolutions.pl
 <http://www.envirosolutions.pl/szkolenia> www.envirosolutions.pl

_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to