It is currently April 19th, 2024, 3:26 am
Get help with creating, editing & fixing problems with skins
Quell
Posts: 17 Joined: November 17th, 2019, 6:02 am
Post
by Quell » January 5th, 2020, 10:23 pm
Can anyone explain why the weather skin would not display any updates.
I only have a part of the skin settings that I had to update for my location.
And this code is in a single settings file.
The skin works fine. But, will not change the weather at all.
Code: Select all
Weathercode=
unit=f
Url=http://xml.weather.com/weather/local/#WeatherCode#?cc=*&unit=#Unit#&dayf=3
RegExp="(?siU)<tmp>(.*)</tmp>.*<t>(.*)</t>.*<icon>(.*)</icon>.*<dayf>.*<hi>(.*)</hi>.*<low>(.*)</low>.*<part p="n">.*<t>(.*)</t>.*<day d="1".*<hi>(.*)</hi>.*<low>(.*)</low>.*<t>(.*)</t>.*<day d="2" t="(.*)".*<hi>(.*)</hi>.*<low>(.*)</low>.*<t>(.*)</t>"
[u][b]and it has a code for measures[/b][/u]
[MeasureWeather]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=2400
Url=http://xml.weather.com/weather/local/#WeatherCode#?cc=*&unit=#Unit#&dayf=3
RegExp="(?siU)<tmp>(.*)</tmp>.*<t>(.*)</t>.*<icon>(.*)</icon>.*<dayf>.*<hi>(.*)</hi>.*<low>(.*)</low>.*<part p="n">.*<t>(.*)</t>.*<day d="1".*<hi>(.*)</hi>.*<low>(.*)</low>.*<t>(.*)</t>.*<day d="2" t="(.*)".*<hi>(.*)</hi>.*<low>(.*)</low>.*<t>(.*)</t>"
and it has a code for settings
Code: Select all
;--------[Weather]---------
[MeterWeatherLineHor]
Meter=STRING
X=59
Y=179
W=111
H=1
SolidColor=#COLORS#
[MeterWeathBlock]
Meter=Image
x=56
y=178
w=3
h=3
SolidColor=#COLORS#
[MeterTemp]
MeasureName=MeasureTemperature
Meter=STRING
MeterStyle=StyleRIGHTB
X=53
Y=173
Postfix="°"
[MeterDesc]
MeasureName=MeasureWeatherDesc
Meter=STRING
MeterStyle=StyleCenter
X=118
Y=165
I used to not smoke in my bosses car if we slept together.
xenium
Posts: 865 Joined: January 4th, 2018, 9:52 pm
Post
by xenium » January 5th, 2020, 10:29 pm
Quell wrote: ↑ January 5th, 2020, 10:23 pm
Can anyone explain why the weather skin would not display any updates.
Replace in URL , xml.weather.com with wxdata.weather.com/wxdata
Quell
Posts: 17 Joined: November 17th, 2019, 6:02 am
Post
by Quell » January 5th, 2020, 10:40 pm
xenium wrote: ↑ January 5th, 2020, 10:29 pm
Replace in URL , xml.weather.com with wxdata.weather.com/wxdata
yeah it looks like I found an error
ERRO (16:41:52.771) eTech\Ring - Light.ini - [MeasureWeather]: RegExp matching error (-1)
I will try the above
I used to not smoke in my bosses car if we slept together.
Quell
Posts: 17 Joined: November 17th, 2019, 6:02 am
Post
by Quell » January 5th, 2020, 10:47 pm
okey. excellent looks like this now.
Code: Select all
unit=f
Url=http://wxdata.weather.com/wxdata/weather/local/#WeatherCode#?cc=*&unit=#Unit#&dayf=3
RegExp="(?siU)<tmp>(.*)</tmp>.*<t>(.*)</t>.*<icon>(.*)</icon>.*<dayf>.*<hi>(.*)</hi>.*<low>(.*)</low>.*<part p="n">.*<t>(.*)</t>.*<day d="1".*<hi>(.*)</hi>.*<low>(.*)</low>.*<t>(.*)</t>.*<day d="2" t="(.*)".*<hi>(.*)</hi>.*<low>(.*)</low>.*<t>(.*)</t>"
and it works. thank you.
xenium wrote: ↑ January 5th, 2020, 10:29 pm
Replace in URL , xml.weather.com with wxdata.weather.com/wxdata
I used to not smoke in my bosses car if we slept together.
xenium
Posts: 865 Joined: January 4th, 2018, 9:52 pm
Post
by xenium » January 5th, 2020, 10:52 pm
Quell wrote: ↑ January 5th, 2020, 10:47 pm
okey. excellent looks like this now.
and it works. thank you.
You're very welcome !