Author Topic: Alerts not showing on my Web Page - Saratoga Template  (Read 334 times)

0 Members and 1 Guest are viewing this topic.

Offline ed_heaton

  • Contributor
  • ***
  • Posts: 147
    • Atglen Borough Weather Observatory
Alerts not showing on my Web Page - Saratoga Template
« on: October 31, 2019, 09:25:47 AM »
So I have my alerts set PAZ101 and PAC029 and nothing is showing up on my website. However the NWS does in fact have an advisory on their page.

www.atglenweather.com

https://forecast.weather.gov/showsigwx.php?warnzone=PAZ101&warncounty=PAC029&firewxzone=PAZ101&local_place1=Atglen%20PA&product1=Hazardous+Weather+Outlook&lat=39.9469&lon=-75.979#.XbrgQlVKiUk

Any thoughts as to what I would be doing wrong?

Thanks,
Ed
« Last Edit: October 31, 2019, 09:31:22 AM by ed_heaton »

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 947
    • LexMAWeather
Re: Alerts not showing on my Web Page - Saratoga Template
« Reply #1 on: October 31, 2019, 11:37:18 AM »
That's a hazardous weather outlook, which doesn't appear with the alerts at alerts.weather.gov.

These are the fetches that are being done for your alerts:

Code: [Select]
<!-- nws-alerts noCron=true .. running nws-alerts.php inline -->
<!-- nws-alerts.php - V1.43 - 14-May-2019 -->
<!-- 4 unique Zone entries found. Zones='PAZ101,PAC029,PAZ066,PAC071' -->
<!-- cache age 601 seconds - fetch needed -->
<!-- Cron job not used -->
<!-- XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAZ101&y=1 -->
<!-- HTTP stats:  RC=200 dest=23.44.168.20
      Times: dns=0.000 conn=0.008 pxfer=0.155 get=0.009 total=0.165 secs -->
<!-- XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAC029&y=1 -->
<!-- HTTP stats:  RC=200 dest=23.44.168.20
      Times: dns=0.000 conn=0.073 pxfer=0.213 get=0.085 total=0.298 secs -->
<!-- XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAZ066&y=1 -->
<!-- HTTP stats:  RC=200 dest=23.44.168.20
      Times: dns=0.000 conn=0.070 pxfer=0.228 get=0.074 total=0.301 secs -->
<!-- XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAC071&y=1 -->
<!-- HTTP stats:  RC=200 dest=23.44.168.20
      Times: dns=0.000 conn=0.093 pxfer=0.282 get=0.286 total=0.568 secs -->
<!-- Cache file updated: Thu 10-31-2019 11:32 am -->
<!-- Alert box data file updated -->
<!-- Icon data file updated -->
<!-- Total process time: 1.3350 seconds -->

If you fetch those four URLs from a browser, you'll see none have alerts right not.
https://lexmaweather.info
On Mastodon: @LexMAWeather@toot.community

Offline ed_heaton

  • Contributor
  • ***
  • Posts: 147
    • Atglen Borough Weather Observatory
Re: Alerts not showing on my Web Page - Saratoga Template
« Reply #2 on: October 31, 2019, 11:41:46 AM »
Thanks Jasiu and glad it's not me (lol)