I've tried my best to solve this problem, which I suspect is pretty straightforward, myself but without any luck hence my post.
I am running the Before Dawn Bar after reading this lifehacker article.
I am trying to get the correct weather for my location to display along with relevant graphics/images for the type of weather - windy, snowy etc - pretty much as pictured in the above article but can't seem to figure out how to.
Below is the relevant weather code from my bar.ini file as well a picture of my current Before Dawn Bar.
Can anyone advise what edits I need to make to get the weather to display correctly?
Thank you in advance for your help.
Code: Select all
==Weather=====
[Variables]
WeatherCode=UKXX0135
City=Slough
Font=Helvetica LT UltraCompressed
Colour=0,0,0
;----------MEASURES----------
[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=http://weather.yahooapis.com/forecastrss?p=UKXX0135
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
[MeasureTempFar]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=11
[MeasureTemp]
Measure=Calc
Formula=(MeasureTempFar - 32) / 1.8
[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=9
[MeterWeatherDesc]
MeasureName=MeasureWeatherDesc
Meter=String
x=1020
Y=30
FontColor=255,255,255
FontSize=16
FontFace=#Font#
AntiAlias=1
[MeterText]
Meter=String
Text="Systems : "
x=1020
Y=45r
FontColor=255,255,255
FontSize=15
FontFace=#Font#
AntiAlias=1
[MeterWeatherTemp]
MeasureName=MeasureTemp
Meter=String
x=135r
y=22
Postfix="°"
FontColor=255,255, 255
FontSize=48
FontFace=#Font#
AntiAlias=1