roboa Posted March 25, 2009 Report Posted March 25, 2009 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 Quote
roboa Posted March 25, 2009 Author Report Posted March 25, 2009 I mean like, get it to show on the frontpage. Would I just copy the code where I want it to appear? Quote
Leiserson Posted March 25, 2009 Report Posted March 25, 2009 <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> Quote
Strider Posted May 3, 2009 Report Posted May 3, 2009 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 Quote
RogerB Posted May 3, 2009 Report Posted May 3, 2009 I posted something about VATSIM php a while back, that also does metars....... Quote
Administrators Nabeel Posted May 4, 2009 Administrators Report Posted May 4, 2009 Jake's code should work, is the phpvms.js file included? Make sure it's a div and the class is "metar" Quote
Strider Posted May 4, 2009 Report Posted May 4, 2009 Yes the js file is included and the class is called metar. And it is a div. Cheers Dan C Quote
Administrators Nabeel Posted May 4, 2009 Administrators Report Posted May 4, 2009 Just added it on one of my pages, it is working ? Quote
Administrators Nabeel Posted May 5, 2009 Administrators Report Posted May 5, 2009 What's the exact code you're using? Quote
Strider Posted May 5, 2009 Report Posted May 5, 2009 <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 Quote
Administrators Nabeel Posted May 5, 2009 Administrators Report Posted May 5, 2009 Seems as though it only works with US airports Quote
roboa Posted May 5, 2009 Author Report Posted May 5, 2009 Works for European airports too as I have tested it for the majority of our destinations.... roboa Quote
Administrators Nabeel Posted May 5, 2009 Administrators Report Posted May 5, 2009 He's checking Asian airports though, not sure if it shows up for those Quote
homer09001 Posted June 3, 2009 Report Posted June 3, 2009 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 Quote
roboa Posted June 3, 2009 Author Report Posted June 3, 2009 This code doesn't provide a map. It shows a METAR (airport weather report) you know... Quote
homer09001 Posted June 3, 2009 Report Posted June 3, 2009 ohh yeah, well whilst im on that subject has anyone managed to modify that page to show UK and other Non-us weaher maps? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.