Posted on: 07/07/03 08:05pm
By: Anonymous (Interested)
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
Re:Weather Plugin link problem
Posted on: 07/07/03 08:36pm
By: squatty
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.