|
本帖最後由 toomy888 於 26-11-2009 23:54 編輯
************ Rainmeter weather.ini 内容 ************
;=========================
==================
; Rainmeter configuration file
;=========================
==================
[Rainmeter]
Author=TheNobody
AppVersion=1.2
Update=1000
BackgroundMode=0
[Meterbackground]
Meter=IMAGE
X=0
Y=0
W=460
H=120
ImageName=Fullblank.png
;=========================
==================
; Weather Dysplay
;=========================
==================
[Variables]
fontColor.Text=255, 255, 255, 240
bar.color=255, 255, 255, 50
bar.color=255, 255, 255, 50
graph.line1=255, 255, 255, 75
graph.line2=255, 255, 255, 37
border.color=255, 255, 255, 75
FontName=Arial
FontHeight=8
AntiAlias=1
; Please replace your location code of Weather.com below, e.g: New York is USNY0996.
;You can check it on Weather.com or Google.
dest=CHXX0049
; define Fahrenheit Scale = f or Celsius = m
SCALE=m
; define show Scale Mark
SCALE.txt=℃
;=========================
==========================
=============
[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.d
ll
; updated weather ~2minut
UpdateRate=3600
Url=http://xoap.weather.com/we
ather/local/#CHXX0049#?cc=
*&unit=#m#&dayf=6
RegExp="(?siU)<weather ver=(.*)>(.*)<dnam>(.*)</d
nam>(.*)<lat>(.*)</lat>(.*
)<lon>(.*)</lon>(.*)<sunr>
(.*)</sunr>(.*)<suns>(.*)<
/suns>(.*)<lsup>(.*)</lsup
>(.*)<tmp>(.*)</tmp>(.*)<f
lik>(.*)</flik>(.*)<t>(.*)
</t>(.*)<icon>(.*)</icon>(
.*)<r>(.*)</r>(.*)<d>(.*)<
/d>(.*)(.*)(.*)<d>(.*)</d>(.*)<t>(.*)
</t>(.*)<hmid>(.*)</hmid>(
.*)<vis>(.*)</vis>(.*)(.*)(.*)<t>(.*)</t>(.*)<icon>(
.*)</icon>(.*)<t>(.*)</t>(
.*)"
StringIndex=1
;Debug=1
;-------------------------
-------
[MeasureWeatherDestination
]
Measure=Plugin
Plugin=Plugins\WebParser.d
ll
Url=[MeasureWeatherRSS]
StringIndex=3
[MeasureWeatherlat]
Measure=Plugin
Plugin=Plugins\WebParser.d
ll
Url=[MeasureWeatherRSS]
StringIndex=5
[MeasureWeatherlon]
Measure=Plugin
Plugin=Plugins\WebParser.d
ll
Url=[MeasureWeatherRSS]
StringIndex=7
[MeasureWeatherSunrise]
Measure=Plugin
Plugin=Plugins\WebParser.d
ll
Url=[MeasureWeatherRSS]
StringIndex=9
[MeasureWeatherSunSet]
Measure=Plugin
Plugin=Plugins\WebParser.d
ll
Url=[MeasureWeatherRSS]
StringIndex=11
[MeasureWeatherLastUpdate]
Measure=Plugin
Plugin=Plugins\WebParser.d
ll
Url=[MeasureWeatherRSS]
StringIndex=13
[MeasureWeatherTemp]
Measure=Plugin
Plugin=Plugins\WebParser.d
ll
Url=[MeasureWeatherRSS]
StringIndex=15
[MeasureWeatherTempLike]
Measure=Plugin
Plugin=Plugins\WebParser.d
ll
Url=[MeasureWeatherRSS]
StringIndex=17
[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.d
ll
Url=[MeasureWeatherRSS]
StringIndex=19
[MeasureWeatherIcon]
Measure=Plugin
Plugin=Plugins\WebParser.d
ll
Url=[MeasureWeatherRSS]
StringIndex=21
[MeasureWeatherPressure]
Measure=Plugin
Plugin=Plugins\WebParser.d
ll
Url=[MeasureWeatherRSS]
StringIndex=23
[MeasureWeatherPressureDir
ection]
Measure=Plugin
Plugin=Plugins\WebParser.d
ll
Url=[MeasureWeatherRSS]
StringIndex=25
[MeasureWeatherWindSpeed]
Measure=Plugin
Plugin=Plugins\WebParser.d
ll
Url=[MeasureWeatherRSS]
StringIndex=27
[MeasureWeatherWindDirecti
on]
Measure=Plugin
Plugin=Plugins\WebParser.d
ll
Url=[MeasureWeatherRSS]
StringIndex=29
[MeasureWeatherWindDirecti
onN]
Measure=Plugin
Plugin=Plugins\WebParser.d
ll
Url=[MeasureWeatherRSS]
StringIndex=31
[MeasureWeatherHumidity]
Measure=Plugin
Plugin=Plugins\WebParser.d
ll
Url=[MeasureWeatherRSS]
StringIndex=33
[MeasureWeatherVisibility]
Measure=Plugin
Plugin=Plugins\WebParser.d
ll
Url=[MeasureWeatherRSS]
StringIndex=35
[MeasureWeatherUltraviolet
]
Measure=Plugin
Plugin=Plugins\WebParser.d
ll
Url=[MeasureWeatherRSS]
StringIndex=37
[MeasureWeatherUltraviolet
Dest]
Measure=Plugin
Plugin=Plugins\WebParser.d
ll
Url=[MeasureWeatherRSS]
StringIndex=39
;=========================
==========================
=============
[refresh.weather]
Meter=Button
ButtonImage=refresh.png
X=4
Y=8
ButtonCommand=!Execute [!RainmeterRefresh]
[refresh.weather2]
Meter=Button
ButtonImage=refresh.png
;X=312
X=410
Y=8
ButtonCommand=!Execute [!RainmeterRefresh]
[cara1]
Meter=IMAGE
X=0
Y=19
;W=332
W=430
H=1
SolidColor=#border.color#
[MeterIcon]
MeasureName=MeasureWeather
Icon
Meter=IMAGE
X=140
Y=10r
W=80
H=80
[MeterTodayUpdate]
MeasureName=MeasureWeather
LastUpdate
Meter=STRING
X=-120r
Y=-21r
StringStyle=BOLD
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Antialias=1
[MeterTempDestination]
MeasureName=MeasureWeather
Destination
Meter=STRING
X=0r
Y=17r
StringStyle=BOLD
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Antialias=1
[MeterWeatherlat]
MeasureName=MeasureWeather
lat
MeasureName2=MeasureWeathe
rlon
Meter=STRING
X=0r
Y=12r
StringStyle=BOLD
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Text="Lat %1?- Lon %2?
Antialias=1
[MeterTempDescription]
MeasureName=MeasureWeather
Desc
Meter=STRING
X=0r
Y=12r
StringStyle=BOLD
StringAlign=LEFT
FontColor=128, 0, 0
FontSize=14
FontFace=#FontName#
Antialias=1
[MeterTempToday]
MeasureName=MeasureWeather
Temp
Meter=STRING
X=0r
Y=20r
StringStyle=BOLD
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=16
FontFace=#FontName#
PostFix="#SCALE.txt#"
Antialias=1
[MeterTempLikeToday]
MeasureName=MeasureWeather
TempLike
Meter=STRING
X=0r
Y=25r
StringStyle=BOLD
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Text="(Feels like %1#SCALE.txt#)"
Antialias=1
[MeterTodayWind]
MeasureName=MeasureWeather
WindSpeed
MeasureName2=MeasureWeathe
rWindDirection
MeasureName3=MeasureWeathe
rWindDirectionN
Meter=STRING
X=220r
Y=-67r
StringStyle=BOLD
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Text="Wind: %1 km/h - %3"
Antialias=1
NumOfDecimals=0
[MeterTodayPressure]
MeasureName=MeasureWeather
Pressure
MeasureName2=MeasureWeathe
rPressureDirection
Meter=STRING
X=0r
Y=15r
StringStyle=BOLD
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Text="Pressure: %1 mb. and %2"
Antialias=1
[MeterTodayHumidity]
MeasureName=MeasureWeather
Humidity
Meter=STRING
X=0r
Y=15r
StringStyle=BOLD
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Text="Humidity: %1%"
Antialias=1
[MeterTodayVisibility]
MeasureName=MeasureWeather
Visibility
Meter=STRING
X=0r
Y=15r
StringStyle=BOLD
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Text="Visibility: %1 km"
Antialias=1
[MeterTodayUltraviolet]
MeasureName=MeasureWeather
Ultraviolet
MeasureName2=MeasureWeathe
rUltravioletDest
Meter=STRING
X=0r
Y=15r
StringStyle=BOLD
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Text="UV: %1 and %2"
Antialias=1
[MeterSun]
MeasureName=MeasureWeather
Sunrise
MeasureName2=MeasureWeathe
rSunSet
Meter=STRING
X=0r
Y=15r
StringStyle=BOLD
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Text="Sunrise %1 - Sunset %2"
Antialias=1
NumOfDecimals=0
************ Rainmeter weather.ini 内容 ************
有無人知錯處係邊= =

小弟想知點整個RSS |
|