刺眼灬Sun 发表于 2012-9-8 00:18:19

我也死计算机专业的…………但是还是没看懂………………

shoppingwoo 发表于 2012-9-8 19:55:55

每个字都看得懂,但是连起来就看不懂了{:10_380:}

一休。 发表于 2012-9-10 04:40:46

弱弱的问下,怎么把国内的皮肤代码改成国外的。

比如下面这个代码:


Author=kooyer,Ubuntutux
BackgroundMode=1

;===================seting=======================================



;Metadata added by RainBrowser
;http://rainmeter.net/RainWiki/index.php?title=Rainmeter_101#.5BMetadata.5D


Name=
Config=
Description=
Instructions=
Version=
Tags=
License=
Variant=
Preview=

;End of added Metadata


URL=http://m.weather.com.cn/data/101090113.html
URL2=http://www.weather.com.cn/html/weather/101090113.shtml
Font=黑体
Farbe=0,0,0,255


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


Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1500
Url=#URL#
;共有50个参数,10:temp3 20:image5 30:image_title6 40:fl3
RegExp="{"weatherinfo":{"city":"(.*)","city_en":"(.*)","date_y":"(.*)","date":"(.*)","week":"(.*)","fchh":"(.*)","cityid":"(.*)","temp1":"(.*)","temp2":"(.*)","temp3":"(.*)","temp4":"(.*)","weather1":"(.*)","weather2":"(.*)","weather3":"(.*)","weather4":"(.*)","img1":"(.*)","img2":"(.*)","img3":"(.*)","img4":"(.*)","img5":"(.*)","img6":"(.*)","img7":"(.*)","img8":"(.*)","img_single":"(.*)","img_title1":"(.*)","img_title2":"(.*)","img_title3":"(.*)","img_title4":"(.*)","img_title5":"(.*)","img_title6":"(.*)","img_title7":"(.*)","img_title8":"(.*)","img_title_single":"(.*)","wind1":"(.*)","wind2":"(.*)","wind3":"(.*)","wind4":"(.*)","fl1":"(.*)","fl2":"(.*)","fl3":"(.*)","fl4":"(.*)","index":"(.*)","index_d":"(.*)","index48":"(.*)","index48_d":"(.*)","index_uv":"(.*)","index48_uv":"(.*)","index_xc":"(.*)","index_tr":"(.*)","index_co":"(.*)"}}"
StringIndex=1
;Debug=1
;------------------------------------------

Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=
StringIndex=3


Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=
StringIndex=4


Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=
StringIndex=5

--
MeasureName=MeasureDate_y
Meter=STRING
X=190
Y=100
FontColor=105,190,255,240
FontSize=9
StringAlign=Right
StringStyle=BOLD
FontFace=黑体
AntiAlias=1
--
MeasureName=MeasureDate
Meter=STRING
X=190
Y=120
FontColor=105,190,255,240
FontSize=9
StringAlign=Right
StringStyle=BOLD
FontFace=黑体
AntiAlias=1
--
MeasureName=MeasureWeek
Meter=STRING
X=190
Y=140
FontColor=105,190,255,240
FontSize=9
StringAlign=Right
StringStyle=BOLD
FontFace=黑体
AntiAlias=1

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

Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=
StringIndex=1



Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=
StringIndex=8


Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=
StringIndex=9


Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=
StringIndex=10


Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=
StringIndex=11


;
;Measure=Plugin
;Plugin=Plugins\WebParser.dll
;Url=
;StringIndex=8


;
;Measure=Plugin
;Plugin=Plugins\WebParser.dll
;Url=
;StringIndex=9



Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=
StringIndex=8
IfAboveValue=1
IfAboveAction=!execute [!RainmeterHideMeter MeterIconNA][!RainmeterShowMeter MeterIcon]


Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=
StringIndex=12


Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=
StringIndex=13


Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=
StringIndex=14


Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=
StringIndex=15


Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=
StringIndex=16



Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=
StringIndex=46



Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=
StringIndex=35



Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=
StringIndex=42


Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=
StringIndex=49


Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=
StringIndex=50


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



MeasureName=MeasureCity
Meter=STRING
X=95
Y=30
FontColor=0,0,0,255
FontSize=27
StringAlign=Left
StringStyle=BOLD
FontFace=黑体
AntiAlias=1



ImageName=na.png
Meter=IMAGE
X=80
Y=60



MeasureName=MeasureWeatherIcon
Meter=IMAGE
X=5
Y=3
W=100
H=65


;
;MeasureName=MeasureWeatherTemp
;Meter=STRING
;X=138
;Y=45
;FontColor=0,0,0,255
;StringStyle=BOLD
;FontSize=18
;StringAlign=right
;FontFace=Capture it
;Antialias=1




MeasureName=MeasureWeatherTemp
Meter=STRING
X=80
Y=65
FontColor=0,0,0,255
StringStyle=BOLD
FontSize=15
StringAlign=left
FontFace=Capture it
Antialias=1
;Postfix="~"

;
;Meter=String
;X=158
;Y=40
;FontColor=#Farbe#
;FontSize=16
;Antialias=1
;StringAlign=LEFT
;StringStyle=BOLD
;FontFace=#Font#
;Text="℃"




Meter=STRING
X=100
Y=90
FontColor=0,0,0,255
FontSize=12
StringAlign=Right
StringStyle=BOLD
FontFace=#Font#
AntiAlias=1
Text=未来两天:



Meter=STRING
X=7
Y=200
FontColor=0,0,0,255
FontSize=11
StringAlign=Right
StringStyle=BOLD
FontFace=#Font#
AntiAlias=1
Text=



MeasureName=MeasureWeatherTempOne
Meter=STRING
X=45r
Y=110
FontColor=0,0,0,255
FontSize=11
StringAlign=Left
FontFace=#Font#
Antialias=1


MeasureName=MeasureFutureWeatherDescOne
Meter=STRING
X=70r
Y=110
FontColor=0,0,0,255
FontSize=11
StringAlign=Left
FontFace=#Font#
Antialias=1





Meter=STRING
X=7
Y=188
FontColor=0,0,0,255
FontSize=11
StringAlign=Right
StringStyle=BOLD
FontFace=#Font#
AntiAlias=1
Text=


MeasureName=MeasureWeatherTempTwo
Meter=STRING
X=45r
Y=130
FontColor=0,0,0,255
FontSize=11
StringAlign=Left
FontFace=#Font#
Antialias=1


MeasureName=MeasureFutureWeatherDescTwo
Meter=STRING
X=70r
Y=130
FontColor=0,0,0,255
FontSize=11
StringAlign=Left
FontFace=#Font#
Antialias=1






yw.lequn 发表于 2012-9-10 16:12:42

学习了,我也试试!

yijingcheng 发表于 2012-9-10 16:31:26

啊啊啊啊啊啊啊啊啊啊啊啊啊啊

becca454811280 发表于 2012-9-13 20:03:03

谢谢教程~~~~

リンド 发表于 2012-9-14 17:34:13

收藏,必须滴!果断自己搞一个

qq1210708663 发表于 2012-9-14 21:59:31

插一个啊阿斯达

恋起 发表于 2012-9-15 23:22:52

喜欢喜欢,收藏个

wk.. 发表于 2012-9-16 10:01:53

初学者,表示看不懂。顶个慢慢学。
页: 1 [2] 3 4 5 6 7 8 9 10 11
查看完整版本: 喜欢自己编写皮肤的可以进来看看:关于天气、WebParser、正则表达式