@tx0h That would be a step in the right direction โ but why not make this configurable in the settings?
Either a text input field with a default server or a dropdown list of preconfigured servers (preferably with the option to add more servers)? For a simpler option, maybe at least a config file? https://developer.yahoo.com/weather/ looks promising?
Or regional services like http://wetter-api.de
If you look at the next commit, c1b7189 (which switches to recommended method of data retrieval), you'd see the usage of API that's specific to that server. Could you find some other server that uses exactly the same API?
The comment on this commit said that libgweather added yahoo as a provider c8a7ad7. It also seems that it uses Geocode to find the location automatically.
Would it be feasible to use libgweather instead of libmateweather?
flexiondotorg repliedAug 25, 2016
•
Edited 1 time
-
flexiondotorg
Aug 25, 2016
@monsta In my testing the causes the clock applet and weather applet to segfault. This is with the
libmateweather1.14.1 release from last night.flexiondotorg repliedAug 25, 2016
Ignore the above. My mistake building the package.
tx0h repliedAug 26, 2016
why not add a environment variable which could overwrite silly hard coded urls, maybe METAR_URL or something?
ionutr2015 repliedAug 29, 2016
Thanks, it works great.
born2webdesign repliedSep 8, 2016
•
Edited 1 time
-
born2webdesign
Sep 8, 2016
@tx0h That would be a step in the right direction โ but why not make this configurable in the settings?
Either a text input field with a default server or a dropdown list of preconfigured servers (preferably with the option to add more servers)? For a simpler option, maybe at least a config file?
https://developer.yahoo.com/weather/ looks promising?
Or regional services like http://wetter-api.de
monsta repliedSep 12, 2016
If you look at the next commit, c1b7189 (which switches to recommended method of data retrieval), you'd see the usage of API that's specific to that server. Could you find some other server that uses exactly the same API?
goetzc repliedSep 12, 2016
The comment on this commit said that libgweather added yahoo as a provider c8a7ad7. It also seems that it uses Geocode to find the location automatically.
Would it be feasible to use libgweather instead of libmateweather?
monsta repliedSep 13, 2016
•
Edited 1 time
-
monsta
Sep 13, 2016
Yes, I have that in my plans, but only after mate-panel and mate-applets will be built with GTK+3 only.