Web Weather > Weather Web Resources

NWS changing identifiers on CAP messages



At first glance, I don't think this causes any issues for the Curly-based alerts code nor the alert fetch from the NWS API in the v5.xx forecast code. Any thoughts, Ken?

Curly's nws-alerts script set does not use the <identifier> entry in the CAP XML from alerts.weather.gov.

The id field is used by advforecast2.php JSON script to retrieve the text from api.weather.gov.  As long as api.weather.gov changes the id field throughout their data, there should be no issue with the script -- the id field returned is used as the subsequent query as-is.


[0] Message Index

Go to full version