It is currently April 28th, 2024, 4:25 am

Weather not working?

Get help with creating, editing & fixing problems with skins
MisterBiro
Posts: 2
Joined: April 18th, 2016, 7:16 pm

Re: Weather not working?

Post by MisterBiro »

In case it helps anyone, I fixed this (at least on Genteel Weather) by updating the relevant bits of my Weather.ini to look like this:

Code: Select all

;----------------------------------------------------------

[WeatherDataXML]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1600
Url=http://wxdata.weather.com/wxdata/weather/local/#WeatherCode#?cc=*&unit=e&dayf=6
RegExp=(?siU)<cc>.*<lsup>(.*)</lsup>.*<obst>(.*)</obst>.*<tmp>(.*)</tmp>.*<flik>(.*)</flik>.*<t>(.*)</t>.*<icon>(.*)</icon>

[mWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1600
Url=http://xml.weather.com/weather/local/#WeatherCode#?cc=*&unit=#Type#&dayf=6
RegExp="(?siU).*<locale>(.*)</locale>.*<ut>(.*)</ut>.*<ud>(.*)</ud>.*<us>(.*)</us>.*<up>(.*)</up>.*<ur>(.*)</ur>.*<loc id="(.*)">.*<dnam>(.*)</dnam>.*<tm>(.*)</tm>.*<lat>(.*)</lat>.*<lon>(.*)</lon>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<zone>(.*)</zone>.*<cc>.*<lsup>(.*)</lsup>.*<obst>(.*)</obst>.*<tmp>(.*)</tmp>.*<flik>(.*)</flik>.*<t>(.*)</t>.*<icon>(.*)</icon>.*<bar>.*<r>(.*)</r>.*<d>(.*)</d>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<hmid>(.*)</hmid>.*<vis>(.*)</vis>.*<uv>.*<i>(.*)</i>.*<t>(.*)</t>.*<dewp>(.*)</dewp>.*<moon>.*<icon>(.*)</icon>.*<t>(.*)</t>.*"
StringIndex=1

[mIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WeatherDataXML]
StringIndex=6

[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1800
Url=http://xml.weather.yahoo.com/forecastrss?w=#YahooWeatherCode#&u=f
RegExp=(?siU)<link.*>(.*)</link>.*city=\"(.*)\".*sunrise=\"(.*)\".*sunset=\"(.*)\".*<image>.*<url>(.*)</url>.*<title>.*:.*m .*(.*)</title>.*lat>(.*)<.*long>(.*)<.*yweather:condition.*text=\"(.*)\".*code=\"(.*)\".*temp=\"(.*)\".*yweather:forecast.*day=\"(.*)\".*high=\"(.*)\".*code=\"(.*)\".*yweather:forecast.*day=\"(.*)\".*high=\"(.*)\".*code=\"(.*)\".*
StringIndex=1

[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WeatherDataXML]
StringIndex=5

[mIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WeatherDataXML]
StringIndex=6

[MeasureWeatherTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WeatherDataXML]
StringIndex=3

;----------------------------------------------------------
The '[MeasureWeatherRSS]' section with the Yahoo! API doesn't work, but I've left it in for completeness in case it starts working again one day.

This now gives me the temperature, the current conditions and the appropriate icon and importantly, it actually works.

Credit to jsmorley for the RegExp, taken from here: viewtopic.php?f=27&t=22152

Edit: In the WeatherDataXML Url, the unit should be either e for imperial or m for metric.

You could also define it like:

Code: Select all

...
TempUnit=e
...
Url=http://wxdata.weather.com/wxdata/weather/local/#WeatherCode#?cc=*&unit=#TempUnit#&dayf=6
...
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Weather not working?

Post by jsmorley »

Edit: In the WeatherDataXML Url, the unit should be either e for imperial or m for metric.
Do you have a link to some documentation on this? My experience is that it is "f" or "m", however it may also be possible, even likely, that it is using some combination of things, including any Locale that you define in the URL, or even basing it on your IP address. For me, in the US, ANYTHING that I put for "unit" gives me measurements in Fahrenheit / Imperial, unless I use "m".
MisterBiro
Posts: 2
Joined: April 18th, 2016, 7:16 pm

Re: Weather not working?

Post by MisterBiro »

I took it to be correct based on the Ubuntu Weather Widget.

This seemed to be the most comprehensive documentation (or at least documentation summary) that I could find, and the rationale makes sense as to why it's 'e'.

You are correct, however, that specifying anything else other than 'm' will make the units imperial.
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Weather not working?

Post by jsmorley »

MisterBiro wrote:I took it to be correct based on the Ubuntu Weather Widget.

This seemed to be the most comprehensive documentation (or at least documentation summary) that I could find, and the rationale makes sense as to why it's 'e'.

You are correct, however, that specifying anything else other than 'm' will make the units imperial.
I don't know. It's an American company, and while folks in the UK might call it "imperial" and "metric", in the USofA it is simply "correct" and "metric", or perhaps "standard" and "meaningless drivel"... :-)

Not sure "e" would be an obvious choice for them.
NeilFawcett
Posts: 14
Joined: April 20th, 2016, 8:29 pm

Re: Weather not working?

Post by NeilFawcett »

So VClouds Weather 2 is no longer working for me?

I've tried to do a couple of suggested fixes, eg, change:-
Url=http://weather.yahooapis.com/forecastrss?w=#Location#&u=#Unit#
to:-
Url=http://xml.weather.yahoo.com/forecastrss?w=#LocationCode#&u=#Unit#

But alas still nothing?


Any suggestion as to how to kick it back into life?

Thanks!
scottfree1
Posts: 5
Joined: July 18th, 2014, 5:25 pm

Re: Weather not working?

Post by scottfree1 »

If anyone has the time/energy, I've been Ill and just don't have the energy..

This I my steam/cal/time/weath/sys monitor kludge of a all-in-one c&p skin, it uses yahoo weather and I was hopping someone that could comment out that code and replace it with weather.com code..
http://scottfree1.deviantart.com/art/Steam-Sys-temp-mon-Punk-1-0-526247648

Example of working weather.com code (thank you "JSMorley")

Code: Select all

[Rainmeter]
Update=1000
AccurateText=1
SkinWidth=170
MouseScrollDownAction=[!Refresh #CURRENTCONFIG#]
ContextTitle=Feed: [ObservationTimeChild]
ContextAction=[]
ContextTitle2=Change to Fahrenheit
ConTextAction2=[!WriteKeyValue Variables UnitOfMeasure "f" "#@#WXDataWeatherVars.inc"][!Refresh]
ContextTitle3=Change to Celsius
ConTextAction3=[!WriteKeyValue Variables UnitOfMeasure "m" "#@#WXDataWeatherVars.inc"][!Refresh]
ContextTitle4=Change Location Code
ContextAction4=[!ActivateConfig "WXDataWeather\WXDataLocation" "WXDataLocation.ini"]
ContextTitle5=Open @Includes folder
ContextAction5=["#@#"]

[Metadata]
Name=WXDataWeather
Author=JSMorley
Information=Weather from Weather.com||Set your weather location code and unit of measure in WXDataWeatherVars.inc || Unit of measure can also be changed by right-clicking and selecting "Change to Fahrenheit" or "Change to Celsius"
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Version=Nov 18, 2015

[Variables]
@Include=#@#GeneralVariables.inc
@Include2=#@#WXDataWeatherVars.inc
@Include3=#@#WXDataWeatherRegExp.inc

; Get the entire feed

[WeatherParent]
Measure=Plugin
Plugin=WebParser
URL=http://wxdata.weather.com/wxdata/weather/local/#LocationCode#?cc=*&unit=#UnitOfMeasure#&dayf=6
RegExp=(?siU)^(.*)$
ForceReload=1
FinishAction=[!EnableMeasureGroup Weather][!UpdateMeasure CheckAlerts][!UpdateMeter *][!Redraw]

; =======================================
; Measures
; =======================================

[UnitsParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#UnitsOfMeasure#
Disabled=1

[UnitsTempChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[UnitsParent]
StringIndex=3
Disabled=1

[UnitsSpeedChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[UnitsParent]
StringIndex=5
Disabled=1

[CheckAlerts]
Measure=Script
ScriptFile=#CURRENTPATH#CheckAlerts.lua
Group=Weather
UpdateDivider=-1
Disabled=1

[CurrentConditionsParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#CurrentConditions#
Disabled=1

[ObservationTimeChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[CurrentConditionsParent]
StringIndex=1
Disabled=1

[CurrentTempChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[CurrentConditionsParent]
StringIndex=3
Disabled=1

[CurrentFeelsLikeChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[CurrentConditionsParent]
StringIndex=4
Disabled=1

[CurrentConditionsChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[CurrentConditionsParent]
StringIndex=5
Disabled=1

[CurrentIconChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[CurrentConditionsParent]
StringIndex=6
Disabled=1

[CurrentElementsParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#CurrentElements#
Disabled=1

[CurrentHumidityChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[CurrentElementsParent]
StringIndex=1
Disabled=1

[CurrentWindParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#CurrentWind#
Disabled=1

[CurrentWindSpeedChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[CurrentWindParent]
StringIndex=1
Disabled=1

[CurrentWindUnitChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[UnitsParent]
StringIndex=5
Disabled=1

[CurrentBarometricParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#CurrentBarometric#
Disabled=1

[CurrentPressureChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[CurrentBarometricParent]
StringIndex=1
Disabled=1

[CurrentChangeChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[CurrentBarometricParent]
StringIndex=2
Disabled=1
RegExpSubstitute=1
Substitute="(?siU)^(.*) .*$":"\1"

[TodayGeneralParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#TodayGeneral#
Disabled=1

[SunriseChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[TodayGeneralParent]
StringIndex=6
Disabled=1

[SunsetChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[TodayGeneralParent]
StringIndex=7
Disabled=1

[TodayDayConditionsParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#TodayDayConditions#
Disabled=1

[TodayNightConditionsParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#TodayNightConditions#
Disabled=1

[TodayDayIconChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[TodayDayConditionsParent]
StringIndex=1
Disabled=1
IfMatch=(?siU)^$
IfMatchAction=[!SetOption MeterTodayIcon MeasureName "TodayNightIconChild"][!SetOption MeterTodayPrecip MeasureName "TodayNightPrecipChild"][!SetOption MeterTodayName Text "Tonight"][!UpdateMeter *][!Redraw]
IfNotMatchAction=[!SetOption MeterTodayIcon MeasureName "TodayDayIconChild"][!SetOption MeterTodayPrecip MeasureName "TodayDayPrecipChild"][!SetOption MeterTodayName Text "Today"][!UpdateMeter *][!Redraw]

[TodayNightIconChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[TodayNightConditionsParent]
StringIndex=1
Disabled=1

[TodayLowChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[TodayGeneralParent]
StringIndex=5
Disabled=1

[TodayHighChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[TodayGeneralParent]
StringIndex=4
Disabled=1

[TodayDayElementsParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#TodayDayElements#
Disabled=1

[TodayNightElementsParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#TodayNightElements#
Disabled=1

[TodayDayPrecipChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[TodayDayElementsParent]
StringIndex=2
Disabled=1

[TodayNightPrecipChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[TodayNightElementsParent]
StringIndex=2
Disabled=1

[Day1ConditionsParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#Day1DayConditions#
Disabled=1

[Day1IconChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[Day1ConditionsParent]
StringIndex=1
Disabled=1

[Day1GeneralParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#Day1General#
Disabled=1

[Day1NameChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[Day1GeneralParent]
StringIndex=1
Disabled=1

[Day1LowChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[Day1GeneralParent]
StringIndex=4
Disabled=1

[Day1HighChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[Day1GeneralParent]
StringIndex=3
Disabled=1

[Day1ElementsParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#Day1DayElements#
Disabled=1

[Day1PrecipChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[Day1ElementsParent]
StringIndex=2
Disabled=1

; =======================================
; Meters
; =======================================

[MeterAllBackground]
Meter=Image
ImageName=#ImagePath#FlexBack.png
X=0
W=170
H=320
ScaleMargins=3,3,3,3
ImageTint=#BackgroundColor#
UpdateDivider=-1

[MeterCurrentIcon]
Meter=Image
MeasureName=CurrentIconChild
W=135
X=5
Y=-8
ImagePath=#ImagePath#\TWCIcons
PreserveAspectRatio=1
ImageAlpha=#IconAlpha#
AntiAlias=1
DynamicVariables=1
LeftMouseUpAction=["http://www.weather.com/weather/today/l/#LocationCode#"]
MouseOverAction=[!SetOption MeterCurrentIcon ImageAlpha 255][!UpdateMeter MeterCurrentIcon][!Redraw]
MouseLeaveAction=[!SetOption MeterCurrentIcon ImageAlpha #IconAlpha#][!UpdateMeter MeterCurrentIcon][!Redraw]
UpdateDivider=-1

[MeterCurrentTemp]
Meter=String
MeasureName=CurrentTempChild
MeasureName2=UnitsTempChild
X=160
Y=3
FontColor=#ValueColor#
FontFace=#ThinFont#
FontSize=34
StringAlign=Right
StringCase=Upper
AntiAlias=1
DynamicVariables=1
Text=%1°%2
UpdateDivider=-1

[MeterCurrentText]
Meter=String
MeasureName=CurrentConditionsChild
X=160
Y=-7R
W=142
H=19
SolidColor=0,0,0,1
FontColor=#ValueColor#
FontFace=#TextFont#
FontSize=13
StringStyle=Normal
StringAlign=Right
AntiAlias=1
ClipString=1
UpdateDivider=-1

[MeterFeelsPrefix]
Meter=String
X=17
Y=3R
W=160
H=15
FontColor=#LabelColor#
FontFace=#TextFont#
FontSize=11
StringStyle=Normal
StringAlign=Left
AntiAlias=1
ClipString=1
Text=Feels Like
UpdateDivider=-1

[MeterFeelsLike]
Meter=String
MeasureName=CurrentFeelsLikeChild
X=160
Y=0r
W=160
H=15
FontColor=#ValueColor#
FontFace=#TextFont#
FontSize=11
StringStyle=Normal
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1°
UpdateDivider=-1

[MeterHumidityPrefix]
Meter=String
X=17
Y=2R
W=160
H=17
FontColor=#LabelColor#
FontFace=#TextFont#
FontSize=11
StringStyle=Normal
StringAlign=Left
AntiAlias=1
ClipString=1
Text=Humidity
UpdateDivider=-1

[MeterHumidity]
Meter=String
MeasureName=CurrentHumidityChild
X=160
Y=0r
W=160
H=17
FontColor=#ValueColor#
FontFace=#TextFont#
FontSize=11
StringStyle=Normal
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1%
UpdateDivider=-1

[MeterWindPrefix]
Meter=String
X=17
Y=2R
W=160
H=17
FontColor=#LabelColor#
FontFace=#TextFont#
FontSize=11
StringStyle=Normal
StringAlign=Left
AntiAlias=1
Text=Wind
UpdateDivider=-1

[MeterCurrentWind]
Meter=String
MeasureName=CurrentWindSpeedChild
X=160
Y=0r
W=160
H=17
FontColor=#ValueColor#
FontFace=#TextFont#
FontSize=11
StringStyle=Normal
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1 [UnitsSpeedChild]
DynamicVariables=1
UpdateDivider=-1

[MeterBarometerPrefix]
Meter=String
X=17
Y=2R
W=160
H=17
FontColor=#LabelColor#
FontFace=#TextFont#
FontSize=11
StringStyle=Normal
StringAlign=Left
AntiAlias=1
ClipString=1
Text=Pressure
UpdateDivider=-1

[MeterCurrentPressure]
Meter=String
MeasureName=CurrentPressureChild
X=160
Y=0r
W=160
H=17
FontColor=#ValueColor#
FontFace=#TextFont#
FontSize=11
StringStyle=Normal
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1
UpdateDivider=-1

[MeterChangePrefix]
Meter=String
X=17
Y=2R
W=160
H=17
FontColor=#LabelColor#
FontFace=#TextFont#
FontSize=11
StringStyle=Normal
StringAlign=Left
AntiAlias=1
ClipString=1
Text=Change
UpdateDivider=-1

[MeterCurrentChange]
Meter=String
MeasureName=CurrentChangeChild
X=160
Y=0r
W=160
H=17
FontColor=#ValueColor#
FontFace=#TextFont#
FontSize=11
StringStyle=Normal
StringAlign=Right
StringCase=Proper
AntiAlias=1
ClipString=1
Text=%1
UpdateDivider=-1

[MeterSunRisePrefix]
Meter=String
X=17
Y=2R
W=160
H=17
FontColor=#LabelColor#
FontFace=#TextFont#
FontSize=11
StringStyle=Normal
StringAlign=Left
AntiAlias=1
ClipString=1
Text=Sunrise
UpdateDivider=-1

[MeterSunRise]
Meter=String
MeasureName=SunriseChild
X=160
Y=0r
W=160
H=17
FontColor=#ValueColor#
FontFace=#TextFont#
FontSize=11
StringStyle=Normal
StringAlign=Right
StringCase=Lower
AntiAlias=1
ClipString=1
Text=%1
UpdateDivider=-1

[MeterSunSetPrefix]
Meter=String
X=17
Y=2R
W=160
H=17
FontColor=#LabelColor#
FontFace=#TextFont#
FontSize=11
StringStyle=Normal
StringAlign=Left
AntiAlias=1
ClipString=1
Text=Sunset
UpdateDivider=-1

[MeterSunSet]
Meter=String
MeasureName=SunsetChild
X=160
Y=0r
W=160
H=17
FontColor=#ValueColor#
FontFace=#TextFont#
FontSize=11
StringStyle=Normal
StringAlign=Right
StringCase=Lower
AntiAlias=1
ClipString=1
Text=%1
UpdateDivider=-1

[MeterTodayIcon]
Meter=Image
MeasureName=TodayDayIconChild
W=60
X=13
Y=18r
ImagePath=#ImagePath#\TWCIcons
PreserveAspectRatio=1
AntiAlias=1
DynamicVariables=1
UpdateDivider=-1

[MeterTodayName]
Meter=String
X=160
Y=6r
W=160
H=17
FontColor=#LabelColor#
FontFace=#TextFont#
FontSize=11
StringStyle=Normal
StringAlign=Right
AntiAlias=1
Text=Today
UpdateDivider=-1

[MeterTodayLowHigh]
Meter=String
MeasureName=TodayLowChild
MeasureName2=TodayHighChild
X=160
Y=16r
W=135
H=17
FontColor=#ValueColor#
FontFace=#TextFont#
FontSize=11
StringStyle=Normal
StringAlign=Right
AntiAlias=1
Text=%1° | %2°
UpdateDivider=-1

[MeterTodayPrecipPrefix]
Meter=String
X=118
Y=-2R
W=160
H=17
FontColor=#LabelColor#
FontFace=#TextFont#
FontSize=11
StringStyle=Normal
StringAlign=Right
AntiAlias=1
ClipString=1
Text=↓↓
UpdateDivider=-1

[MeterTodayPrecip]
Meter=String
MeasureName=TodayDayPrecipChild
X=160
Y=0r
W=160
H=17
FontColor=#ValueColor#
FontFace=#TextFont#
FontSize=11
StringStyle=Normal
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1%
UpdateDivider=-1

[MeterTomorrowIcon]
Meter=Image
MeasureName=Day1IconChild
W=60
X=13
Y=17r
ImagePath=#ImagePath#\TWCIcons
PreserveAspectRatio=1
AntiAlias=1
DynamicVariables=1
UpdateDivider=-1

[MeterTomorrowName]
Meter=String
MeasureName=Day1NameChild
X=160
Y=8r
W=160
H=17
FontColor=#LabelColor#
FontFace=#TextFont#
FontSize=11
StringStyle=Normal
StringAlign=Right
AntiAlias=1
UpdateDivider=-1

[MeterTomorrowLowHigh]
Meter=String
MeasureName=Day1LowChild
MeasureName2=Day1HighChild
X=160
Y=16r
W=135
H=17
FontColor=#ValueColor#
FontFace=#TextFont#
FontSize=11
StringStyle=Normal
StringAlign=Right
AntiAlias=1
Text=%1° | %2°
UpdateDivider=-1

[MeterTomorrowPrecipPrefix]
Meter=String
X=118
Y=-2R
W=160
H=17
FontColor=#LabelColor#
FontFace=#TextFont#
FontSize=11
StringStyle=Normal
StringAlign=Right
AntiAlias=1
ClipString=1
Text=↓↓
UpdateDivider=-1

[MeterTomorrowPrecip]
Meter=String
MeasureName=Day1PrecipChild
X=160
Y=0r
W=160
H=17
FontColor=#ValueColor#
FontFace=#TextFont#
FontSize=11
StringStyle=Normal
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1%
UpdateDivider=-1

[MeterAlert]
Meter=Image
X=14
Y=14
ImagePath=#ImagePath#\TWCIcons
ImageName=Alert.ico
AntiAlias=1
ToolTipIcon=#ImagePath#\TWCIcons\Alert.ico
ToolTipTitle=Severe Weather Alerts
ToolTipWidth=350
ToolTipType=1
Hidden=1
Last edited by Brian on April 20th, 2016, 10:21 pm, edited 1 time in total.
Reason: Please use [code] tags next time.
rootdrl
Posts: 3
Joined: April 14th, 2016, 9:42 pm

Re: Weather not working?

Post by rootdrl »

-
Last edited by rootdrl on May 14th, 2016, 11:54 pm, edited 1 time in total.
ask me things?
retropat
Posts: 2
Joined: May 14th, 2016, 7:21 pm

Re: Weather not working?

Post by retropat »

How could i Apply the Yahoo URL to this format?

Url=http://xml.weather.com/weather/local/#Location#?cc=*&unit=m&dayf=6

This one has ceased to function, thank you in advance.
clid
Posts: 1
Joined: May 14th, 2016, 8:24 pm

Re: Weather not working?

Post by clid »

weather.com has changed their url's

URL=http://wxdata.weather.com/wxdata/weather/local/#Location#?cc=*&unit=#Unit#&dayf=0

replacing the url's to that should fix it.
User avatar
fonpaolo
Moderator
Posts: 1387
Joined: April 11th, 2013, 8:08 pm
Location: Italy

Re: Weather not working?

Post by fonpaolo »

clid wrote:weather.com has changed their url's

URL=http://wxdata.weather.com/wxdata/weather/local/#Location#?cc=*&unit=#Unit#&dayf=0

replacing the url's to that should fix it.
To complete the information, pay attention that the last part &dayf=0 means that only the informations for the current day are displayed.
If your skin displays two or more days, you need to verify it and change the number accordingly.