Code:
[Rainmeter]Update=1000AccurateText=1DynamicWindowSize=1[Variables][MeasureRun]Measure=PluginPlugin=RunCommandParameter=curl -I https://www.cnn.comState=HideOutputType=ANSIRegExpSubstitute=1Substitute="(?siU)^.*last-modified: (.+)\n.*$":"\1"[MeasureEvalTime]Measure=TimeFormat=%A, %B %#d, %Y %#I:%M %pTimeStamp=[MeasureRun]TimeStampFormat=%a, %d %b %Y %H:%M:%S DynamicVariables=1[MeterString]Meter=StringFontColor=255,255,255,255FontSize=15SolidColor=0,0,0,1AntiAlias=1Text=HelloLeftMouseUpAction=[!CommandMeasure MeasureRun "Run"]
So what you could do is to have an IfMatch comparison between the value of the Time measure and a #Variable#, which you set with the value of the Time measure WHEN the comparison is NOT equal. If the comparison is not equal, you fire up your WebParser to get the site data. If the comparison is equal, you do the cURL again. Set this process to once a minute with UpdateDivider.
All of this is predicated on the assumption that the site in question will update that "last-modified" field when, and only when, the weather information on the site changes. I give this about a 20% chance of working this way...
Statistics: Posted by jsmorley — Yesterday, 6:39 pm