- 4,797
- Antarctica
I need to set up a location and I need to make it run in Celsius.
[Rainmeter]
Author=lilshizzy@gmail.com
AppVersion=1001000
Update=1000
MouseOverAction=!Execute [!RainmeterShowMeter TempActive][!RainmeterHideMeter Temp][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter TempActive][!RainmeterShowMeter Temp][!RainmeterRedraw]
@include=#SKINSPATH#Simple Media\Variables\Fonts.inc
[Metadata]
Name=SM MoxaWeather Round Red
Config=
Description=Shows your current and forecast weather conditions. Change the units from metric to Fahrenheit using the variable "Unit".
Instructions=Default weather is set to Los Angeles, to get your Weather Code visit (weather.yahoo.com) type in your Zip, click the RSS button, your code will be in the address bar.
Version=
Tags=Thanks to the authors of both Token & Enigma for inspiring and providing code for this project.
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Credits=This skin has been adapted from the original MoxaWeather by moxamax. This skin has been further modified by Lilshizzy, Thanks to those who previously worked on this.
[Variables]
@include=#SKINSPATH#Simple Media\Variables\Default.inc
;------------------------------------------------------------------------------------------------
; MEASURES
[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1800
Url=http://weather.yahooapis.com/forecastrss?p=USCA1192&u=f
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
;--------------------------------
; CURRENT
[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=9
[MeasureWeatherTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=11
;------------------------------------------------------------------------------------------------
; METERS
[Background]
Meter=IMAGE
ImageName=#SKINSPATH#Simple Media\Variables\Images\Round120-R1.png
;SolidColor=0,0,0,100
;W=120
;H=120
X=0
Y=0
[Temp]
MeasureName=MeasureWeatherTemp
Meter=STRING
X=61
Y=12
FontColor=#Color4#
StringStyle=Normal
FontSize=50
StringAlign=Center
FontFace=#LocalFontFace#
AntiAlias=1
[Temp2]
Meter=STRING
X=50r
Y=10r
FontSize=12
FontColor=#Color1#
StringStyle=Bold
StringAlign=RIGHT
FontFace=#LocalFontFace#
AntiAlias=1
Postfix="°"
[Desc]
MeasureName=MeasureWeatherDesc
Meter=STRING
X=-50r
Y=60r
FontColor=#Color1#
FontSize=#Height3#
StringAlign=Center
StringStyle=Bold
FontFace=#Font#
AntiAlias=1
[TempActive]
Meter=STRING
MeterStyle=Temp
MeasureName=MeasureWeatherTemp
FontColor=#ColorActive2#
LeftMouseDownAction=!Execute [[MeasureWeatherRSS]]
Hidden=1
That's the code. What do I need to do to get it running properly and displaying correct data?
Edit: If you guys could also help me change the colors of text when using rainmeter it would be awesome. What is the code for red?
[Rainmeter]
Author=lilshizzy@gmail.com
AppVersion=1001000
Update=1000
MouseOverAction=!Execute [!RainmeterShowMeter TempActive][!RainmeterHideMeter Temp][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter TempActive][!RainmeterShowMeter Temp][!RainmeterRedraw]
@include=#SKINSPATH#Simple Media\Variables\Fonts.inc
[Metadata]
Name=SM MoxaWeather Round Red
Config=
Description=Shows your current and forecast weather conditions. Change the units from metric to Fahrenheit using the variable "Unit".
Instructions=Default weather is set to Los Angeles, to get your Weather Code visit (weather.yahoo.com) type in your Zip, click the RSS button, your code will be in the address bar.
Version=
Tags=Thanks to the authors of both Token & Enigma for inspiring and providing code for this project.
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Credits=This skin has been adapted from the original MoxaWeather by moxamax. This skin has been further modified by Lilshizzy, Thanks to those who previously worked on this.
[Variables]
@include=#SKINSPATH#Simple Media\Variables\Default.inc
;------------------------------------------------------------------------------------------------
; MEASURES
[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1800
Url=http://weather.yahooapis.com/forecastrss?p=USCA1192&u=f
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
;--------------------------------
; CURRENT
[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=9
[MeasureWeatherTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=11
;------------------------------------------------------------------------------------------------
; METERS
[Background]
Meter=IMAGE
ImageName=#SKINSPATH#Simple Media\Variables\Images\Round120-R1.png
;SolidColor=0,0,0,100
;W=120
;H=120
X=0
Y=0
[Temp]
MeasureName=MeasureWeatherTemp
Meter=STRING
X=61
Y=12
FontColor=#Color4#
StringStyle=Normal
FontSize=50
StringAlign=Center
FontFace=#LocalFontFace#
AntiAlias=1
[Temp2]
Meter=STRING
X=50r
Y=10r
FontSize=12
FontColor=#Color1#
StringStyle=Bold
StringAlign=RIGHT
FontFace=#LocalFontFace#
AntiAlias=1
Postfix="°"
[Desc]
MeasureName=MeasureWeatherDesc
Meter=STRING
X=-50r
Y=60r
FontColor=#Color1#
FontSize=#Height3#
StringAlign=Center
StringStyle=Bold
FontFace=#Font#
AntiAlias=1
[TempActive]
Meter=STRING
MeterStyle=Temp
MeasureName=MeasureWeatherTemp
FontColor=#ColorActive2#
LeftMouseDownAction=!Execute [[MeasureWeatherRSS]]
Hidden=1
That's the code. What do I need to do to get it running properly and displaying correct data?
Edit: If you guys could also help me change the colors of text when using rainmeter it would be awesome. What is the code for red?