Obtaining iPhone graph URLs

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Post Reply
User avatar
WessexWeather
Senior Boarder
Senior Boarder
Posts: 54
Joined: Sun Apr 17, 2016 9:54 am
Location: Wimborne, Dorset, UK
Contact:

Obtaining iPhone graph URLs

Post 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.
Simon

Image
Bushman
Junior Boarder
Junior Boarder
Posts: 35
Joined: Fri Jun 21, 2013 9:34 pm

Re: Obtaining iPhone graph URLs

Post 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.
User avatar
WessexWeather
Senior Boarder
Senior Boarder
Posts: 54
Joined: Sun Apr 17, 2016 9:54 am
Location: Wimborne, Dorset, UK
Contact:

Re: Obtaining iPhone graph URLs

Post 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!
Last edited by WessexWeather on Thu Apr 28, 2016 11:37 pm, edited 1 time in total.
Simon

Image
Bushman
Junior Boarder
Junior Boarder
Posts: 35
Joined: Fri Jun 21, 2013 9:34 pm

Re: Obtaining iPhone graph URLs

Post by Bushman »

Nice! I may just snipe that code. :) Well done sir.
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: Obtaining iPhone graph URLs

Post by admin »

That is indeed much better than the simple example from the wiki. Thanks for sharing.
User avatar
WessexWeather
Senior Boarder
Senior Boarder
Posts: 54
Joined: Sun Apr 17, 2016 9:54 am
Location: Wimborne, Dorset, UK
Contact:

Re: Obtaining iPhone graph URLs

Post 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?
Simon

Image
Bushman
Junior Boarder
Junior Boarder
Posts: 35
Joined: Fri Jun 21, 2013 9:34 pm

Re: Obtaining iPhone graph URLs

Post 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;
User avatar
WessexWeather
Senior Boarder
Senior Boarder
Posts: 54
Joined: Sun Apr 17, 2016 9:54 am
Location: Wimborne, Dorset, UK
Contact:

Re: Obtaining iPhone graph URLs

Post by WessexWeather »

Sorry, I don't understand. Can you be more specific please?

Thanks in advance.
Simon

Image
Post Reply