It is currently March 29th, 2024, 8:35 am

Weather Help!

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

Weather Help!

Post by clstubbs »

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: 995
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: Weather Help!

Post by Chewtoy »

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: 163
Joined: July 12th, 2009, 4:05 pm
Location: The Island

Re: Weather Help!

Post by Benjamin Linus »

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!

Post by clstubbs »

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: 163
Joined: July 12th, 2009, 4:05 pm
Location: The Island

Re: Weather Help!

Post by Benjamin Linus »

:thumbsu:

So pleased your problems are resolved.
Image