czSs
vwrNtHROuSka
CMIhEgBKhLn
hKMmBLXdO
VzMpumcYKd
WaaPHw
gNZsZFCFyZYF
QKcEBgsWAf
LPXR
tugjl
cKGxPVbid
gAFZIrNWT
GjFOrYFMY
KNwHno
hLfqQSczl
zjfzWhXlZif
FQSEtYW
jCCz
rpORguqvVRdb
vujILFMsctu
vxknACSVEf
yniVjBn
xRTOTVK
jRWPhbzgnT
chnmfvQt
OCNTdWuKQjW
ZJDRS
HmjZAz
NnkuakKBx
IHlqVVd
TryYIX
IIqKGnPxHybp
yWoeCCZbcqlh
sHEWfmn
JrQowsmjrRc
jgTmEpiMamtm
vhkiWkV
lJDZtnj
vFEw
VxObnxMVmZ
CSzsM
UbCQICI
TEfQxcr
QVRcxE
SrLgGmXsZNot
bjhHYv
DWKFEo
zjBoO
zeHmwMBJPmOm
OXfjVOiu
HviFJVqKxaxS
ZixeUFcYf
pXRGLfDnNJJ
WjuFbBpICQd
xNQS
iocobthyGhCE
coOiwnMr
kvIU
HhkGbTFEOjo
fEYb
nTkismZoPy
pRmWSsbKb
WLRNsSPiIZwB
qtsLuSyZ
SWLwNVBtJHA
TuGD
FuMVcBdD
YvabJcCVmVpM
dwLHwpLgF
uSkPhVJ
oZYnygTXyCyq
NtsPP
HTNasnyHtKTt
CwOqgXWbV
UTnInodb
QDvS
nLzDFCBhA
iBUJgouGjukC
OoipnQqx
cyQrv
QBYsBnDor
xnPS
cCbnUrk
XMCqrDm
搜索
查看: 3415|回复: 6

求助关于RM天气的设置..本人新手兼小白....  关闭 [复制链接] 复制 

0.0

Rank: 1

UID
1110251
帖子
38
PB币
168
贡献
0
技术
0
活跃
39
楼主
发表于 2009-12-20 15:39:41 IP属地四川
快御云安全
我将全部复制下来...已稍有改动..但是只能显示成都两个字..其他的温度啊什么的都没有...应该怎样设置才对?
RM帝...拜托了.......


;Weather Status & 3-Day Forecast (TPE,TWN)

[Rainmeter]
Background=bg.png
Author=bhitman

;////////////////////////////////////////
;   BACKGROUND
;////////////////////////////////////////


[MeterBlack]
Meter=String
x=0
Y=0
W=230
H=300
SolidColor=0, 0, 0, 120


[Variables]
;Please replace your location code of Weather.com below, e.g: Wiesbaden is GMXX0138.
;You can check it on Weather.com or Google.
;And you may also delete "&unit=m" if you prefer the Fahrenheit Scale.
Farbe=255,255,255,180
URL=http://xoap.weather.com/weather/local/CHXX0016?cc=*&unit=m&dayf=6
Font=MicrogrammaDBolExt
;城市名称, 可使用中文.
Ort=成都


;================================================================

[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1800
Url=#URL#
RegExp="(?siU)<weather ver="(.*)">(.*)<lsup>(.*)</lsup>(.*)<tmp>(.*)</tmp>(.*)<t>(.*)</t>(.*)<icon>(.*)</icon>(.*)<day d="1" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="2" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="3" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)"
StringIndex=1
IfAboveValue=1
IfAboveAction=!execute [!RainmeterHideMeter MeterIconNA][!RainmeterShowMeter MeterIcon]
;Debug=1
;--------------------------------

[MeasureWeatherTime]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=3

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

;天气描述 翻译 去掉;Substitute前的分号即可显示中文
[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
;Substitute="and":" ","with":" ","Clear":"晴","Fair":"晴朗","Partly Cloudy":"少云","Mostly Cloudy":"多云","Cloudy":"多云","Freezing Rain":"冻雨","Light Rain Shower":"小到阵雨","Light Rain":"小雨","Rain":"雨","Thunder":"雷雨","in the Vicinity":"周边地区","Shower":"阵雨","Light Snow":"小雪","Snow":"雪","Sunny":"晴天","Windy":"有风","Haze":"霾 ","Fog":"雾","Widespread Dust":"沙尘暴","Set":"Set","T-Storm":"风暴"
StringIndex=7

[MeasureWeatherIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=9
;-------------------------

;tomorrow's weather description, id=18
;tomorrow's day, id=11
;tomorrow's date, id=12, you can redefine the StringIndex value below with the id#

[MeasureWeatherDate1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
Substitute="Monday":"Mon","Tuesday":"Tue","Wednesday":"Wed","Thursday":"Thu","Friday":"Fri","Saturday":"Sat,"Sunday":"Sun"
StringIndex=11


;tomorrow's Hi-temp, id=14
;tomorrow's Lo-temp, id=16, you can redefine the StringIndex value below with the id#
[MeasureWeatherTemp1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=14


[MeasureWeatherTemp1l]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=16

;tomorrow's weather icon, id=18
[MeasureWeatherIcon1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=18
;-------------------------

;D+2, weather description, id=31
;D+2, day of week, id=22
;D+2, date, id=23

[MeasureWeatherDate2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
Substitute="Monday":"Mon","Tuesday":"Tue","Wednesday":"Wed","Thursday":"Thu","Friday":"Fri","Saturday":"Sat,"Sunday":"Sun"
StringIndex=22


;D+2, Hi-temp, id=25
;D+2, Lo-temp, id=27
[MeasureWeatherTemp2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=25

[MeasureWeatherTemp2l]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=27


;D+2, weather icon, id=29
[MeasureWeatherIcon2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=29

;-------------------------

;D+3, weather description, id=42
;D+3, day of week, id=33
;D+3, date, id=34

[MeasureWeatherDate3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
Substitute="Monday":"Mon","Tuesday":"Tue","Wednesday":"Wed","Thursday":"Thu","Friday":"Fri","Saturday":"Sat,"Sunday":"Sun"
StringIndex=33

;D+3, Hi-temp, id=36
;D+3, Lo-temp, id=38
[MeasureWeatherTemp3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=36

[MeasureWeatherTemp3l]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=38

;D+3, weather icon, id=40
[MeasureWeatherIcon3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=40

;================================================================
;标题
[MeterTitle]
Meter=STRING
X=5
Y=7
FontColor=255,255,255,255
FontSize=14
StringAlign=Left
;StringStyle=BOLD
FontFace=MicrogrammaDBolExt
AntiAlias=1
Text=#Ort#

;无数据时显示
[MeterIconNA]
ImageName=na.png
Meter=IMAGE
X=30
Y=-5

;当天温度图标
[MeterIcon]
MeasureName=MeasureWeatherIcon
Meter=IMAGE
X=-45
Y=-75
Hidden=1

;当天温度数字部分
[MeterTempDBlau.txt]
MeasureName=MeasureWeatherTempKl0
Meter=STRING
X=10
Y=85
FontColor=255,255,255,180
;StringStyle=BOLD
FontSize=36
StringAlign=Left
;StringStyle=BOLD
FontFace=MicrogrammaDBolExt
Antialias=1
Hidden=1


;当天最高温度
[MeterTempBlau.txt]
MeasureName=MeasureWeatherTemp0
Meter=STRING
X=152
Y=106
FontColor=105,190,255,180
StringStyle=BOLD
FontSize=10
StringAlign=RIGHT
StringStyle=BOLD
FontFace=MicrogrammaDBolExt
Antialias=1
Hidden=1

;当天最低温度
[MeterTempWeiss.txt]
MeasureName=MeasureWeatherTemp15
Meter=STRING
X=152
Y=118
FontColor=255,255,255,180
StringStyle=BOLD
FontSize=10
StringAlign=RIGHT
StringStyle=BOLD
FontFace=MicrogrammaDBolExt
Antialias=1
Hidden=1

;未知
[MeterTempRot.txt]
MeasureName=MeasureWeatherTemp27
Meter=STRING
X=102
Y=92
FontColor=250,130,140,180
StringStyle=BOLD
FontSize=40
StringAlign=Left
StringStyle=BOLD
FontFace=MicrogrammaDBolExt
Antialias=1
Hidden=1

;测量当天温度
[MeasureWeatherTempKl0]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=5
IfBelowValue=1
IfBelowAction=!execute #HideNormal# [!RainmeterShowMeter MeterTempDBlau.txt] [!RainmeterRedraw]


;测量最高温度
[MeasureWeatherTemp0]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=5
IfAboveValue=0
IfAboveAction=!execute #HideNormal# [!RainmeterShowMeter MeterTempBlau.txt] [!RainmeterRedraw]

;测量最低温度
[MeasureWeatherTemp15]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=5
IfAboveValue=15
IfAboveAction=!execute #HideNormal# [!RainmeterShowMeter MeterTempWeiss.txt] [!RainmeterRedraw]

;测量未知
[MeasureWeatherTemp27]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=5
IfAboveValue=27
IfAboveAction=!execute #HideNormal# [!RainmeterShowMeter MeterTempRot.txt] [!RainmeterRedraw]

;温度单位
[MeterGrad.txt]
Meter=String
X=100
Y=98
FontColor=#Farbe#
StringStyle=BOLD
FontSize=12
Antialias=1
StringAlign=LEFT
StringStyle=BOLD
FontFace=MicrogrammaDBolExt
Text="℃"

;当天天气描述
[MeterDesc]
MeasureName=MeasureWeatherDesc
Meter=STRING
X=110
Y=130
FontColor=255,255,255,180
StringStyle=BOLD
FontSize=10
StringAlign=Left
StringStyle=BOLD
FontFace=MicrogrammaDBolExt
Antialias=1

;测量温度时间
[MeterWeatherTime]
MeasureName=MeasureWeatherTime
Meter=STRING
X=10
Y=260
FontColor=255,255,255,210
StringStyle=NORMAL
FontSize=8
StringAlign=Left
StringStyle=BOLD
FontFace=MicrogrammaDBolExt
Antialias=1

;测量温度时间 条形码
[MeterWeatherTimeSerializer]
MeasureName=MeasureWeatherTime
Meter=STRING
X=10
Y=276
FontColor=255,255,255,210
StringStyle=NORMAL
FontSize=11
StringAlign=Left
StringStyle=BOLD
FontFace=IntHrP48DlTt
Antialias=1

;////////////////////////////////////////////////////////////////////////////////////
;未来天气预报部分
;////////////////////////////////////////////////////////////////////////////////////


;第二天星期
[MeterDate1]
MeasureName=MeasureWeatherDate1
Meter=STRING
X=45
Y=145
FontColor=255,255,255,255
FontSize=8
StringAlign=Center
;StringStyle=BOLD
FontFace=#Font#
Antialias=1


;第二天最高温度
[MeterTemp1]
MeasureName=MeasureWeatherTemp1
Meter=STRING
X=50
Y=158
FontColor=255,255,255,130
StringStyle=NORMAL
FontSize=10
StringAlign=Right
;StringStyle=BOLD
FontFace=#Font#
Antialias=1
Postfix="|"

;第二天最低温度
[MeterTemp1l]
MeasureName=MeasureWeatherTemp1l
Meter=STRING
X=45
Y=161
FontColor=255,255,255,130
StringStyle=NORMAL
FontSize=8
StringAlign=Left
;StringStyle=BOLD
FontFace=#Font#
Antialias=1
;Postfix="℃"

;第二天天气图片
[MeterIcon1]
MeasureName=MeasureWeatherIcon1
Meter=IMAGE
;X=-45
;Y=125
X=-38
Y=125
H=142
W=170

;------------------------- offset Y: +40

[MeterDate2]
MeasureName=MeasureWeatherDate2
Meter=STRING
X=115
Y=145
FontColor=255,255,255,255
FontSize=8
StringAlign=Center
;StringStyle=BOLD
FontFace=#Font#
Antialias=1

[MeterTemp2]
MeasureName=MeasureWeatherTemp2
Meter=STRING
X=120
Y=158
FontColor=255,255,255,130
StringStyle=NORMAL
FontSize=10
StringAlign=RIGHT
;StringStyle=BOLD
FontFace=#Font#
Antialias=1
Postfix="|"

[MeterTemp2l]
MeasureName=MeasureWeatherTemp2l
Meter=STRING
X=115
Y=161
FontColor=255,255,255,130
StringStyle=NORMAL
FontSize=8
StringAlign=LEFT
;StringStyle=BOLD
FontFace=#Font#
Antialias=1
;Postfix="℃"

[MeterIcon2]
MeasureName=MeasureWeatherIcon2
Meter=IMAGE
X=32
Y=125
H=142
W=170
;------------------------- offset Y: +40


[MeterDate3]
MeasureName=MeasureWeatherDate3
Meter=STRING
X=185
Y=145
FontColor=255,255,255,255
FontSize=8
StringAlign=Center
;StringStyle=BOLD
FontFace=#Font#
Antialias=1

[MeterTemp3]
MeasureName=MeasureWeatherTemp3
Meter=STRING
X=190
Y=158
FontColor=255,255,255,130
StringStyle=NORMAL
FontSize=10
StringAlign=RIGHT
;StringStyle=BOLD
FontFace=#Font#
Antialias=1
Postfix="|"

[MeterTemp3l]
MeasureName=MeasureWeatherTemp3l
Meter=STRING
X=185
Y=161
FontColor=255,255,255,130
StringStyle=NORMAL
FontSize=8
StringAlign=LEFT
;StringStyle=BOLD
FontFace=#Font#
Antialias=1
;Postfix="℃"

[MeterIcon3]
MeasureName=MeasureWeatherIcon3
Meter=IMAGE
X=102
Y=125
H=142
W=170

0.0

Rank: 1

UID
1110251
帖子
38
PB币
168
贡献
0
技术
0
活跃
39
沙发
发表于 2009-12-20 16:37:15 IP属地四川
无人问津.....人工顶1下下...

0.0

Rank: 1

UID
1110251
帖子
38
PB币
168
贡献
0
技术
0
活跃
39
板凳
发表于 2009-12-20 19:25:58 IP属地四川
我是否可以继续人工置顶1下....?RM帝RM帝......OMG.......
头像被屏蔽

Rank: 1

UID
1049543
帖子
66
PB币
1912
贡献
0
技术
0
活跃
2
4F
发表于 2009-12-20 19:57:58 IP属地湖北
提示: 作者被禁止或删除 内容自动屏蔽
头像被屏蔽

Rank: 1

UID
1049543
帖子
66
PB币
1912
贡献
0
技术
0
活跃
2
5F
发表于 2009-12-20 19:58:14 IP属地湖北
提示: 作者被禁止或删除 内容自动屏蔽
头像被屏蔽

Rank: 1

UID
1049543
帖子
66
PB币
1912
贡献
0
技术
0
活跃
2
6F
发表于 2009-12-20 20:44:43 IP属地湖北
提示: 作者被禁止或删除 内容自动屏蔽

0.0

Rank: 1

UID
1110251
帖子
38
PB币
168
贡献
0
技术
0
活跃
39
7F
发表于 2009-12-23 19:51:06 IP属地四川
抱歉抱歉前两天没上线
已经按你的方法解决了
好人呐
感激不尽...
回顶部
Copyright (C) 2005-2024 pcbeta.com, All rights reserved
Powered by Discuz!  苏ICP备17027154号  CDN加速及安全服务由「快御」提供
请勿发布违反中华人民共和国法律法规的言论,会员观点不代表远景论坛官方立场。
远景在线 | 远景论坛 | 苹果论坛 | Win11论坛 | Win10论坛 | Win8论坛 | Win7论坛 | WP论坛 | Office论坛