Register    Login    IRC Chat    Search    Google

Board index » Getting Started » Rainmeter Help




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: weather to msn weather
 Post Posted: Sat Jul 31, 2010 2:36 pm 
Offline

Joined: Sat Jul 31, 2010 2:18 pm
Posts: 1
Hi. I want to make this skin to show MSN wheather, not weather.com. But i really dont know how. Maybe you can help me?

Code:
Code:
[Rainmeter]
Background=#SKINSPATH#WP7\Common\Variables\bg.png
Update=5000
MouseOverAction=!execute [!RainmeterShowMeter MeterChange][!RainmeterShowMeter About][!RainmeterShowMeter btn][!RainmeterShowMeter MeterMenu][!RainmeterShowMeter MeterClose][!RainmeterShowMeter Logo][!RainmeterShowMeter MeterSettings][!RainmeterRedraw]
MouseLeaveAction=!execute [!RainmeterHideMeter MeterChange][!RainmeterHideMeter btn][!RainmeterHideMeter About][!RainmeterHideMeter MeterSettings][!RainmeterHideMeter MeterMenu][!RainmeterHideMeter MeterClose][!RainmeterHideMeter Logo][!RainmeterRedraw]
MouseActionCursor=0

;Metadata added by RainBrowser
;http://rainmeter.net/RainCMS/?q=Rainmeter101_AnatomyOfASkin

[Metadata]
Name=
Config=
Description=
Instructions=
Version=
Tags=
License=
Variant=
Preview=

;End of added Metadata

[Variables]
@include=#SKINSPATH#\WP7\Common\Variables\UserVariables.inc
@include1=#SKINSPATH#\WP7\Panels\Weather\UserVariables.inc
@include2=#SKINSPATH#\WP7\Common\Variables\Languages\lang.inc
ColorIcon=W

[bg]
Meter=Image
ImageName=#Imagedir#\btn3.png
X=5
Y=5

[btn]
Meter=IMAGE
ImageName=#Imagedir#\panelhover.png
X=5
Y=5
Hidden=1

[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=30
Url=http://weather.yahooapis.com/forecastrss?p=#WEATHERCODE#&u=#UNIT#
RegExp=(?siU)<link.*>(.*)</link>.*city=\"(.*)\".*sunrise=\"(.*)\".*sunset=\"(.*)\".*<image>.*<url>(.*)</url>.*<title>.*:.*m .*(.*)</title>.*lat>(.*)<.*long>(.*)<.*yweather:condition.*text=\"(.*)\".*code=\"(.*)\".*temp=\"(.*)\".*yweather:forecast.*day=\"(.*)\".*high=\"(.*)\".*code=\"(.*)\".*yweather:forecast.*day=\"(.*)\".*high=\"(.*)\".*code=\"(.*)\".*
StringIndex=1

[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=9
Substitute="Mostly Cloudy":"#MostlyCloudy#","Light Snow":"#Light Snow#","Light Rain":"#LightRain#","Light Rain Shower":"#LightShower#","Cloudy":"#Cloudy#","Drizzle":"#Drizzle#","Lgt.":"Hafif","And":"#and#","Partly":"#Partly#","Mostly":"#Mostly#","and":"#and#","with":"#with#","Clear":"#Clear#","Fair":"#Fair#","Partly Cloudy":"#PartlyCloudy#","Cloudy":"#Cloudy#","Freezing Rain":"#FreezingRain#","Light Rain Shower":"LightRainShower","Light Rain":"#LightRain#","Rain":"#Rain#","Thunderstorm":"#T-Storm#","Thunder":"#Thunder#","in the Vicinity":"#intheVicinity#","Shower":"#Shower#","Light Snow":"#LightSnow#","Snow":"#Snow#","Sunny":"#Sunny#","Windy":"#Windy#","Haze":"#Haze#","Fog":"#Fog#","W-ead Dust":"#WidespreadDust#","Set":"#Set#","Light Drizzle":"#LightDrizzle#","Wintry Mix":"#WintryMix#","Light":"#Light#","Mist":"#Fog#"

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

[MeasureWeatherIconMod]
Measure=CALC
Formula=8800000 + (MeasureWeatherIcon*1000) + 99
Substitute="88":"icons\","099":".png"

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

[Icon]
MeasureName=MeasureWeatherIconMod
Meter=IMAGE
X=5
Y=25
Hidden=#hideweathericon#

[Style]
FontColor=255,255,255
StringStyle=NORMAL
StringAlign=LEFT
FontFace=Segoe UI Light
AntiAlias=1

[Temp1]
MeasureName=MeasureWeatherTemp
MeterStyle=Style
Meter=STRING
StringAlign=Center
X=85
FontColor=0,0,0,200
Y=(1+#tempfontsize#/(2**((#tempfontsize#-40)/10)))
FontSize=#tempfontsize#
Postfix="°"

[Temp]
MeasureName=MeasureWeatherTemp
MeterStyle=Style
Meter=STRING
StringAlign=Center
X=85
Y=(#tempfontsize#/(2**((#tempfontsize#-40)/10)))
FontSize=#tempfontsize#
Postfix="°"


[Desc]
MeasureName=MeasureWeatherDesc
MeterStyle=Style
Meter=STRING
X=12
FontFace=Segoe UI
Y=128
MeterStyle=DriveText
FontColor=255,255,255,255
FontSize=13

[Logo]
ImageName=icons\#ShowYahooIcon#.png
Meter=IMAGE
X=125
Y=125
H=30
W=30
LeftMouseDownAction=!Execute [[MeasureWeatherRSS]][!RainmeterRedraw]


-----overlay--

[overlay1]
Meter=Image
ImageName=#Imagedir#\btn3.png
MouseLeaveAction=!execute [!RainmeterHideMeter Overlay1][!RainmeterHideMeter AboutText][!RainmeterHideMeter AboutContent]
Hidden=1

[AboutText]
Meter=String
X=0
Y=-5
MeterStyle=DriveText
FontColor=255,255,255,255
FontSize=30
FontFace=Segoe UI Light
Text=About
Antialias=1
Hidden=1

[AboutContent]
Meter=String
X=15
Y=35
w=130
h=120
FontColor=255,255,255,255
StringAlign=LEFT
FontSize=12
FontFace=Segoe UI Light
Text=Because looking through the window is a hard thing to do
Antialias=1
Hidden=1
ClipString=1

[About]
Meter=BUTTON
ButtonImage=#SKINSPATH#WP7\Common\Panel\refresh.png
X=145
y=25
ButtonCommand=!RainmeterRefresh #CURRENTCONFIG#
Hidden=1

-----menu---

[MeterClose]
Meter=BUTTON
ButtonImage=#SKINSPATH#WP7\Common\Panel\Close.png
X=145
y=5
ButtonCommand=!RainmeterDeactivateConfig
Hidden=1

[MeterSettings]
Meter=BUTTON
ButtonImage=#SKINSPATH#WP7\Common\Panel\settings.png
X=145
Y=15
ButtonCommand=!Execute ["#SKINSPATH#\WP7\Panels\Weather\config.exe"]
Hidden=1

[MeterChange]
Meter=BUTTON
ButtonImage=#SKINSPATH#WP7\Common\Panel\change.png
X=145
Y=35
ButtonCommand=!Execute [!RainmeterActivateConfig "WP7\Panels\Weather" "weatheralt.ini"][!RainmeterRefresh]
Hidden=1


My location in msn:
Code:
http://weather.msn.com/RSS.aspx?wealocations=wc:31090&weadegreetype=C


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 1 post ] 

Board index » Getting Started » Rainmeter Help


Who is online

Users browsing this forum: No registered users and 5 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Donations for Rainmeter and the Rainmeter Community are now being accepted.

Your donations are greatly appreciated by all the community.