Welcome to Geeklog, Anonymous Wednesday, May 22 2024 @ 03:50 am EDT

Geeklog Forums

Weather Plugin link problem


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

Status: offline


Forum User
Full Member
Registered: 01/21/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?

All times are EDT. The time is now 03:50 am.

  • 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