XML and electron

Hello particle forum, thanks for the help in the past, I hope you can help me moving forward with my current project.

I am using a particle electron.

There is an XML site that contains a bunch of fields with statuses - like:

The XML gets updated from a separate web page (that I don’t have access to).
I need to have the Electron check this item and then run some functions based on the status.

I would love some advice in the best way to do this. Is there a way to avoid having the electron have to poll the XML site constantly?

Any and all advice is appreciated, please let me know if there is any further info I can provide!

Someone need to do the polling/checking.

You can have an app running that polls the XMl site at regular intervals and do a Particle.publish() or call a Particle.function()

Hi, I’m still trying to work this out. I’m trying to use the webhook example: https://docs.particle.io/tutorials/integrations/webhooks/#what-39-s-the-weather-like-

but I am trying to grab data from an XML site that has a lot of fields, like this:

<areas>   
 <area name="Area 1">
    <item 1>
    <item 1 name="Name 1" type="Type 1"  currentStatus="Closed"/>
    </item 1>
    <item 2>
    <item 2 name="Name 2" status="Closed" />
    </item2>
    </area>

I need to grab, for example, item 2 status.

Help is greatly appreciated!