Skip to content

Instantly share code, notes, and snippets.

@farrel
Created August 29, 2020 18:39
Show Gist options
  • Save farrel/c982304bdefe5c2ee2c8ee8207a3e0ff to your computer and use it in GitHub Desktop.
Save farrel/c982304bdefe5c2ee2c8ee8207a3e0ff to your computer and use it in GitHub Desktop.
rustfmt issue
#[derive(Debug)]
pub enum FetchMethod {
RSSItemLink,
AtomCAPTypeLink,
AtomCommonAlertingProtocolTypeLink,
AtomEntryLink,
Unknown,
}
#[derive(Debug)]
pub struct AlertFeed {
pub url: &'static str,
pub title: Option<&'static str>,
pub languages: &'static str,
pub fetch_method: FetchMethod,
}
#[derive(Debug)]
pub struct AlertSource {
pub country: &'static str,
pub organisation: &'static str,
pub organisation_link: &'static str,
pub alert_feeds: &'static [&'static AlertFeed],
}
pub const SOURCES: [AlertSource;71] = [AlertSource {country: "Anguilla", organisation: "Disaster Management Anguilla", organisation_link: "http://www.ddmaxa.org/", alert_feeds: &[&AlertFeed { url: "https://axa-primary.capews.com/capews/public/atom?type=cap", title: None, languages: "en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Argentina", organisation: "Servicio Meteorologico Nacional", organisation_link: "http://www.smn.gov.ar/", alert_feeds: &[&AlertFeed { url: "http://www3.smn.gov.ar/CAP/AR.php", title: None, languages: "es", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Austria", organisation: "Zentralanstalt für Meteorologie und Geodynamik", organisation_link: "http://www.zamg.ac.at", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/AT.xml", title: None, languages: "de, en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Barbados", organisation: "Department of Emergency Management", organisation_link: "http://www.barbadosweather.org", alert_feeds: &[&AlertFeed { url: "https://brb-primary.capews.com/capews/public/atom?type=cap", title: None, languages: "en, fr, es", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Belgium", organisation: "Royal Meteorological Institute", organisation_link: "http://www.meteo.be/", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/BE.xml", title: None, languages: "nl, fr, en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Bosnia and Herzegovina", organisation: "Federalni hidrometeorološki zavod BiH", organisation_link: "http://www.fhmzbih.gov.ba/", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/BA.xml", title: None, languages: "bs", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Brazil", organisation: "Instituto Nacional de Meteorologia - INMET", organisation_link: "http://www.inmet.gov.br/", alert_feeds: &[&AlertFeed { url: "http://alert-as.inmet.gov.br/cap_12/rss/alert-as.rss", title: None, languages: "pt", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Bulgaria", organisation: "НАЦИОНАЛЕН ИНСТИТУТ ПО МЕТЕОРОЛОГИЯ И ХИДРОЛОГИЯ - ФИЛИАЛ ПЛОВДИВ", organisation_link: "http://www.meteo.bg/en", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/BG.xml", title: None, languages: "bg", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Canada", organisation: "Alberta Emergency Management Agency (Government of Alberta, Ministry of Municipal Affairs)", organisation_link: "http://weatheroffice.ec.gc.ca/canada_e.html", alert_feeds: &[&AlertFeed { url: "http://emergencyalert.alberta.ca/aeapublic/feed.atom", title: None, languages: "en, fr", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Canada", organisation: "Meteorological Service of Canada", organisation_link: "http://weatheroffice.ec.gc.ca/canada_e.html", alert_feeds: &[&AlertFeed { url: "http://rss.naad-adna.pelmorex.com/", title: None, languages: "en, fr", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "China", organisation: "China Meteorological Administration", organisation_link: "http://www.cma.gov.cn/", alert_feeds: &[&AlertFeed { url: "http://alert-feed.worldweather.org/cn-cma-xx/rss.xml", title: None, languages: "en, zh", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Croatia", organisation: "Državni hidrometeorološki zavod (DHMZ)", organisation_link: "http://meteo.hr/index_en.php", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/HR.xml", title: None, languages: "hr, en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Cyprus", organisation: "Meteorological Service", organisation_link: "http://www.moa.gov.cy/ms", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/CY.xml", title: None, languages: "en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Czech Republic", organisation: "Český hydrometeorologický ústav", organisation_link: "http://www.chmi.cz/", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/CZ.xml", title: None, languages: "cs, en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Denmark", organisation: "Danmarks Meteorologiske Instituts", organisation_link: "http://www.dmi.dk/eng/index/forecasts.htm", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/DK.xml", title: None, languages: "en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Estonia", organisation: "Riigi Ilmateenistus", organisation_link: "http://www.emhi.ee/?nlan=eng", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/EE.xml", title: None, languages: "et", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Finland", organisation: "Finnish Meteorological Institute", organisation_link: "http://www.fmi.fi/en/index.html", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/FI.xml", title: None, languages: "en, fi, sv", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "France", organisation: "Meteo-France", organisation_link: "http://www.meteo.fr/meteonet_en/index.htm", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/FR.xml", title: None, languages: "en, fr", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Germany", organisation: "German Meteorological Office", organisation_link: "https://www.dwd.de", alert_feeds: &[&AlertFeed { url: "https://www.dwd.de/DWD/warnungen/cap-feed/en/atom.xml", title: None, languages: "en, de", fetch_method: FetchMethod::Unknown},
&AlertFeed { url: "https://www.dwd.de/DWD/warnungen/cap-feed/de/atom.xml", title: None, languages: "en, de", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Greece", organisation: "ΕΜΥ-Εθνική Μετεωρολογική Υπηρεσία", organisation_link: "http://www.hnms.gr/", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/GR.xml", title: None, languages: "el, en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Guyana", organisation: "Hydrometeorological Service", organisation_link: "http://hydromet.gov.gy/", alert_feeds: &[&AlertFeed { url: "https://hydromet.gov.gy/cap/en/alerts/rss.xml", title: None, languages: "en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Hong Kong, China", organisation: "Hong Kong Observatory", organisation_link: "https://www.weather.gov.hk", alert_feeds: &[&AlertFeed { url: "https://alerts.weather.gov.hk/V1/cap_atom.xml", title: None, languages: "en, zh", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Hungary", organisation: "Hungarian Meteorological Service", organisation_link: "http://www.met.hu/", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/HU.xml", title: None, languages: "en, hu", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Iceland", organisation: "Veðurstofa Íslands", organisation_link: "http://www.vedur.is/english", alert_feeds: &[&AlertFeed { url: "https://api.vedur.is/cap/v1/capbroker/active/category/Met/", title: None, languages: "is", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "India", organisation: "Meteorological Department", organisation_link: "http://www.imd.gov.in/", alert_feeds: &[&AlertFeed { url: "https://cap-sources.s3.amazonaws.com/in-imd-en/rss.xml", title: None, languages: "en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Indonesia", organisation: "Agency for Meteorology Climatology and Geophysics of Republic Indonesia", organisation_link: "http://www.bmkg.go.id/?lang=EN", alert_feeds: &[&AlertFeed { url: "https://signature.bmkg.go.id/alert/public/rss.xml", title: None, languages: "id, en", fetch_method: FetchMethod::Unknown},
&AlertFeed { url: "https://signature.bmkg.go.id/alert/public/en/rss.xml", title: None, languages: "id, en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Ireland", organisation: "Met Eireann - Irish Meteorological Service", organisation_link: "http://www.met.ie/", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/IE.xml", title: None, languages: "en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Israel", organisation: "Meteorological Service", organisation_link: "http://www.ims.gov.il/IMSENG/All_Tahazit/homepage.htm", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/IL.xml", title: None, languages: "en, he", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Italy", organisation: "Centro Nazionale di Meteorologia e Climatologia Aeronautica (CNMCA)", organisation_link: "http://www.meteoam.it", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/IT.xml", title: None, languages: "it, en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Jamaica", organisation: "Meteorological Service", organisation_link: "http://metservice.gov.jm/", alert_feeds: &[&AlertFeed { url: "https://alert.metservice.gov.jm/capfeed.php", title: None, languages: "en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Kuwait", organisation: "Meteorological Department", organisation_link: "http://www.met.gov.kw/", alert_feeds: &[&AlertFeed { url: "http://www.met.gov.kw/rss_eng/kuwait_cap.xml", title: None, languages: "en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Latvia", organisation: "Latvijas Vides, ģeoloģijas un meteoroloģijas centrs", organisation_link: "http://www.meteo.lv/en", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/LV.xml", title: None, languages: "lv, en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Lithuania", organisation: "Lithuanian Hydrometeorological Service", organisation_link: "http://www.meteo.lt/", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/LT.xml", title: None, languages: "en, lt", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Luxembourg", organisation: "Administration de l'Aéroport de Luxembourg", organisation_link: "http://www.meteolux.lu/", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/LU.xml", title: None, languages: "fr", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Macao", organisation: "Meteorological and Geophysical Bureau", organisation_link: "https://www.smg.gov.mo/en", alert_feeds: &[&AlertFeed { url: "https://rss.smg.gov.mo/e_cap_monsoon.rss", title: None, languages: "en, zh, pt", fetch_method: FetchMethod::Unknown},
&AlertFeed { url: "https://rss.smg.gov.mo/e_cap_thunderstorm.rss", title: None, languages: "en, zh, pt", fetch_method: FetchMethod::Unknown},
&AlertFeed { url: "https://rss.smg.gov.mo/e_cap_rainstorm.rss", title: None, languages: "en, zh, pt", fetch_method: FetchMethod::Unknown},
&AlertFeed { url: "https://rss.smg.gov.mo/e_cap_tropicalCyclone.rss", title: None, languages: "en, zh, pt", fetch_method: FetchMethod::Unknown},
&AlertFeed { url: "https://rss.smg.gov.mo/e_cap_stormsurge.rss", title: None, languages: "en, zh, pt", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Madagascar", organisation: "Operational Meteorology", organisation_link: "http://www.meteomadagascar.mg/", alert_feeds: &[&AlertFeed { url: "https://cap-sources.s3.amazonaws.com/mg-meteo-en/rss.xml", title: None, languages: "en, fr", fetch_method: FetchMethod::Unknown},
&AlertFeed { url: "https://cap-sources.s3.amazonaws.com/mg-meteo-fr/rss.xml", title: None, languages: "en, fr", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Maldives", organisation: "National Disaster Management Center", organisation_link: "http://www.meteorology.gov.mv", alert_feeds: &[&AlertFeed { url: "http://www.dhandhaana.gov.mv/eden/cap/public.rss", title: None, languages: "en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Malta", organisation: "Meteorological Office", organisation_link: "http://www.maltairport.com/weather", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/MT.xml", title: None, languages: "en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Mexico", organisation: "CONAGUA - Servicio Meteorologico Nacional de Mexico", organisation_link: "http://smn.cna.gob.mx", alert_feeds: &[&AlertFeed { url: "https://correo1.conagua.gob.mx/feedsmn/feedalert.aspx", title: None, languages: "es", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Moldova", organisation: "State Hydrometeorological Service", organisation_link: "http://www.meteo.md", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/MD.xml", title: None, languages: "en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Mongolia", organisation: "National Agency for Meteorology and Environmental Monitoring", organisation_link: "http://namem.gov.mn/", alert_feeds: &[&AlertFeed { url: "https://cap-sources.s3.amazonaws.com/mn-namem-en/rss.xml", title: None, languages: "en, mn", fetch_method: FetchMethod::Unknown},
&AlertFeed { url: "https://cap-sources.s3.amazonaws.com/mn-namem-mn/rss.xml", title: None, languages: "en, mn", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Montenegro", organisation: "Institute of Hydrometeorology and Seismology of Montenegro", organisation_link: "http://www.meteo.co.me/", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/ME.xml", title: None, languages: "en, sr", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Myanmar", organisation: "Department of Meteorology and Hydrology", organisation_link: "http://www.dmh.gov.mm/", alert_feeds: &[&AlertFeed { url: "http://www.dmhwarning.gov.mm/eden/cap/public.rss", title: None, languages: "en, my", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Netherlands", organisation: "Royal Netherlands Meteorological Institute", organisation_link: "http://www.knmi.nl", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/NL.xml", title: None, languages: "en, nl", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "New Zealand", organisation: "MetService", organisation_link: "http://www.metservice.co.nz", alert_feeds: &[&AlertFeed { url: "http://alerts.metservice.com/cap/rss", title: None, languages: "en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "North Macedonia", organisation: "Republic Hydrometeorological Organization", organisation_link: "http://www.meteo.gov.mk/", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/MK.xml", title: None, languages: "en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Norway", organisation: "Norwegian Meteorological Institute", organisation_link: "https://www.met.no", alert_feeds: &[&AlertFeed { url: "https://alert.met.no/feed?lang=en", title: None, languages: "en, no", fetch_method: FetchMethod::Unknown},
&AlertFeed { url: "https://alert.met.no/feed?lang=no", title: None, languages: "en, no", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Oman", organisation: "Directorate General of Meteorology", organisation_link: "http://met.gov.om/", alert_feeds: &[&AlertFeed { url: "https://cap-sources.s3.amazonaws.com/om-met-en/rss.xml", title: None, languages: "en, ar", fetch_method: FetchMethod::Unknown},
&AlertFeed { url: "https://cap-sources.s3.amazonaws.com/om-met-ar/rss.xml", title: None, languages: "en, ar", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Papua New Guinea", organisation: "Papua New Guinea Meteorological Service", organisation_link: "http://www.pngmet.gov.pg", alert_feeds: &[&AlertFeed { url: "https://smartalert.pngmet.gov.pg/capfeed.php", title: None, languages: "en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Paraguay", organisation: "Directorate of Meteorology and Hydrology", organisation_link: "https://www.meteorologia.gov.py/", alert_feeds: &[&AlertFeed { url: "https://cap-sources.s3.amazonaws.com/py-dmh-en/rss.xml", title: None, languages: "en, es", fetch_method: FetchMethod::Unknown},
&AlertFeed { url: "https://cap-sources.s3.amazonaws.com/py-dmh-es/rss.xml", title: None, languages: "en, es", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Philippines", organisation: "Philippine Atmospheric Geophysical and Astronomical Services Administration", organisation_link: "https://www.pagasa.dost.gov.ph/", alert_feeds: &[&AlertFeed { url: "https://publicalert.pagasa.dost.gov.ph/feeds/", title: None, languages: "en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Poland", organisation: "Institute of Meteorology and Water Management", organisation_link: "http://www.imgw.pl", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/PL.xml", title: None, languages: "en, pl", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Portugal", organisation: "Instituto Português do Mar e da Atmosfera, I.P.", organisation_link: "http://www.ipma.pt", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/PT.xml", title: None, languages: "pt", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Romania", organisation: "Administratiei Nationale de Meteorologie", organisation_link: "http://www.inmh.ro", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/RO.xml", title: None, languages: "ro, en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Russian Federation", organisation: "Russian Federal Service for Hydrometeorology and Environmental Monitoring", organisation_link: "http://www.meteorf.ru", alert_feeds: &[&AlertFeed { url: "https://meteoinfo.ru/hmc-output/cap/cap-feed/en/atom.xml", title: None, languages: "en, ru", fetch_method: FetchMethod::Unknown},
&AlertFeed { url: "https://meteoinfo.ru/hmc-output/cap/cap-feed/ru/atom.xml", title: None, languages: "en, ru", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Samoa", organisation: "Samoa Meteorology Division", organisation_link: "http://www.samet.gov.ws/", alert_feeds: &[&AlertFeed { url: "http://alert.samet.gov.ws/capfeed.php", title: None, languages: "en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Serbia", organisation: "Републички Хидрометеоролошки завод", organisation_link: "http://www.meteo.rs", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/RS.xml", title: None, languages: "sr", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Slovakia", organisation: "Slovenský hydrometeorologický ústav", organisation_link: "http://www.shmu.sk", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/SK.xml", title: None, languages: "sk, en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Slovenia", organisation: "National Meteorological Service", organisation_link: "http://www.arso.gov.si", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/SI.xml", title: None, languages: "en, sl", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Solomon Islands", organisation: "Solomon Islands Meteorological Service", organisation_link: "http://met.gov.sb/", alert_feeds: &[&AlertFeed { url: "https://smartalert.met.gov.sb/capfeed.php", title: None, languages: "en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "South Africa", organisation: "South Africa Weather Service", organisation_link: "http://www.weathersa.co.za", alert_feeds: &[&AlertFeed { url: "http://caps.weathersa.co.za/Home/RssFeed", title: None, languages: "en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Spain", organisation: "Agencia Estatal de Meteorología", organisation_link: "http://www.aemet.es", alert_feeds: &[&AlertFeed { url: "http://www.aemet.es/documentos_d/eltiempo/prediccion/avisos/rss/CAP_AFAE_wah_RSS.xml", title: None, languages: "es", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Sweden", organisation: "Sveriges meteorologiska och hydrologiska institut", organisation_link: "http://www.smhi.se/", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/SE.xml", title: None, languages: "sv, en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Switzerland", organisation: "MeteoSwiss, Bundesamt für Meteorologie und Klimatologie", organisation_link: "http://www.meteoswiss.ch/web/en/weather.html", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/CH.xml", title: None, languages: "de", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Tanzania", organisation: "Meteorological Agency", organisation_link: "http://www.meteo.go.tz/", alert_feeds: &[&AlertFeed { url: "http://tma.meteo.go.tz:8080/feeds/en/alerts/rss.xml", title: None, languages: "en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Thailand", organisation: "Thai Meteorological Department", organisation_link: "https://www.tmd.go.th/", alert_feeds: &[&AlertFeed { url: "https://www.tmd.go.th/feeds/CAPfeeds.php", title: None, languages: "th", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Tonga", organisation: "Tonga Meteorological Service", organisation_link: "http://www.met.gov.to/", alert_feeds: &[&AlertFeed { url: "https://alerts.met.gov.to/capfeed.php", title: None, languages: "en, to", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "United Kingdom of Great Britain and Northern Ireland", organisation: "Met Office", organisation_link: "https://www.metoffice.gov.uk", alert_feeds: &[&AlertFeed { url: "http://meteoalarm.eu/ATOM/UK.xml", title: None, languages: "en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "United States", organisation: "National Oceanic and Atmospheric Administration (NOAA), National Weather Service", organisation_link: "http://www.nws.noaa.gov", alert_feeds: &[&AlertFeed { url: "https://alerts.weather.gov/cap/us.php?x=0", title: None, languages: "en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "United States", organisation: "National Oceanic and Atmospheric Administration (NOAA), National Weather Service - Marine Zones", organisation_link: "http://www.nws.noaa.gov", alert_feeds: &[&AlertFeed { url: "https://alerts.weather.gov/cap/mzus.php?x=0", title: None, languages: "en", fetch_method: FetchMethod::Unknown}]},
AlertSource {country: "Vanuatu", organisation: "Vanuatu Meteorological Services", organisation_link: "http://www.meteo.gov.vu", alert_feeds: &[&AlertFeed { url: "https://smartalert.vmgd.gov.vu/capfeed.php", title: None, languages: "en, bi", fetch_method: FetchMethod::Unknown}]}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment