; Lines starting ; (semicolons) are commented out. ; That is, they do not affect the code and are here for demonstration purposes only. ; ---------------------------------- [Rainmeter] ; This section contains general settings that can be used to change how Rainmeter behaves. Author=poiru AppVersion=2003000 Update=1000 Background=#@#Background.png ; #@# is equal to Rainmeter\Skins\illustro\@Resources BackgroundMode=3 BackgroundMargins=0,34,0,14 [Metadata] ; Contains basic information of the skin Description=Displays the latest entries of a RSS or Atom feed. License=Creative Commons BY-NC-SA 3.0 Version=1.0.0 [Variables] ; Variables declared here can be used later on between two # characters (e.g. #MyVariable#). fontName=Trebuchet MS textSize=8 colorBar=235,170,0,255 colorText=255,255,255,205 getItem=.*(?(?=.*
).*
.*(.*)) feedURL=http://feeds.gawker.com/lifehacker/full ; edit feedURL to change displayed feed ; ---------------------------------- ; MEASURES return some kind of value ; ---------------------------------- [measureFeed] ; WebParser measures are relatively complicated. If you're a beginner with ; Rainmeter, take a look at some of the other illustro skins before modifying this one. Measure=Plugin Plugin=WebParser.dll Url=http://www.google.com/reader/view/feed/#feedURL#?n=8 RegExp="(?siU)

(.*)

#getItem##getItem##getItem##getItem##getItem##getItem##getItem##getItem#" UpdateRate=1500 StringIndex=1 Substitute="":"N/A" ; Substitute works as follows: "A":"B" where A is a string to substitute and B is a string ; to substitute with. In this case, it substutes "" (i.e. empty) to N/A ; The WebParser plugin requires a unique measure for every string index it returns that needs to be read. ; The RegExp parameter only needs to be specified once per URL. [measureLink1] Measure=Plugin Plugin=WebParser.dll Url=[measureFeed] StringIndex=2 [measureItem1] Measure=Plugin Plugin=WebParser.dll Url=[measureFeed] StringIndex=3 DecodeCharacterReference=1 ; When is set to DecodeCharacterReference=1, WebParser automatically decodes numeric character references ; and character entity references. For example, " will automatically be decoded to " [measureLink2] Measure=Plugin Plugin=WebParser.dll Url=[measureFeed] StringIndex=4 [measureItem2] Measure=Plugin Plugin=WebParser.dll Url=[measureFeed] StringIndex=5 DecodeCharacterReference=1 [measureLink3] Measure=Plugin Plugin=WebParser.dll Url=[measureFeed] StringIndex=6 [measureItem3] Measure=Plugin Plugin=WebParser.dll Url=[measureFeed] StringIndex=7 DecodeCharacterReference=1 [measureLink4] Measure=Plugin Plugin=WebParser.dll Url=[measureFeed] StringIndex=8 [measureItem4] Measure=Plugin Plugin=WebParser.dll Url=[measureFeed] StringIndex=9 DecodeCharacterReference=1 [measureLink5] Measure=Plugin Plugin=WebParser.dll Url=[measureFeed] StringIndex=10 [measureItem5] Measure=Plugin Plugin=WebParser.dll Url=[measureFeed] StringIndex=11 DecodeCharacterReference=1 [measureLink6] Measure=Plugin Plugin=WebParser.dll Url=[measureFeed] StringIndex=12 [measureItem6] Measure=Plugin Plugin=WebParser.dll Url=[measureFeed] StringIndex=13 DecodeCharacterReference=1 [measureLink7] Measure=Plugin Plugin=WebParser.dll Url=[measureFeed] StringIndex=14 [measureItem7] Measure=Plugin Plugin=WebParser.dll Url=[measureFeed] StringIndex=15 DecodeCharacterReference=1 [measureLink8] Measure=Plugin Plugin=WebParser.dll Url=[measureFeed] StringIndex=16 [measureItem8] Measure=Plugin Plugin=WebParser.dll Url=[measureFeed] StringIndex=17 DecodeCharacterReference=1 ; ---------------------------------- ; STYLES are used to "centralize" options ; ---------------------------------- [styleTitle] StringAlign=CENTER StringCase=UPPER StringStyle=BOLD StringEffect=SHADOW FontEffectColor=0,0,0,50 FontColor=#colorText# FontFace=#fontName# FontSize=10 AntiAlias=1 ClipString=1 [styleLeftText] StringAlign=LEFT ; Meters using styleLeftText will be left-aligned. StringCase=NONE StringStyle=BOLD StringEffect=SHADOW FontEffectColor=0,0,0,20 FontColor=#colorText# FontFace=#fontName# FontSize=#textSize# AntiAlias=1 ClipString=1 [styleSeperator] SolidColor=255,255,255,15 ; ---------------------------------- ; METERS display images, text, bars, etc. ; ---------------------------------- [meterTitle] Meter=STRING MeterStyle=styleTitle ; Using MeterStyle=styleTitle will basically "copy" the contents ; of the [styleTitle] section here during runtime. MeasureName=measureFeed X=100 Y=12 W=190 H=18 Text="%1" ; %1 stands for the value of MeasureName (measureFeed in this case). [meterItem1] Meter=STRING MeterStyle=styleLeftText MeasureName=measureItem1 X=10 Y=40 W=190 H=14 Text="%1" LeftMouseUpAction=!Execute ["[measureLink1]"] ; When the mouse is clicked and released on this meter, the value of ; measureLink1 (an address) will be opened in the default browser. ToolTipText="%1" ; Hovering over this meter will display a tooltip with the text of %1 (i.e. the value of measureItem1). [meterSeperator1] Meter=IMAGE MeterStyle=styleSeperator X=10 Y=52 W=190 H=1 [meterItem2] Meter=STRING MeterStyle=styleLeftText MeasureName=measureItem2 X=10 Y=60 W=190 H=14 Text="%1" LeftMouseUpAction=!Execute ["[measureLink2]"] ToolTipText="%1" [meterSeperator2] Meter=IMAGE MeterStyle=styleSeperator X=10 Y=72 W=190 H=1 [meterItem3] Meter=STRING MeterStyle=styleLeftText MeasureName=measureItem3 X=10 Y=80 W=190 H=14 Text="%1" LeftMouseUpAction=!Execute ["[measureLink3]"] ToolTipText="%1" [meterSeperator3] Meter=IMAGE MeterStyle=styleSeperator X=10 Y=92 W=190 H=1 [meterItem4] Meter=STRING MeterStyle=styleLeftText MeasureName=measureItem4 X=10 Y=100 W=190 H=14 Text="%1" LeftMouseUpAction=!Execute ["[measureLink4]"] ToolTipText="%1" [meterSeperator4] Meter=IMAGE MeterStyle=styleSeperator X=10 Y=112 W=190 H=1 [meterItem5] Meter=STRING MeterStyle=styleLeftText MeasureName=measureItem5 X=10 Y=120 W=190 H=14 Text="%1" LeftMouseUpAction=!Execute ["[measureLink5]"] ToolTipText="%1" [meterSeperator5] Meter=IMAGE MeterStyle=styleSeperator X=10 Y=132 W=190 H=1 [meterItem6] Meter=STRING MeterStyle=styleLeftText MeasureName=measureItem6 X=10 Y=140 W=190 H=14 Text="%1" LeftMouseUpAction=!Execute ["[measureLink6]"] ToolTipText="%1" [meterSeperator6] Meter=IMAGE MeterStyle=styleSeperator X=10 Y=152 W=190 H=1 [meterItem7] Meter=STRING MeterStyle=styleLeftText MeasureName=measureItem7 X=10 Y=160 W=190 H=14 Text="%1" LeftMouseUpAction=!Execute ["[measureLink7]"] ToolTipText="%1" [meterSeperator7] Meter=IMAGE MeterStyle=styleSeperator X=10 Y=172 W=190 H=1 [meterItem8] Meter=STRING MeterStyle=styleLeftText MeasureName=measureItem8 X=10 Y=180 W=190 H=14 Text="%1" LeftMouseUpAction=!Execute ["[measureLink8]"] ToolTipText="%1" [meterSeperator8] Meter=IMAGE MeterStyle=styleSeperator X=10 Y=192 W=190 H=1