Skip to content

Instantly share code, notes, and snippets.

@DeltaF1
Created July 15, 2016 16:22
Show Gist options
  • Save DeltaF1/6357acd37683580e4e0bb3b1366e8360 to your computer and use it in GitHub Desktop.
Save DeltaF1/6357acd37683580e4e0bb3b1366e8360 to your computer and use it in GitHub Desktop.
[RainMeter]
Update=360000
[Variables]
transparency = 100
width=250
height=300
;must be an rss feed with img attributes.
URL = http://beeple.tumblr.com/rss
[Metadata]
Name=RSS Image Feed
Author=DeltaF1
Information=Pulls the latest image from an rss feed and displays it
License=WTFPL
Version=1.0.0
[MeasureWeb1]
Measure=Plugin
Plugin=WebParser
URL=#URL#
RegExp=(?siU).*img src="(.*)"
Debug=2
UpdateRate=1
[MeasureImage1]
Measure=Plugin
Plugin=WebParser
URL=[MeasureWeb1]
StringIndex=1
Download=1
FinishAction=[!UpdateMeter MeterImage][!Log "Download finished"][!Redraw]
[MeterImage]
Meter=Image
MeasureName=MeasureImage1
X=5
Y=5
W=#width#
Debug=2
PreserveAspectRatio=1
[MeterDebug]
Meter=String
Text=""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment