I've read the documentation but I am still confused as to what can and can't be done with WebParser..
I'm not sure I know how to explain this but I'll do my best (.rmskin at the bottom)
My setup:
I have "ID"s variables inside the Variables.inc file (1 to 5)
I have "OldID"s variables inside the ini file (1 to 5)
I have "Name" variables inside the ini file (1 to 5)
one "IDA" variable inside the ini file set to 1 by defaut.
What I'm trying to do:
When the skin is loaded or refreshed:
-a Loop measure start at 1 with UpdateDivider=-1, Increment at 1 and OnChangeAction set to update the following measure:
-a other measure set to UpdateDivider=-1, checks to see if [#OldID[#IDA]] and [#ID[#IDA]] are identical. If yes, Increase #IDA# by one and update the Loop. If not, enable all the WebParser measures and set [#OldID[#IDA]] to [#ID[#IDA]].
On the same measure I do a second check, If #IDA#=5, Disable the loop measure.
-In the case that the IDs were different, I fetch the name and the Image Banner
-Then I do a final check to update meters and update the loop or disable everything if #IDA# is above 4.
The goal would be to have the parsing happen only once for each ID that differ from the last time and never after that.
I'm aware that It would probably be a lot easier to just have a measure for each, but I would really like to make this work since It looks cleaner, it's more probably also efficient and I feel like this could help me understand the WebParser a bit better too.
I've tried a bunch of different things and nothing seems to work..
I'm also well aware that there probably is a ton of things wrong with my current code.. like I said.. I tried a bunch of things and I think it only got messier and messier over time, but:
I know the Measures are parsing the right things since:
-I can see that it download the images properly, but it doesn't update them in the skin.
-I can see the name updating with a debug meter, but it always only set the first Name. The best I managed is having the second name it fetche be written as the first one.
More things I don't really understand (with the current version), but suspect are related to the enabling/disabling of the WebParser either not working like I think or not working at all..:
-If the IDs are the same, the first name get removed and becomes blank.
-If the IDs are the same the loop stays at 0, but the #IDA# increases to 2..
Updated: