Hi,
I've to rewrite my Webabfrage for the weather forecast, because the web site has changed (500 lines trashed
)
I'm willing to use a RSS feed, because it's much more stable, but ... the XML file is of variable length.
That is, in the afternoon, they don't show the forecast for the morning anymore, and in the evening they don't show the forecast for the morning and mid-day anymore.
So the Webabfrage will fail after noon.
I thought writing 3 Webabfrage, each ending with a success/fail code, so if the first Webabfrage (morning) fails, trigger the second (noon), if it fails trigger the third (afternoon), but ..
.. maybe there is a better way ?
NB: I've done it for Cisco IP Phone via a PHP script without too much problems, but for the HS ???
How can I solve this ? any suggestion ?
Thank you
I've to rewrite my Webabfrage for the weather forecast, because the web site has changed (500 lines trashed

I'm willing to use a RSS feed, because it's much more stable, but ... the XML file is of variable length.
That is, in the afternoon, they don't show the forecast for the morning anymore, and in the evening they don't show the forecast for the morning and mid-day anymore.
So the Webabfrage will fail after noon.
I thought writing 3 Webabfrage, each ending with a success/fail code, so if the first Webabfrage (morning) fails, trigger the second (noon), if it fails trigger the third (afternoon), but ..

NB: I've done it for Cisco IP Phone via a PHP script without too much problems, but for the HS ???
How can I solve this ? any suggestion ?
Thank you
Kommentar