It is currently April 19th, 2024, 10:32 am

B.B.W. Blank Weather Widget?????

Get help with creating, editing & fixing problems with skins
User avatar
el-chucklebuck
Posts: 14
Joined: August 20th, 2010, 2:19 am
Location: Texas

B.B.W. Blank Weather Widget?????

Post by el-chucklebuck »

Ok guys. I got the 'your weather widget from Gerguter on D.A. I entered my weather code into the .ini , but all i get is a blank forecast. The screen should explain much better than I.

BTW, I've only been using rainmeter for like a day tops, so bear with meh.

Thanks, and peace.
You do not have the required permissions to view the files attached to this post.
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: B.B.W. Blank Weather Widget?????

Post by jsmorley »

el-chucklebuck wrote:Ok guys. I got the 'your weather widget from Gerguter on D.A. I entered my weather code into the .ini , but all i get is a blank forecast. The screen should explain much better than I.

BTW, I've only been using rainmeter for like a day tops, so bear with meh.

Thanks, and peace.
Can you post the code for the entire skin in between here?
User avatar
el-chucklebuck
Posts: 14
Joined: August 20th, 2010, 2:19 am
Location: Texas

Re: B.B.W. Blank Weather Widget?????

Post by el-chucklebuck »

Code: Select all

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

[Rainmeter]
Author=TheNobody
AppVersion=1.2
Update=1000
BackgroundMode=0



;===========================================
;  Weather Dysplay
;===========================================

[Variables]
fontColor.Text=255, 255, 255, 240
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=Trebuchet MS
FontHeight=8
AntiAlias=1

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

[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
; updated weather ~15 minut
UpdateRate=3600
Url=http://xoap.weather.com/weather/local/#dest#?cc=*&unit=#SCALE#&dayf=6

RegExp="(?siU)<weather ver=(.*)>(.*)<dnam>(.*)</dnam>(.*)<lat>(.*)</lat>(.*)<lon>(.*)</lon>(.*)<sunr>(.*)</sunr>(.*)<suns>(.*)</suns>(.*)<lsup>(.*)</lsup>(.*)<tmp>(.*)</tmp>(.*)<flik>(.*)</flik>(.*)<t>(.*)</t>(.*)<icon>(.*)</icon>(.*)<r>(.*)</r>(.*)<d>(.*)</d>(.*)<s>(.*)</s>(.*)<d>(.*)</d>(.*)<t>(.*)</t>(.*)<hmid>(.*)</hmid>(.*)<vis>(.*)</vis>(.*)<i>(.*)</i>(.*)<t>(.*)</t>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="1" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<ppcp>(.*)</ppcp>(.*)<day d="2" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<ppcp>(.*)</ppcp>(.*)<day d="3" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<ppcp>(.*)</ppcp>(.*)<day d="4" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<ppcp>(.*)</ppcp>(.*)"
StringIndex=1
;Debug=1

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

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



[MeasureWeatherLastUpdate]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=13

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

[MeasureWeatherTempLike]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=17

[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
;Substitute="Clear":"Senin","Fair":"Fãrã nori ","Partly Cloudy":"Parþial noros","Mostly Cloudy":"În general noros","Cloudy":"Noros","Freezing Rain":"Ploaie rece","Light Rain Shower":"Averse de ploaie","Light Rain":"Ploaie uºoarã","Rain":"Ploaie","Thunder":"Tunet","Shower":"Averse de ploaie","Light Snow":"Ninsoare uºoarã","Snow":"Zãpadã","Sunny":"Însorit","Windy":"Vânt","Haze":"Ceaþã uºoarã","Fog":"Ceaþã","Set":"Stabil","T-Storm":"Furtunã"
StringIndex=19

[MeasureWeatherIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=21


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

;tomorrow's day, id=45
;tomorrow's date, id=46, you can redefine the StringIndex value below with the id#
[MeasureWeatherDate1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
;Substitute="Monday":"Luni","Tuesday":"Marþi","Wednesday":"Miercuri","Thursday":"Joi","Friday":"Vineri","Saturday":"Sambãtã","Sunday":"Duminicã"
StringIndex=45

[MeasureWeatherTemp1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=48

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

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

[MeasureWeatherDay1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=54

[MeasureWeatherPrecipitation1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=56

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

;

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

[Backing]
Meter=Image
X=100
Y=0
W=400
H=300
SolidColor=255,255,255,0


[MeterTempDestination]
MeasureName=MeasureWeatherDestination
Meter=STRING
X=80
Y=17r
StringStyle=BOLD
StringAlign=Center
FontColor=255,255,255,200
FontSize=#FontHeight#
FontFace=#FontName#
Antialias=1



[MeterTempDescription]
MeasureName=MeasureWeatherDesc
Meter=STRING
X=80
Y=12r
StringStyle=BOLD
StringAlign=Center
FontColor=255,255,255,200
FontSize=10
FontFace=#FontName#
Antialias=1

[MeterTempToday]
MeasureName=MeasureWeatherTemp
Meter=STRING
X=80
Y=20r
StringStyle=BOLD
StringAlign=Center
FontColor=255,255,255,200
FontSize=16
FontFace=#FontName#
PostFix="#SCALE.txt#"
Antialias=1

[MeterTempLikeToday]
MeasureName=MeasureWeatherTempLike
Meter=STRING
X=80
Y=25r
StringStyle=BOLD
StringAlign=Center
FontColor=255,255,255,200
FontSize=#FontHeight#
FontFace=#FontName#
Text="(Feels like %1#SCALE.txt#)"
Antialias=1

[MeterIcon]
MeasureName=MeasureWeatherIcon
Meter=IMAGE
X=52
Y=100
W=60
H=50
ImageAlign=Center


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



[MeterDay1]
MeasureName=MeasureWeatherDate1
Meter=STRING
X=80
Y=170
StringStyle=BOLD
StringAlign=Center
FontColor=255,255,255,200
FontSize=#FontHeight#
FontFace=#FontName#
Antialias=1

[MeterWeatherDay1]
MeasureName=MeasureWeatherDay1
Meter=STRING
X=80
Y=185
StringStyle=Bold
StringAlign=CENTER
FontColor=255,255,255,200
FontSize=#FontHeight#
FontFace=#FontName#
Antialias=1

[MeterPrecipitationDay1]
MeasureName=MeasureWeatherPrecipitation1
Meter=STRING
X=80
Y=65r
StringStyle=Bold
StringAlign=CENTER
FontColor=255,255,255,200
FontSize=#FontHeight#
FontFace=#FontName#
Text="Chance of Rain %1%"
Antialias=1

[MeterTempDay1]
MeasureName=MeasureWeatherTemp1_Lo
MeasureName2=MeasureWeatherTemp1
Meter=STRING
X=80
Y=15r
StringStyle=BOLD
StringAlign=Center
FontColor=255,255,255,200
FontSize=#FontHeight#
FontFace=#FontName#
Text="%1#SCALE.txt# - %2#SCALE.txt#"
Antialias=1

[MeterIcon1]
MeasureName=MeasureWeatherIcon1
Meter=IMAGE
X=54
Y=205
W=50
H=40
ImgaeAlign=Center
;-------------------------
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: B.B.W. Blank Weather Widget?????

Post by jsmorley »

I'm no expert on Weather.com, but I gather that the xoap interface has been made "registered user only" and requires a key to use. I think if you change:

Url=http://xoap.weather.com/weather/local/#dest#?cc=*&unit=#SCALE#&dayf=6

to:

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

It should work.
User avatar
el-chucklebuck
Posts: 14
Joined: August 20th, 2010, 2:19 am
Location: Texas

Re: B.B.W. Blank Weather Widget?????

Post by el-chucklebuck »

Ah, yes. That did the trick.. If I'm correct, that's the 2nd post you've helped me on, so gracias amigo!!