How to integrate a new connector?

Xibo ships by default National Weather Service Connector, in Europe we have a similar service that provides meteo alams also based on atom dataformat https://feeds.meteoalarm.org/
It provide data by polling but also by publish/subscribe
I would like to integrate this feeds in xibo.
Which is the proper procedure from a developer point of view to integrate a new connector ?