Author Topic: MeteoBridge and Saratoga-Weather Template  (Read 5183 times)

0 Members and 1 Guest are viewing this topic.

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8604
    • Meteotemplate
Re: MeteoBridge and Saratoga-Weather Template
« Reply #25 on: May 31, 2015, 11:13:19 AM »
This is easily done, but please copy that part of the code here so I can look at it, I need to see the initial php, not the HTML output.

Just copy the lines of the body section in the index.php you have.

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8604
    • Meteotemplate
Re: MeteoBridge and Saratoga-Weather Template
« Reply #26 on: May 31, 2015, 11:14:34 AM »
And why is it displaying data from 2013???

Because that is what meteobridge is sending, did you set the time and date properly in the MB control panel?

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1919
    • My PWS at Leuven Belgium Europe
Re: MeteoBridge and Saratoga-Weather Template
« Reply #27 on: May 31, 2015, 11:18:01 AM »
And why is it displaying data from 2013???
Is your Meteobridge already uploading data?
Are your date settings correct in Settings.php?
Wim
Please remember, "If it is a hobby for both of us, it should be fun for both of us also"

If I helped you building and enhancing your website, feel free to donate at https://paypal.me/pwsdashboard.

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8604
    • Meteotemplate
Re: MeteoBridge and Saratoga-Weather Template
« Reply #28 on: May 31, 2015, 11:19:14 AM »
And why is it displaying data from 2013???
Is your Meteobridge already uploading data?
Are your date settings correct in Settings.php?
Wim

I think the settings.php is probably correct, but the date and time (2013) is already wrong in the txt file generated by meteobridge, I tried the link to it.

Offline AjaxKnights29

  • Senior Contributor
  • ****
  • Posts: 175
    • Ajax Weather
Re: MeteoBridge and Saratoga-Weather Template
« Reply #29 on: May 31, 2015, 11:41:01 AM »
My meteobridge has the right date and time settings. In the settings.php there is no date and time format that is the same as meteobridges.

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8604
    • Meteotemplate
Re: MeteoBridge and Saratoga-Weather Template
« Reply #30 on: May 31, 2015, 11:45:58 AM »
Look at your file generated by MB:

http://ajaxweather.altervista.org/MBrealtime.txt

Is this the link you are using? If so then something is wrong with the update. Check the URL of the file being uploaded by MB in the settings on the Push Services tab and see what time is in that file.

Offline AjaxKnights29

  • Senior Contributor
  • ****
  • Posts: 175
    • Ajax Weather
Re: MeteoBridge and Saratoga-Weather Template
« Reply #31 on: May 31, 2015, 11:47:41 AM »
Look at your file generated by MB:

http://ajaxweather.altervista.org/MBrealtime.txt

Is this the link you are using? If so then something is wrong with the update. Check the URL of the file being uploaded by MB in the settings on the Push Services tab and see what time is in that file.
Oh I have a feeling it's setup to use real time while I want it to use mbtags. I don't have realtime setup

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1919
    • My PWS at Leuven Belgium Europe
Re: MeteoBridge and Saratoga-Weather Template
« Reply #32 on: May 31, 2015, 11:53:36 AM »
Look at your file generated by MB:

http://ajaxweather.altervista.org/MBrealtime.txt

Is this the link you are using? If so then something is wrong with the update. Check the URL of the file being uploaded by MB in the settings on the Push Services tab and see what time is in that file.
Oh I have a feeling it's setup to use real time while I want it to use mbtags. I don't have realtime setup
http://ajaxweather.altervista.org/MBtags.php?sce=view
This is a date from your MBTags.php
date|2015-05-31|// local date:|:
So how did you set it in your Settins.php?

We as outsiders can all look for you in your Settings.php and your  Settings-Weather.php and do it step for step,
but I think you  should try to do it yourself and learn on the way..

Please always consult the documentation at
http://saratoga-weather.org/wxtemplates/Settings-config-MB.php
and
http://saratoga-weather.org/wxtemplates/setup-Meteobridge.php
and read the extensive comments in those scripts.

Realy, it is easier then it may look now as you will learn on your way.
Wim
« Last Edit: May 31, 2015, 12:04:51 PM by wvdkuil »
Please remember, "If it is a hobby for both of us, it should be fun for both of us also"

If I helped you building and enhancing your website, feel free to donate at https://paypal.me/pwsdashboard.

Offline AjaxKnights29

  • Senior Contributor
  • ****
  • Posts: 175
    • Ajax Weather
Re: MeteoBridge and Saratoga-Weather Template
« Reply #33 on: May 31, 2015, 12:10:58 PM »
I figured it out. I just needed to generate the real time file in addition to the tags file :D

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8604
    • Meteotemplate
Re: MeteoBridge and Saratoga-Weather Template
« Reply #34 on: May 31, 2015, 12:14:08 PM »
 =D>

Offline AjaxKnights29

  • Senior Contributor
  • ****
  • Posts: 175
    • Ajax Weather
Re: MeteoBridge and Saratoga-Weather Template
« Reply #35 on: May 31, 2015, 12:49:36 PM »
How do I get analytics? Which analytics program do you prefer. Google?

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8604
    • Meteotemplate
Re: MeteoBridge and Saratoga-Weather Template
« Reply #36 on: May 31, 2015, 01:28:23 PM »
I use my own script and Google analytics

 

anything