Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;----------------------------------------------------------
- ; Genteel - Yahoo Weather Skin
- [Rainmeter]
- Author=QuantumFoam
- AppVersion=1
- Update=1
- @include=#SKINSPATH#Genteel\Variables\Fonts.inc
- [Metadata]
- Name=SM 2
- Config=
- Description=Yahoo Weather Skin
- Instructions=Edit the /Weather/Weather.ini file, and replace the weather codes lines 23 and 24. Line 23 is the Yahoo weather code and 24 is the Weather.com code. Both codes can be obtained from their respective sites by searching your city and looking at the URL in the address bar Default is set to New York
- Version=1
- Tags=Clean, minimal, YahooWeather-like skin.
- License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
- Credits=This skin has been adapted from the RGC Minimal and VeryFlatWeather Skins.
- [Variables]
- @include=#SKINSPATH#Genteel\Variables\Default.inc
- YahooWeatherCode=2348079
- WeatherCode=NZXX0003
- ;----------------------------------------------------------
- [mWeatherRSS]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- UpdateRate=1600
- URL="http://wxdata.weather.com/wxdata/weather/local/#WeatherCode#?cc=*&unit=#Type#"
- RegExp="(?siU).*<locale>(.*)</locale>.*<ut>(.*)</ut>.*<ud>(.*)</ud>.*<us>(.*)</us>.*<up>(.*)</up>.*<ur>(.*)</ur>.*<loc id="(.*)">.*<dnam>(.*)</dnam>.*<tm>(.*)</tm>.*<lat>(.*)</lat>.*<lon>(.*)</lon>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<zone>(.*)</zone>.*<cc>.*<lsup>(.*)</lsup>.*<obst>(.*)</obst>.*<tmp>(.*)</tmp>.*<flik>(.*)</flik>.*<t>(.*)</t>.*<icon>(.*)</icon>.*<bar>.*<r>(.*)</r>.*<d>(.*)</d>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<hmid>(.*)</hmid>.*<vis>(.*)</vis>.*<uv>.*<i>(.*)</i>.*<t>(.*)</t>.*<dewp>(.*)</dewp>.*<moon>.*<icon>(.*)</icon>.*<t>(.*)</t>.*"
- StringIndex=1
- ;Debug=1
- [mIcon]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- Url=[mWeatherRSS]
- StringIndex=20
- ;[MeasureWeatherRSS]
- ;Measure=Plugin
- ;Plugin=Plugins\WebParser.dll
- ;UpdateRate=1800
- ;Url=http://weather.yahooapis.com/forecastrss?w=#YahooWeatherCode#&u=c
- ;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=[mWeatherRSS]
- StringIndex=19
- [mIcon]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- Url=[mWeatherRSS]
- StringIndex=20
- [MeasureWeatherTemp]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- Url=[mWeatherRSS]
- StringIndex=17
- ;----------------------------------------------------------
- [Background]
- Meter=IMAGE
- ;SolidColor=0,0,0,100
- W=230
- H=260
- X=0
- Y=0
- [MeterIcon]
- MeasureName=mIcon
- Meter=IMAGE
- X=23
- Y=13
- w=60
- h=40
- Antialias=1
- [Temp]
- MeasureName=MeasureWeatherTemp
- Meter=STRING
- X=280
- Y=50
- FontColor=#ffffff
- FontSize=145
- StringAlign=right
- FontFace=#Font#
- AntiAlias=1
- [Temp2]
- Meter=STRING
- X=-55r
- Y=55
- FontSize=100
- FontColor=#33b5e5
- StringAlign=Left
- FontFace=#Font#
- AntiAlias=1
- Postfix="°"
- [MeterIcon]
- MeasureName=mIcon
- Meter=IMAGE
- X=22
- Y=8
- w=60
- h=44
- Antialias=1
- [Desc]
- MeasureName=MeasureWeatherDesc
- Meter=STRING
- X=90
- Y=22
- FontColor=#Color1#
- FontSize=17
- StringAlign=Left
- StringStyle=Bold
- FontFace=#Font#
- AntiAlias=1
- [TempActive]
- Meter=STRING
- MeterStyle=Temp
- MeasureName=MeasureWeatherTemp
- FontColor=#e5e5e5
- LeftMouseDownAction=
- Hidden=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement