Re: Re: Weather Door
By: Mortifis to Mike Powell on Thu Feb 07 2019 08:01 pm
@MSGID: <5C5A312C.44892.sync_sys@vert.synchro.net>
Just curious to see how many of you know that Weather Underground, now owned b
IBM, is turning off its Free API as of mid-February. I know the popular Weather door out there for Synch right now relies on it. I've forked the code
from github and currently trying to get it setup such that it will use the NOA
feed from the government.
If you get that working I am sure there will be some folks here interested in it.
openweathermap has a free api and echicken has a js script for it
EC's openweathermap.ssjs
https://github.com/echicken/synchronet-web-v4/tree/master/web/sidebar/.extras ... the openweathermap.js is in the sbbs/exec/load directory or at
http://cvs.s ynchro.net/cgi-bin/viewcvs.cgi/exec/load/openweathermap.js?revision=1.8&view=ma rkup
... you'd need a key from openweathermap they are free ... or perhaps someone could share theirs with you :p also, sbbs/exec/load/ircbots has a couple *.ssjs files for use/reference
to use it in the /sbbs/web ... simply doing a load('openweathermap.ssjs');
in a location you'd like it displayed works (ie for one of my uses I had an index.xjs and I place it in a <div> <?xjs load('openweathermap.ssjs'); ?> </div> )
EC helped me out in that regards a lot :-)
---
* Synchronet * AlleyCat! BBS -
http://alleycat.synchro.net:81
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)