Subj : Re: run external php script
To   : echicken
From : Mortifis
Date : Sun Feb 10 2019 07:16 pm

>   Re: Re: run external php script
>   By: Mortifis to echicken on Sun Feb 10 2019 16:37:16

>  Mo> BTW where do I find your openweathermap.js? I looked on github under
>  Mo> web4but seem to have lost my glasses :-o

> It's a generic library and not part of the web interface.  I put it in the
> Synchronet CVS under exec/load/.  Note that the script doesn't do anything
> on its own to display information to a BBS user; it's a library for scripts
> that want to interact with the OWM API.

which is what I want to play with :-)

> I did create a sidebar module for the web interface that uses this library;
> it's under web/sidebar/.extras/ in the github repo.

I was looking in web/sidebar/.extras/openwethermap.ssjs and saw the reference
to openweathermap.js but couldn't find it either on my system or in github.
I'll grab it from cvs.synchro.net, thanks


> OpenWeatherMap use requires an API key, so you'll have to go to their site
> and sign up for one.  Add a section to ctrl/modopts.ini like this:



I have had an openweathermap key for a couple years that I use with my php
scripts, I still use Duece's old runemaster nightshade, but I will look into
the webv4, thanks :)

---
� Synchronet � AlleyCat! BBS - http://alleycat.synchro.net:81