roboa Posted March 25, 2009 Report Share 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 Link to comment Share on other sites More sharing options...
RogerB Posted March 25, 2009 Report Share Posted March 25, 2009 Ahhhhhh, it already is........ ??? Quote Link to comment Share on other sites More sharing options...
roboa Posted March 25, 2009 Author Report Share 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 Link to comment Share on other sites More sharing options...
Leiserson Posted March 25, 2009 Report Share 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 Link to comment Share on other sites More sharing options...
Strider Posted May 3, 2009 Report Share 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 Link to comment Share on other sites More sharing options...
RogerB Posted May 3, 2009 Report Share Posted May 3, 2009 I posted something about VATSIM php a while back, that also does metars....... Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 4, 2009 Administrators Report Share 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 Link to comment Share on other sites More sharing options...
Strider Posted May 4, 2009 Report Share 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 Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 4, 2009 Administrators Report Share Posted May 4, 2009 Just added it on one of my pages, it is working ? Quote Link to comment Share on other sites More sharing options...
Strider Posted May 4, 2009 Report Share Posted May 4, 2009 Not for me. Cheers Dan C Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 5, 2009 Administrators Report Share Posted May 5, 2009 What's the exact code you're using? Quote Link to comment Share on other sites More sharing options...
Strider Posted May 5, 2009 Report Share 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 Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 5, 2009 Administrators Report Share Posted May 5, 2009 Seems as though it only works with US airports Quote Link to comment Share on other sites More sharing options...
roboa Posted May 5, 2009 Author Report Share Posted May 5, 2009 Works for European airports too as I have tested it for the majority of our destinations.... roboa Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 5, 2009 Administrators Report Share Posted May 5, 2009 He's checking Asian airports though, not sure if it shows up for those Quote Link to comment Share on other sites More sharing options...
homer09001 Posted June 3, 2009 Report Share 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 Link to comment Share on other sites More sharing options...
roboa Posted June 3, 2009 Author Report Share Posted June 3, 2009 This code doesn't provide a map. It shows a METAR (airport weather report) you know... Quote Link to comment Share on other sites More sharing options...
homer09001 Posted June 3, 2009 Report Share 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 Link to comment Share on other sites More sharing options...
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.