Welcome to Geeklog Wednesday, November 25 2020 @ 02:38 pm EST

Geeklog Forums

Weather Plugin link problem


Interested

Anonymous
I posted this on Squatty.com, but no one seemed able to help. Maybe someone here knows what I can do. In the weather plugin, when I enter \"7 day forecast\" and click \"More Local Wx\" or \"2 Day history,\" I get a \'page not found\' error. I am developing my GL site locally (http://localhost). I think the two links above are both pointing to the wrong place. For the \"More Local Wx\" link, the link points to: http://localhost/obslocal.php?warnzone=NYZ072&local_place=New+York&zoneid=EDT&offset=14400 For \"2 Day History\" the link points to: http://localhost/data/obhistory/KNYC.html The links should begin with the weather service site. Does anyone know where the link info is coming from? Anyone with a clue as to how I might correct this problem? Everything else seems to work just fine with this plugin. Thanks, Dave
 Quote

Status: offline

squatty

Forum User
Full Member
Registered: 21/01/02
Posts: 269
I haven\'t had time to look into this yet. Most likely, the issue is that the NWS site changed the layout of their 7-day forecast page. The weather block parses the page and then does a find/replace to display the page inside your GL site. You can take a look at the code in /weather/index.php and try to fix it yourself. Or wait until the weather plugin is released in the next few weeks.
In a world without walls and fences, who needs Windows and Gates?
 Quote

All times are EST. The time is now 02:38 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content