Note: trouble with registration? See this for more info.
0 Members and 1 Guest are viewing this topic.
Thank you, Jáchym, for your fast replay.But where does http://www.cospringsweather.com/index.phpget these data from?
Hope this helps,John
Hi everybodyI'm new to this forum and rather new to Saratoga template. I managed to lfill the template with the data from my weather station. Still the section "almanac" is "empty", I think the link in get-usno-sunmoon.php (http://api.usno.navy.mil/rstt/oneday?) is no longer valid.Can anybody help me - or tell me where to look it up?thanks for any hint!iatros
<!-- get-USNO-sunmoon.php - Version 2.04 - 11-Nov-2015 --><!-- refetch seconds=1 --><!-- loading ./cache/USNO-moondata.txt from http://api.usno.navy.mil/rstt/oneday?date=12/14/2016&coords=47.536353,8.296722&tz=1 --><!-- GET /rstt/oneday?date=12/14/2016&coords=47.536353,8.296722&tz=1 HTTP/1.1 Host: api.usno.navy.mil Port: 80 IP=199.211.133.93--><!-- Network error: Connection timed out (110) --><!-- HTTP stats: dns=0.155 conn=5.005 put=n/a get( blocks)=n/a close=n/a total=5.160 secs --><!-- fetch function elapsed= 5 secs. --><!-- loading finished. --><!-- processing JSON entries for Moon data --><!-- json_decode returns - No errors --><!-- note: 'fracillum' not in JSON, no 'illumination' is available. --><!-- USNOdataArray() -->
check-fetch-times.php Version 1.15 - 31-Oct-2016Website PHP informationWebserver OS: Linux srv3.tophost.ch 2.6.32-673.8.1.lve1.4.3.el6.x86_64 #1 SMP Wed Feb 10 08:57:30 EST 2016 x86_64PHP Version: 5.6.28Document root: /home/dubler/public_html/wetterallow_url_fopen = ONallow_url_include = offChecking access to key websites for your template setThis script will check the load times and the ability to save cache files for the included support scripts with your template package. Included Settings.php time=0.000 secs.Using lang=de as default for testing--checking UV Forecast from temis.nl --Using Settings.php $SITE['UVscript'] entry for test.URL: http://www.temis.nl/uvradiation/nrt/uvindex.php?lon=8.296722&lat=47.536353Cache: ./cache/uv-forecast.txt curl fetching 'http://www.temis.nl/uvradiation/nrt/uvindex.php?lon=8.296722&lat=47.536353' HTTP stats: RC=200 dest=145.23.254.72 port=80 (from sce=194.150.248.30) Times: dns=0.509 conn=0.540 pxfer=0.540 get=0.284 total=0.824 secs RC=200 OK, bytes=5512Wrote 5512 bytes to ./cache/uv-forecast.txt successfully.Test was SUCCESSFUL.--end UV Forecast from temis.nl check ----checking WU Forecast URL --Using first entry in Settings.php $SITE['WUforecasts'] for test.URL: http://api.wunderground.com/api/6f935b8ffaadef07/forecast10day/geolookup/lang:en/q/47.536,8.297.jsonCache: ./cache/WU-forecast-0-de.txt WU_API Raw URL='https://www.wunderground.com/cgi-bin/findweather/getForecast?query=47.536%2C8.297&sp=IAARGAUE6' query='47.536,8.297' WU API New URL='http://api.wunderground.com/api/6f935b8ffaadef07/forecast10day/geolookup/lang:en/q/47.536,8.297.json' curl fetching 'http://api.wunderground.com/api/6f935b8ffaadef07/forecast10day/geolookup/lang:en/q/47.536,8.297.json' HTTP stats: RC=200 dest=23.201.255.119 port=80 (from sce=194.150.248.30) Times: dns=1.509 conn=1.509 pxfer=1.510 get=1.264 total=2.774 secs RC=200 OK, bytes=27250Data age=1 sec 'Wed, 14 Dec 2016 19:29:37 GMT'Wrote 27250 bytes to ./cache/WU-forecast-0-de.txt successfully.Test was SUCCESSFUL.--end WU Forecast URL check ----checking METEOalarm warning URL --Using Settings.php $SITE['EUwarningURL'] entry for test.URL: http://www.meteoalarm.eu/index2.php?lang=de_GE&day=0&AT=0&country=CHCache: ./cache/meteoalarm-de.txt curl fetching 'http://www.meteoalarm.eu/index2.php?lang=de_GE&day=0&AT=0&country=CH' HTTP stats: RC=200 dest=81.31.132.86 port=80 (from sce=194.150.248.30) Times: dns=0.124 conn=1.149 pxfer=1.149 get=0.174 total=1.324 secs RC=200 OK, bytes=94045Data age=0 sec 'Wed, 14 Dec 2016 19:29:39 GMT'Wrote 94045 bytes to ./cache/meteoalarm-de.txt successfully.Test was SUCCESSFUL.--end METEOalarm warning URL check --Total time taken = 0.000 secs.Elapsed 5 seconds.PHP Version 5.6.28Memory post_max_size 100M bytes.Memory usage 669416 bytes.Memory peak usage 1007256 bytes.
Thank you, KenIf I understand correctly, I should be able to openhttp://api.usno.navy.mil/rstt/oneday?date=12/14/2016&coords=47.536353,8.296722&tz=1in my browser?And if it's not possible, there could be a problem of any kind of acces blocking?Well, typing the URL above gets a "The server at api.usno.navy.mil is taking too long to respond." response in my Firefox...Martin