Skip navigation.
KDE Developer's Journals

Plasma Weather Engine update

spstarr's picture

While the Plasma APIs have been in flux (and is beginning to settle down now). I went about implement displaying the wind speed in metres per second as requested by a KDE person. It converts mph to m/s or km/h to m/s. This will become a configuration option once the applet code is started.

I haven't been able provide that screenshot of the applets yet Sad as mentioned above, things in Plasma have been going all over the place. There's a lot of regressions that are being worked out so I'm just focusing on the ions for now.

I will be going back to the BBC ion to see what can be changed. It's rather nasty in that parsing BBC's WAP/HTML they do not provide a static list of places whilst the other ions do have a list of places they can report weather from.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
simon huerlimann's picture

There's a locale/country setting you may use

Hi

Nice work! You may consider using the KDE wide locale/country setting as default for the mile vs. km setting.

Thanx for your KDE contributions:-)
Simon

spstarr's picture

Re: There's a locale/country setting you may use

Already done Smiling The meters per second is only enabled if KLocale::Metric is set by the system.
Also, if KLocale::Imperial is set, you would see imperial values and vice versa if Metric is set.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.