Hi,
I'm trying to create an RSS feed in my live wallpaper. As I haven't decided which feeds I want yet, I'd like to dynamically grab them from a JSON file so that if I want to add or remove feeds, I can just change the JSON contents.
The primary problem I'm encountering is that I don't seem to be able to dynamically populate a list global with either URLs or a number which I can correlate to the URL's position within a JSON array.
I've tried setting my list value to be $wg(myjsonpath, json, "")$ both as the value when I'm prompted to enter a list and as the value for the list as a formula from the settings icon. This always fetches the zeroth item from my JSON array, but when I set up the trigger to go to the next/previous list value, the value doesn't change. The same thing happens if I set up a global called "numlinks" or something to that effect, being a number of URLs I've got in an array, and then dynamically generate the list using something like $fl(0,gv(numlinks)-1, "i+1", ",")$ to generate the list "0,1,2...numlinks-1". Again, the first value shows up, but trying to increment/decrement the value has no effect.
I've just seen this issue which suggests that this was not possible in the past but this issue makes it sound like it is possible but that the user in question was doing it incorrectly. Could you please clarify?
Thanks for your help in advance