It is currently April 24th, 2024, 10:51 pm

WebParser and UpdateDivider

General topics related to Rainmeter.
idefaye
Posts: 3
Joined: October 28th, 2016, 2:30 pm

WebParser and UpdateDivider

Post by idefaye »

I have the following settings

Code: Select all

[Rainmeter]
Update=1000
;...

[Variables]
JiraTeam=TeamA
;...

[MeasureRSSParent]
Measure=Plugin
Plugin=WebParser
URL=#UrlAllDefects#+AND+Team+%3D+%22#JiraTeam#
RegExp=(?siU).*
; updates every 5 minutes ( Update x UpdateDivider x UpdateRate)
UpdateDivider=60
UpdateRate=5
With these settings when I do from another skin this:

Code: Select all

LeftMouseUpAction=[!SetVariable JiraTeam #JiraTeam# "Jira\JiraList"][!CommandMeasure MeasureRSSParent "Update" "Kronos\JiraList"]
Then I will get the list update only after 60 seconds.

If I change the settings to this:

Code: Select all

UpdateDivider=1
UpdateRate=300
Then the list will update right after 1 seconds.

The doc does say the !CommandMeasure Update will override UpdateRate but then goes on to say it will "immediately access and parse the resource defined in URL". This is confusing and took me quite a bit to figure out that the UpdateDivider was the cause of the issue.
It is also confusing, because here the update command has a different defintion of !UpdateMeasure bang. I understand now the differences, but the documentation would benefit from making this clearer I believe.
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: WebParser and UpdateDivider

Post by jsmorley »