Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
[MeasureImageSite]
Measure=Plugin
Plugin=WebParser
URL=http://photography.nationalgeographic.com/photography/photo-of-the-day/
RegExp="(?siU)<meta property="og:image" content="http://yourshot.nationalgeographic.com/u/(.*)""
UpdateRate=3600
[MeasureImage]
Measure=Plugin
Plugin=WebParser
URL=http://yourshot.nationalgeographic.com/u/[MeasureImageSite]/?.jpg
StringIndex=1
Download=1
DownloadFile=Natgeo.jpg
[MeterOne]
Meter=Image
MeasureName=MeasureImage
PreserveAspectRatio=1
W=200
LeftMouseUpAction=[[MeasureImage]]
DynamicVariables=1
and I saw that it causes rainmeter.exe to use a little over 70mb more than without it.
I would like to figure out why but I have no idea how to go about it, I suspect that it is because it downloads the full res image
and not just the small one that is displayed when you actually go to http://photography.nationalgeographic.com/photography/photo-of-the-day/
(but I can't find the link to that downsized version in the source, thanks js I guess).
However I also don't see why a 1,3mb (in the case of today) picture would cause rainmeter to use 70mb+ of ram..
Any suggestions/ideas?
//edit: Another question just popped up, will this actually change to the new picture once the website updates? i had to set DownloadFile or it wouldn't work because the output is just a file called "index" that rainmeter can't open because of the missing .jpg file extension.