Wikiposts
Search
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

TAF's on a web-page

Thread Tools
 
Search this Thread
 
Old 2nd May 2003, 07:17
  #1 (permalink)  
Thread Starter
 
Join Date: Apr 2000
Location: Milton Keynes, UK
Posts: 145
Likes: 0
Received 0 Likes on 0 Posts
TAF's on a web-page

Hi

Does anyone know how I can get the latest TAF for my local airfield(s) on the homepage of a website I'm writing? I'd like the latest TAF and maybe METAR for LGW,LTN,BHX and LPL on a webpage but can't find any specific sites that offer this service...
Courtman is offline  
Old 2nd May 2003, 07:31
  #2 (permalink)  
 
Join Date: Sep 2002
Location: London, UK
Posts: 778
Likes: 0
Received 0 Likes on 0 Posts
There are several ways I suppose. As one example, you can request them from another site and parse the response. No comments on the legalities of republishing such data though.

As an example, the NWS in the US allow you to enter airfield IDs and get the the metar for each. The MetOffice allow it too but there you have to register first, though the same mechanism would work. The URL for the NWS is:

http://weather.noaa.gov/cgi-bin/mget...cccc=XXXX+YYYY

where XXXX and YYYY are airfield identifiers. You can add several.

To get this data on to your web page you could, most simply, include a frameset with the weather info in one frame. For a nicer looking page you could periodically grab the results of the URL above (use something like "wget", available for Windows and Unix/Linux) and then parse the results (use GREP or a simple Perl script) to leave just the bits you want. Stuff some HTML around the results and there you have it.

I can't see that it's worth the effort really - why not just have link directly, like this?
drauk is offline  
Old 3rd May 2003, 15:19
  #3 (permalink)  
 
Join Date: Aug 2000
Location: UK
Posts: 1,777
Likes: 0
Received 0 Likes on 0 Posts
You can register with the UK Met Office as a general aviator. Then you get access to a raft of info, inc TAFs, METARs, forecasts, charts, etc.

http://www.meto.gov.uk/aviation/index.html
FJJP is offline  

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.