METARS

Hi all,

Not really that PHPVMS oriantated but, does anyone know how you would go about putting a live metar report on a website? Also, would this be something that could be intergrated into a PHPVMS module or something?

cheers

Ahhhhhh,  it already is… ???

I mean like, get it to show on the frontpage. Would I just copy the code where I want it to appear?

<div id="PUT YOUR FOUR LETTER ICAO HERE" class="metar">Getting Airport METAR</div>

so if i wanted to get frankfurts

<div id="eddf" class="metar">Getting Airport METAR</div>

Is there any other code i need to get it working? cos all it shows is Getting Airport METAR but nothing happens.

Cheers

Dan C

I posted something about VATSIM php a while back, that also does metars…

Jake’s code should work, is the phpvms.js file included?

Make sure it’s a div and the class is “metar”

Yes the js file is included and the class is called metar. And it is a div.

Cheers

Dan C

Just added it on one of my pages, it is working ?

Not for me.

Cheers

Dan C

What’s the exact code you’re using?

<div id=“vhhh” class=“metar”>Getting Airport METAR</div>

<div id=“zggg” class=“metar”>Getting Airport METAR</div>

Thats the exact code i am using.

Cheers

Dan C

Seems as though it only works with US airports

Works for European airports too as I have tested it for the majority of our destinations…

roboa

He’s checking Asian airports though, not sure if it shows up for those

Works for European airports too as I have tested it for the majority of our destinations…

roboa

Im trying this on EGLL (London Heathrow) and it can’t get a map :S

any solution, i’ve tried googling for alternative map sources but can’t find any good ones

This code doesn’t provide a map. It shows a METAR (airport weather report) you know…

ohh yeah, well whilst im on that subject has anyone managed to modify that page to show UK and other Non-us weaher maps?