Mam jeszcze wersje tej pogodynki z accuweather. Wstawisz mi do tego kodu pogodę dla warszawy?
Kod:
[Rainmeter]
Update=1000
[Variables]
Font=Calibri
WeatherCode=OCN|AU|NSW|SYDNEY
;Go to http: //uzaclan.com/locate_code/locate.php to find the weather code for your location.
Color=0
;Edit this to change the icon set.
;0 = Enigma Light.
;2 = Enigma Dark.
;================================================================
[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=900
Url=http: //rainmeter.accu-weather.com/widget/rainmeter/weather-data.asp?Location=#WeatherCode#&metric=1
RegExp="(?siU)<temperature>(.*)</temperature>.*<weathertext>(.*)</weathertext>.*<weathericon>(.*)</weathericon>.*<txtshort>(.*)</txtshort>.*<weathericon>(.*)</weathericon>.*<hightemperature>(.*)</hightemperature>.*<nighttime>.*</nighttime>.*<txtshort>(.*)</txtshort>.*<weathericon>(.*)</weathericon>.*<hightemperature>(.*)</hightemperature>.*<nighttime>.*</nighttime>.*<txtshort>(.*)</txtshort>.*<weathericon>(.*)</weathericon>.*<hightemperature>(.*)</hightemperature>.*"
StringIndex=1
IfAboveValue=1
IfAboveAction=!execute [!RainmeterHideMeter MeterIconNA][!RainmeterShowMeter MeterIcon]
;--------------------------------
[MeasureWeatherTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=1
[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=2
[MeasureWeatherIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=3
[MeasureWeatherIconMod]
Measure=CALC
Formula=(#Color#*100)+MeasureWeatherIcon
;-------------------------
;tomorrow's weather description, id=4
[MeasureWeatherDate1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=4
;tomorrow's Hi-temp, id=6
[MeasureWeatherTemp1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=6
;tomorrow's weather icon, id=5
[MeasureWeatherIcon1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=5
[MeasureWeatherIcon1Mod]
Measure=CALC
Formula=(#Color#*100)+MeasureWeatherIcon1
;-------------------------
;D+2, weather description, id=7
[MeasureWeatherDate2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=7
;D+2, Hi-temp, id=9
[MeasureWeatherTemp2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=9
;D+2, weather icon, id=8
[MeasureWeatherIcon2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=8
[MeasureWeatherIcon2Mod]
Measure=CALC
Formula=(#Color#*100)+MeasureWeatherIcon2
;-------------------------
;D+3, weather description, id=10
[MeasureWeatherDate3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=10
;D+3, Hi-temp, id=12
[MeasureWeatherTemp3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=12
;D+3, weather icon, id=11
[MeasureWeatherIcon3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=11
[MeasureWeatherIcon3Mod]
Measure=CALC
Formula=(#Color#*100)+MeasureWeatherIcon3
[MeasureWeatherDate1Alt]
Measure=TIME
Format="%A"
Substitute="Monday": "Tuesday","Tuesday": "Wednesday","Wednesday": "Thursday","Thursday": "Friday","Friday": "Saturday","Saturday": "Sunday","Sunday": "Monday"
[MeasureWeatherDate2Alt]
Measure=TIME
Format="%A"
Substitute="Monday": "Wednesday","Tuesday": "Thursday","Wednesday": "Friday","Thursday": "Saturday","Friday": "Sunday","Saturday": "Monday","Sunday": "Tuesday"
[MeasureWeatherDate3Alt]
Measure=TIME
Format="%A"
Substitute="Monday": "Thursday","Tuesday": "Friday","Wednesday": "Saturday","Thursday": "Sunday","Friday": "Monday","Saturday": "Tuesday","Sunday": "Wednesday"
;================================================================
[MeterTemp]
MeasureName=MeasureWeatherTemp
Meter=STRING
X=160
Y=3
FontColor=255,255,255,217
StringStyle=NORMAL
FontSize=10
StringAlign=RIGHT
StringEffect=SHADOW
StringStyle=BOLD
FontFace=#Font#
Antialias=1
Postfix="°"
LeftMouseDownAction=!RainmeterRefresh
[MeterTempActive]
MeasureName=MeasureWeatherTemp
Meter=STRING
X=r
Y=r
FontColor=128,192,255,217
StringStyle=NORMAL
FontSize=10
StringAlign=RIGHT
StringEffect=SHADOW
StringStyle=BOLD
FontFace=#Font#
Antialias=1
Postfix="°"
Hidden=1
LeftMouseUpAction=!RainmeterRefresh
[MeterIconNA]
ImageName=na.png
Meter=IMAGE
X=143
Y=1
[MeterIcon]
MeasureName=MeasureWeatherIconMod
Meter=IMAGE
X=143
Y=0
Hidden=1
MouseOverAction=!Execute [!RainmeterShowMeter MeterLogo][!RainmeterRedraw]