It is currently March 28th, 2024, 11:54 pm

Need help. whats worg with this weather plugin?? (HudVision)

Get help with creating, editing & fixing problems with skins
pitoloko
Posts: 2
Joined: May 11th, 2010, 9:37 pm

Need help. whats worg with this weather plugin?? (HudVision)

Post by pitoloko »

Hi, (sorry for my english) i downloaded a pretty version of hud vision weather plugin, time ago i edited the skin to see spanish weather but now i can't see nothing with this skin, whats wrong in the code???

Code: Select all

;===========================================
;  Rainmeter configuration file
;===========================================

[Rainmeter]
Author=Jiri Mahel
AppVersion=1.2
Update=10000
;===========================================
;  Weather Dysplay
;===========================================

[Variables]
; nastaveni UpdateDivider pri Update=60000 na 1hod
update.Spd=60
fontColor.Text=255, 255, 255, 160
bar.color=255, 255, 255, 50
bar.color=255, 255, 255, 50
graph.line1=255, 255, 255, 75
graph.line2=255, 255, 255, 37
border.color=255, 255, 255, 75

FontName=Tahoma
FontHeight=10
AntiAlias=1

; define interner Viewer
eVIEWER=explorer.exe

;Please replace your location code of Weather.com below, e.g: New York is USNY0996.
;You can check it on Weather.com or Google.
; Brno
dest=SPXX0082
; define Fahrenheit Scale = f or Celsius = m
SCALE=m
; define show Scale Mark
SCALE.txt=°C
;================================================================

[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
; updated weather ~15minut
UpdateRate=90
Url=http://xoap.weather.com/weather/local/#dest#?cc=*&unit=#SCALE#&dayf=6
RegExp="(?siU)<weather ver="(.*)">.*<dnam>(.*),.*<tmp>(.*)</tmp>(.*)<t>(.*)</t>(.*)<icon>(.*)</icon>(.*)<day d="1" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="2" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="3" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)"
StringIndex=1
IfAboveValue=0
IfAboveAction=!execute [!RainmeterHideMeter MeterIconNA][!RainmeterShowMeter MeterIcon][!RainmeterShowMeter MeterTempZitra_Lo][!RainmeterShowMeter MeterTempPozitri_Lo][!RainmeterShowMeter MeterTempPopozitri_Lo][!RainmeterShowMeter MeterTempDnes][!RainmeterShowMeter MeterTempZitra][!RainmeterShowMeter MeterTempPozitri][!RainmeterShowMeter MeterTempPopozitri]
IfBelowValue=2
IfBelowAction=!execute [!RainmeterShowMeter MeterIconNA][!RainmeterHideMeter MeterTempZitra_Lo][!RainmeterHideMeter MeterTempPozitri_Lo][!RainmeterHideMeter MeterTempPopozitri_Lo][!RainmeterHideMeter MeterTempDnes][!RainmeterHideMeter MeterTempZitra][!RainmeterHideMeter MeterTempPozitri][!RainmeterHideMeter MeterTempPopozitri]
;Debug=1
;--------------------------------

[MeasureWeatherDestination]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=2

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

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

[MeasureWeatherIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=7
;-------------------------

;tomorrow's weather description, id=18
;tomorrow's day, id=9
;tomorrow's date, id=10, you can redefine the StringIndex value below with the id#
[MeasureWeatherDate1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=10

;tomorrow's Hi-temp, id=12
;tomorrow's Lo-temp, id=14, you can redefine the StringIndex value below with the id#
[MeasureWeatherTemp1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=12

[MeasureWeatherTemp1_Lo]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=14

;tomorrow's weather icon, id=16
[MeasureWeatherIcon1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=16
;-------------------------

;D+2, weather description, id=29
;D+2, day of week, id=20
;D+2, date, id=21
[MeasureWeatherDate2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=21

;D+2, Hi-temp, id=23
;D+2, Lo-temp, id=25
[MeasureWeatherTemp2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=23

[MeasureWeatherTemp2_Lo]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=25

;D+2, weather icon, id=27
[MeasureWeatherIcon2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=27

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

;D+3, weather description, id=40
;D+3, day of week, id=31
;D+3, date, id=32
[MeasureWeatherDate3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=32

;D+3, Hi-temp, id=34
;D+3, Lo-temp, id=36
[MeasureWeatherTemp3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=34

[MeasureWeatherTemp3_Lo]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=36

;D+3, weather icon, id=38
[MeasureWeatherIcon3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=38

;================================================================

[refresh.weather]
Meter=Button
ButtonImage=refresh.png
X=4
Y=8
ButtonCommand=!Execute [!RainmeterRefresh]

[refresh.weather2]
Meter=Button
ButtonImage=refresh.png
X=312
Y=8
ButtonCommand=!Execute [!RainmeterRefresh]

[cara1]
Meter=IMAGE
X=0
Y=19
W=332
H=1
SolidColor=#border.color#

[MeterIconNA]
ImageName=na.png
Meter=IMAGE
X=40
Y=14r
W=40
H=40

[MeterIcon]
Hidden=1
MeasureName=MeasureWeatherIcon
Meter=IMAGE
X=0r
Y=0r
W=40
H=40
LeftMouseDownAction=!execute ["#eVIEWER#" "http://www.weather.com/outlook/travel/businesstraveler/local/#dest#"]


[MeterDnes]
MeasureName=MeasureWeatherDesc
Meter=STRING
X=13r
Y=-31r
StringStyle=NORMAL
StringAlign=CENTER
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Antialias=1

[MeterTempDestinace]
MeasureName=MeasureWeatherDestination
Meter=STRING
X=-7r
Y=17r
StringStyle=NORMAL
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Antialias=1

[MeterTempDnes]
MeasureName=MeasureWeatherTemp
Meter=STRING
X=-6r
Y=52r
StringStyle=NORMAL
StringAlign=CENTER
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
PostFix="#SCALE.txt#"
Antialias=1
;-------------------------

[MeterIcon1]
MeasureName=MeasureWeatherIcon1
Meter=IMAGE
X=70r
Y=-39r
W=40
H=40

[MeterZitra]
MeasureName=MeasureWeatherDate1
Meter=STRING
X=0r
Y=-30r
StringStyle=NORMAL
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Antialias=1

[MeterTempZitra_Lo]
MeasureName=MeasureWeatherTemp1_Lo
Meter=STRING
X=6r
Y=17r
StringStyle=NORMAL
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Text="Lo %1#SCALE.txt#"
Antialias=1

[MeterTempZitra]
MeasureName=MeasureWeatherTemp1
Meter=STRING
X=-6r
Y=52r
StringStyle=NORMAL
StringAlign=CENTER
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
PostFix="#SCALE.txt#"
Antialias=1
;-------------------------

[MeterIcon2]
MeasureName=MeasureWeatherIcon2
Meter=IMAGE
X=70r
Y=-39r
W=40
H=40

[MeterPozitri]
MeasureName=MeasureWeatherDate2
Meter=STRING
X=0r
Y=-30r
StringStyle=NORMAL
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Antialias=1


[MeterTempPozitri_Lo]
MeasureName=MeasureWeatherTemp2_Lo
Meter=STRING
X=6r
Y=17r
StringStyle=NORMAL
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Text="Lo %1#SCALE.txt#"
Antialias=1

[MeterTempPozitri]
MeasureName=MeasureWeatherTemp2
Meter=STRING
X=-6r
Y=52r
StringStyle=NORMAL
StringAlign=CENTER
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
PostFix="#SCALE.txt#"
Antialias=1
;-------------------------

[MeterIcon3]
MeasureName=MeasureWeatherIcon3
Meter=IMAGE
X=70r
Y=-39r
W=40
H=40

[MeterPopozitri]
MeasureName=MeasureWeatherDate3
Meter=STRING
X=0r
Y=-30r
StringStyle=NORMAL
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Antialias=1

[MeterTempPopozitri_Lo]
MeasureName=MeasureWeatherTemp3_Lo
Meter=STRING
X=6r
Y=17r
StringStyle=NORMAL
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Text="Lo %1#SCALE.txt#"
Antialias=1

[MeterTempPopozitri]
MeasureName=MeasureWeatherTemp3
Meter=STRING
X=-6r
Y=52r
StringStyle=NORMAL
StringAlign=CENTER
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
PostFix="#SCALE.txt#"
Antialias=1
User avatar
JamesAC
Developer
Posts: 318
Joined: July 14th, 2009, 5:57 pm

Re: Need help. whats worg with this weather plugin?? (HudVision)

Post by JamesAC »

You need to replace "xoap" with "xml" in the URL
+++ Divide By Cucumber Error. Please Reinstall Universe And Reboot +++
Quis custodiet ipsos custodes?
pitoloko
Posts: 2
Joined: May 11th, 2010, 9:37 pm

Re: Need help. whats worg with this weather plugin?? (HudVision)

Post by pitoloko »

JamesAC wrote:You need to replace "xoap" with "xml" in the URL

THANKS!!!!