Page 1 of 1

setup mbtags

Posted: Thu Mar 09, 2017 1:30 pm
by legi
Sorry for that question but I'm new to meteobridge and not a programmer. I'd like to setup my meteobridge to send data to my website and use the Saratoga templates.
But already the start is difficult.
In the Saratoga description it is mentioned that one have to "Configure Meteobridge Push Services FTP to upload MBtags.php". I can't find this in my Meteobridge setup.
would be great if one could help.
Peter

Re: setup mbtags

Posted: Thu Mar 09, 2017 8:37 pm
by wvdkuil
legi wrote:Sorry for that question but I'm new to meteobridge and not a programmer. I'd like to setup my meteobridge to send data to my website and use the Saratoga templates.
But already the start is difficult.
In the Saratoga description it is mentioned that one have to "Configure Meteobridge Push Services FTP to upload MBtags.php". I can't find this in my Meteobridge setup.
would be great if one could help.
Peter
It is for a different template, but it describes how to set uploads for a Meteobridge(-pro).
http://leuven-template.eu/dokuwiki28/do ... n:uploadmb

And this link is for the Meteobridge WiKi http://www.meteobridge.com/wiki/index.php/Push_Services
Wim

Re: setup mbtags

Posted: Thu Mar 09, 2017 8:55 pm
by Ian.
Legi,

I have very recently done this, so if you can't follow Wims instructions I will be able to help.

Ian

Re: setup mbtags

Posted: Fri Mar 10, 2017 10:33 am
by legi
Thank you both for help. I'm a bit further. I've done:
copied the files of the MB Plugin in the templates directory of my meteobridge (maybe too many).
setup the ftp things, here the Meteobridge is coping the MBtags, realtime and gauges.txt files.
set up the http request but get the following message:
2017-03-10 09:20:48 Error: <?php /* File: MBtags.php Purpose: load Meteobridge variables into a $WX[] array for use with the Canada/World/USA template sets NOTE: this file must be processed by Meteobridge as a template file and uploaded to the website as MBtags.php using the Meteobridge extended Push Services configuration. Author: Ken True - webmaster@saratoga-weather.org (created by gen-MBtags.php - V1.03 - 18-Aug-2013) These tags generated on 2017-03-10 08:03:49 GMT From MBtags-template.txt updated 2017-03-09 11:03:52 GMT */ // -------------------------------------------------------------------------- // allow viewing of generated source if (isset($_REQUEST["sce"]) and strtolower($_REQUEST["sce"]) == "view" ) { //--self downloader -- $filenameReal = __FILE__; $download_size = filesize($filenameReal); header("Pragma: public"); header("Cache-Control: private"); header("Cache-Control: no-cache, must-revalidate"); header("Conte

I don't have a "extended push servicese section" on my Meteobridge UI. I have an option HTTP Request here I gave the MBtags.php Infos, tried both, the http://xxx.com/xxx/meteobridge/gen-MBtags.php ant the http://xxx.com/xxx/meteobridge/MBtags.php.

this might help you find my faults...
thanks
Peter

Re: setup mbtags

Posted: Fri Mar 10, 2017 6:09 pm
by Ian.
Hi,

Download and install MB Plugin files in your root directory as per Kens websites instruction.

In the MB Pro Services for the MBtags, I have:

FTP
Every 5 mins upload
Template: http://www.chatteris.biz/gen-MBtags.php
Path (File):/MBtags.php

See how that goes.