Download & Extend

Additional setting: choose between metric or english units

Project:WeatherFacti -- from a weather.com xml feed
Version:6.x-1.9
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I've installed this module and it looks nice. It is with this module not possible to choose whether I want to see all in metric (Celcius) or in english units (Fahrenheit). On the website itself it is possible to select this option. Can you add this setting to this module?

By the way, to have this module work the 'profile' module must also be activated (I hadn't activated it).

Comments

#1

I've changed one line in weatherfacti.module for see all in metric (Celsius).

Change line 319:

$url = "http://xoap.weather.com/weather/local/%s?cc=*&dayf=%s&link=xoap&prod=xoap&par=%s&key=%s";

to

$url = "http://xoap.weather.com/weather/local/%s?cc=*&dayf=%s&link=xoap&prod=xoap&par=%s&key=%s&unit=m";

nobody click here