It is currently October 18th, 2019, 7:10 am

Weather Help!

Help with creating, editing & fixing problems with skins
clstubbs
Posts: 3
Joined: March 31st, 2010, 5:20 pm

Weather Help!

clstubbs » March 31st, 2010, 10:41 pm

Okay so i've downloaded the starlight desktop skin, and i'm having trouble customizing the weather to my location. I have seen a few different versions of the weather code to insert into the edit file. I'm also not 100% sure where, and which url, i should be using. Any help would be appreciated!
User avatar
Chewtoy
Moderator
Posts: 1010
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: Weather Help!

Chewtoy » April 1st, 2010, 7:02 am

I have no idea what skin that is, I see no link to it, I don't know where you live and I don't know from where the information is gathered.
Care to fill in those blanks so you can get some help?
I don't think, therefore I'm not.
User avatar
Benjamin Linus
Posts: 171
Joined: July 12th, 2009, 4:05 pm
Location: The Island

Re: Weather Help!

Benjamin Linus » April 1st, 2010, 11:25 am

Code: Select all

[Rainmeter]
10-Foot HUD (White) - Created by Stephen R Gibson, based on MoxaWeather.
W=700

[Variables]
;Find your weather code at Weather.com (like UKXX0296 below) and replace the one in this URL.
;To have the temperature display in Farenheit, delete "&unit=m" from the URL.
[b]URL=http://xoap.weather.com/weather/local/74063?cc=*&dayf=6[/b]
Font=Eurostile LT ExtendedTwo

------------------------------------MEASURES-------------------------------------------

[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1000
Url=#URL#
RegExp="(?siU)<weather ver="(.*)">(.*)<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

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

[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=5
Substitute="Fair":"FAIR","Cloudy":"CLOUDY","Showers":"SHOWERS","Partly":"PARTLY","Mostly ":"","Fog":"FOG","Clouds":"CLOUDS","Light":"","Rain":"RAIN","Sunny":"SUNNY","Clear":"CLEAR", "Thunder":"THUNDER", "Windy":"WINDY", "with":",", " and ":",", "Drizzle":"DRIZZLE", "Heavy":"HEAVY", "T-Storm":"T-STORM", "Partly":"", "in the Vicinity":""

-------------------------------------METERS--------------------------------------------

[MeterBG]
Meter=IMAGE
X=0
Y=0
W=120
H=160
SolidColor=0, 0, 0, 1

[MeterTemp]
MeasureName=MeasureWeatherTemp
Meter=STRING
X=550
Y=0
FontColor=255,255,255,220
StringStyle=NORMAL
FontSize=58
StringAlign=RIGHT
;StringStyle=BOLD
FontFace=#Font#
Antialias=1
Postfix="°"

[MeterDesc]
MeasureName=MeasureWeatherDesc
Meter=STRING
X=510
;Y=68
Y=72
W=700
FontColor=0,0,0,255
FontSize=30
StringAlign=RIGHT
;StringStyle=BOLD
FontFace=#Font#
Antialias=1
edit this line:
URL=http://xoap.weather.com/weather/local/74063?cc=*&dayf=6
to:
URL=http://xml.weather.com/weather/local/74063?cc=*&dayf=6

Don't forget to change to your location, check weather.com for code.

In these instances it's always wise to contact the author directly so they can update their works.
Image
clstubbs
Posts: 3
Joined: March 31st, 2010, 5:20 pm

Re: Weather Help!

clstubbs » April 3rd, 2010, 2:39 pm

thanks guys. I realized well after I posted that I left out a lot of information, so sorry about that. I've gone through and updated the url, and put in the correct code, and it works now. I think I was refreshing and reloading things incorrectly (i.e., rushing and not paying attention to what i'm doing). i'll make sure that any other questions have a lot more information contained. thanks for the help!
User avatar
Benjamin Linus
Posts: 171
Joined: July 12th, 2009, 4:05 pm
Location: The Island

Re: Weather Help!

Benjamin Linus » April 3rd, 2010, 3:22 pm

:thumbsu:

So pleased your problems are resolved.
Image