python/Components/Converter/MSNWeather2.py для скина.
#weather_city = config.plugins.weathermsn.city.value
#degreetype = config.plugins.weathermsn.degreetype.value
#windtype = config.plugins.weathermsn.windtype.value
#weather_location = config.osd.language.value.replace('_', '-')
weather_city = 'Kalush,Ivano-Frankivsk,Ukraine'
degreetype = 'C'
windtype = 'ms'
weather_location = 'ru-RU'
if weather_location == 'en-EN':
weather_location = 'en-US'
python/Extensions/WeatherMSN/components/MSNWeather2.py конвертор для плагина.weather_city = config.plugins.weathermsn.city.value
degreetype = config.plugins.weathermsn.degreetype.value
windtype = config.plugins.weathermsn.windtype.value
weather_location = config.osd.language.value.replace('_', '-')
#weather_city = 'Kalush,Ivano-Frankivsk,Ukraine'
#degreetype = 'C'
#windtype = 'ms'
#weather_location = 'ru-RU'
if weather_location == 'en-EN':
weather_location = 'en-US'
python/Extensions/WeatherMSN/plugin.py 59я строкаconfig.plugins.weathermsn.city = ConfigText(default="Kalush,Ivano-Frankivsk,Ukraine", visible_width =250,fixed_size =False)
в папке tmp/weathermsn.xml
<weatherdata xmlns:xsd="
http://www.w3.org/2001/XMLSchema" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"><weather weatherlocationcode="wc:15983" weatherlocationname="Kalush, Ivano-Frankivsk" url="
http://a.msn.com/54/uk-UA/ct49.012,24.379?ctsrc=outlook" imagerelativeurl="
http://blob.weather.microsoft.com/static/weather4/en/" degreetype="C" provider="Foreca" attribution="
Weather Forecast Smolensk - Foreca.com attribution2="Foreca" lat="49,012" long="24,379" timezone="3" alert="" entityid="15983" encodedlocationname="Kalush%2C+Ukraine"><current temperature="14" skycode="26" skytext="Хмарно" date="2017-05-21" observationtime="21:00:00" observationpoint="Kalush, Ukraine" feelslike="14" humidity="97" winddisplay="
14 km/h Захід" day="неділя" shortday="Нд" windspeed="
14 km/h" /><forecast low="7" high="24" skycodeday="31" skytextday="Ясно" date="2017-05-20" day="субота" shortday="Сб" precip="" /><forecast low="12" high="18" skycodeday="4" skytextday="Грози" date="2017-05-21" day="неділя" shortday="Нд" precip="100" /><forecast low="7" high="19" skycodeday="30" skytextday="Невелика хмарність" date="2017-05-22" day="понеділок" shortday="Пн" precip="100" /><forecast low="8" high="21" skycodeday="30" skytextday="Невелика хмарність" date="2017-05-23" day="вівторок" shortday="Вт" precip="30" /><forecast low="10" high="20" skycodeday="9" skytextday="Слабкий дощ" date="2017-05-24" day="середа" shortday="Ср" precip="90" /><toolbar timewindow="60" minversion="1.0.1965.0" /></weather><weather weatherlocationcode="wc:15983" weatherlocationname="Kalush Raion, Ivano-Frankivsk" url="
http://a.msn.com/54/uk-UA/ct49.061,24.388?ctsrc=outlook" imagerelativeurl="
http://blob.weather.microsoft.com/static/weather4/en/" degreetype="C" provider="Foreca" attribution="
Weather Forecast Smolensk - Foreca.com attribution2="Foreca" lat="49,061" long="24,388" timezone="3" alert="" entityid="15983" encodedlocationname="Kalush+Raion"><current temperature="14" skycode="26" skytext="Хмарно" date="2017-05-21" observationtime="21:00:00" observationpoint="Kalush Raion" feelslike="14" humidity="97" winddisplay="14 km/h Захід" day="неділя" shortday="Нд" windspeed="14 km/h" /><forecast low="7" high="24" skycodeday="31" skytextday="Ясно" date="2017-05-20" day="субота" shortday="Сб" precip="" /><forecast low="12" high="18" skycodeday="4" skytextday="Грози" date="2017-05-21" day="неділя" shortday="Нд" precip="100" /><forecast low="7" high="19" skycodeday="30" skytextday="Невелика хмарність" date="2017-05-22" day="понеділок" shortday="Пн" precip="100" /><forecast low="8" high="21" skycodeday="30" skytextday="Невелика хмарність" date="2017-05-23" day="вівторок" shortday="Вт" precip="30" /><forecast low="10" high="20" skycodeday="9" skytextday="Слабкий дощ" date="2017-05-24" day="середа" shortday="Ср" precip="90" /><toolbar timewindow="60" minversion="1.0.1965.0" /></weather></weatherdata>