{# /** * Copyright (C) 2025 Xibo Signage Ltd * * Xibo - Digital Signage - http://www.xibo.org.uk * * This file is part of Xibo. * * Xibo is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * any later version. * * Xibo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with Xibo. If not, see . */ #} {% extends "connector-form-edit.twig" %} {% import "forms.twig" as forms %} {% block connectorFormFields %}

National Weather Service

Access real-time weather alerts provided by the National Weather Service (NWS).

The data includes weather warnings, watches, and advisories delivered in Atom feed format.

Weather alert data is sourced directly from the National Weather Service.

{% if interface.isProviderSetting("atomFeedUri") %}

{{ "Your platform provider has configured this connector for you."|trans }}

{% else %} {% set title %}{% trans "NWS Atom Feed URL" %}{% endset %} {% set helpText %}{% trans "This is the default URL for the NWS Atom Feed. You can update it if the URL changes in the future." %}{% endset %} {{ forms.input("atomFeedUri", title, interface.getSetting("atomFeedUri", "https://api.weather.gov/alerts/active.atom"), helpText) }} {% endif %} {% endblock %}