I’m currently trying to add a image to my sitemap. The problem: the image’s url is transmitted by JSON.
Normally I would handle this in a rule, but I’m asking myself if there is a possibility to make this happen with a item declaration?
item can refer to … a String Item whose state is an URL that points to an image.
So as you almost had originally, use the HTTP binding or whatever to extract the target image URL to a String type Item, use that Item as the parameter to an Image widget.