Page 1 of 1

Obtaining iPhone graph URLs

Posted: Tue Apr 19, 2016 12:04 am
by WessexWeather
I'm new to MeteoBridge and am really enjoying discovering all its capabilities.

Can anybody give me step by step instructions on how to use the variables to return the PC and iPhone dashboard and graphs URLs, for inclusion in my website?

Once I understand the system better, I will subscribe to MeteoPlug for more advanced graphing, but in the meantime this simple solution would suffice.

Thanks in advance.

Re: Obtaining iPhone graph URLs

Posted: Tue Apr 19, 2016 12:40 am
by Bushman
Assuming you mean the tag/variables, take a look at the source for the "Simple Dashboard" webpage here: view-source:http://tau.meteobridge.com/templates/simpledash.html (That's viewing the source via Chrome) If you look down to the "body" section, you will see how the variables are placed into the dash tables.

Re: Obtaining iPhone graph URLs

Posted: Tue Apr 19, 2016 7:49 pm
by WessexWeather
Many thanks Bushman,

I have managed to improve the standard simpledash.html template to better suit my needs. I have also been able to insert the Live Board into my website using an iframe, and the graph images using the standard img attribute.

See: http://www.wessexweather.net

Having used Weather Display, then Cumulus for years, I am really impressed with the capabilities of MeteoBridge, and think I have only just scratched the surface!

Re: Obtaining iPhone graph URLs

Posted: Sat Apr 23, 2016 3:42 am
by Bushman
Nice! I may just snipe that code. :) Well done sir.

Re: Obtaining iPhone graph URLs

Posted: Sun Apr 24, 2016 1:02 am
by admin
That is indeed much better than the simple example from the wiki. Thanks for sharing.

Re: Obtaining iPhone graph URLs

Posted: Sun Apr 24, 2016 12:31 pm
by WessexWeather
Thanks guys, but I have merely expanded on the author's original simpledash.html.

Can anyone help me style the first column to match the top row please?

Re: Obtaining iPhone graph URLs

Posted: Thu Apr 28, 2016 12:47 am
by Bushman
Just make the first and subsequent lines match.

#table-2 thead {
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
padding: .2em 0 .2em .5em;
text-align: left;
color: #4B4B4B;
background-color: #C8C8C8;
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#e3e3e3), color-stop(.6,#B3B3B3));
background-image: -moz-linear-gradient(top, #D6D6D6, #B0B0B0, #B3B3B3 90%);
border-bottom: solid 1px #999;
}
#table-2 th {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 17px;
line-height: 20px;
font-style: normal;
font-weight: normal;
text-align: left;
text-shadow: white 1px 1px 1px;

Re: Obtaining iPhone graph URLs

Posted: Thu Apr 28, 2016 11:53 pm
by WessexWeather
Sorry, I don't understand. Can you be more specific please?

Thanks in advance.