Advertisement
Watchmanz

Genteel weather.ini file for Rainmeter

May 28th, 2016
6,436
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.50 KB | None | 0 0
  1. ;----------------------------------------------------------
  2. ; Genteel - Yahoo Weather Skin
  3.  
  4. [Rainmeter]
  5. Author=QuantumFoam
  6. AppVersion=1
  7. Update=1
  8. @include=#SKINSPATH#Genteel\Variables\Fonts.inc
  9.  
  10. [Metadata]
  11. Name=SM 2
  12. Config=
  13. Description=Yahoo Weather Skin
  14. 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
  15. Version=1
  16. Tags=Clean, minimal, YahooWeather-like skin.
  17. License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
  18. Credits=This skin has been adapted from the RGC Minimal and VeryFlatWeather Skins.
  19.  
  20. [Variables]
  21. @include=#SKINSPATH#Genteel\Variables\Default.inc
  22. YahooWeatherCode=2348079
  23. WeatherCode=NZXX0003
  24.  
  25. ;----------------------------------------------------------
  26.  
  27. [mWeatherRSS]
  28. Measure=Plugin
  29. Plugin=Plugins\WebParser.dll
  30. UpdateRate=1600
  31. URL="http://wxdata.weather.com/wxdata/weather/local/#WeatherCode#?cc=*&unit=#Type#"
  32. 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>.*"
  33. StringIndex=1
  34. ;Debug=1
  35.  
  36.  
  37. [mIcon]
  38. Measure=Plugin
  39. Plugin=Plugins\WebParser.dll
  40. Url=[mWeatherRSS]
  41. StringIndex=20
  42.  
  43. ;[MeasureWeatherRSS]
  44. ;Measure=Plugin
  45. ;Plugin=Plugins\WebParser.dll
  46. ;UpdateRate=1800
  47. ;Url=http://weather.yahooapis.com/forecastrss?w=#YahooWeatherCode#&u=c
  48. ;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=\"(.*)\".*
  49. ;StringIndex=1
  50.  
  51. [MeasureWeatherDesc]
  52. Measure=Plugin
  53. Plugin=Plugins\WebParser.dll
  54. Url=[mWeatherRSS]
  55. StringIndex=19
  56.  
  57. [mIcon]
  58. Measure=Plugin
  59. Plugin=Plugins\WebParser.dll
  60. Url=[mWeatherRSS]
  61. StringIndex=20
  62.  
  63. [MeasureWeatherTemp]
  64. Measure=Plugin
  65. Plugin=Plugins\WebParser.dll
  66. Url=[mWeatherRSS]
  67. StringIndex=17
  68.  
  69.  
  70. ;----------------------------------------------------------
  71.  
  72. [Background]
  73. Meter=IMAGE
  74. ;SolidColor=0,0,0,100
  75. W=230
  76. H=260
  77. X=0
  78. Y=0
  79.  
  80. [MeterIcon]
  81. MeasureName=mIcon
  82. Meter=IMAGE
  83. X=23
  84. Y=13
  85. w=60
  86. h=40
  87. Antialias=1
  88.  
  89.  
  90. [Temp]
  91. MeasureName=MeasureWeatherTemp
  92. Meter=STRING
  93. X=280
  94. Y=50
  95. FontColor=#ffffff
  96. FontSize=145
  97. StringAlign=right
  98. FontFace=#Font#
  99. AntiAlias=1
  100.  
  101.  
  102. [Temp2]
  103. Meter=STRING
  104. X=-55r
  105. Y=55
  106. FontSize=100
  107. FontColor=#33b5e5
  108. StringAlign=Left
  109. FontFace=#Font#
  110. AntiAlias=1
  111. Postfix="°"
  112.  
  113.  
  114. [MeterIcon]
  115. MeasureName=mIcon
  116. Meter=IMAGE
  117. X=22
  118. Y=8
  119. w=60
  120. h=44
  121. Antialias=1
  122.  
  123.  
  124.  
  125. [Desc]
  126. MeasureName=MeasureWeatherDesc
  127. Meter=STRING
  128. X=90
  129. Y=22
  130. FontColor=#Color1#
  131. FontSize=17
  132. StringAlign=Left
  133. StringStyle=Bold
  134. FontFace=#Font#
  135. AntiAlias=1
  136.  
  137.  
  138. [TempActive]
  139. Meter=STRING
  140. MeterStyle=Temp
  141. MeasureName=MeasureWeatherTemp
  142. FontColor=#e5e5e5
  143. LeftMouseDownAction=
  144. Hidden=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement