Re: Keeping Mears in Database
Brought to you by:
iridium
From: Martin G. <gim...@gi...> - 2003-04-06 15:59:12
|
Ondrej Jombik <ne...@po...> writes: >> Is there a quick workaround to keep the old metars? Or do I have to >> adjust db/pw_db_mysql.php and subsequently date_retrieval.php to have >> a fourth column with the actual system time as part of the key? > > Several times ago I also wanted to have this feature. But there was > no such time for its implementation. Martin, I think this is written > on the long-term TODO list, isn't it? ;-) Yes, I guess it is... :-) Together with TAF reports, a working www.phpweather.net/ and so on... If anybody wants to work with any of this, then don't hesitate. But as Klaus notes, then it shouldn't be that difficult for the SQL based backends: just fetch the newest METAR for a given station per default and then always insert new METARs instead of replacing the one ones. -- Martin Geisler My GnuPG Key: 0xF7F6B57B See http://gimpster.com/ and http://phpweather.net/ for: PHP Weather: Shows the current weather on your webpage and PHP Shell: A telnet-connection (almost :-) in a PHP page. Join Freenet: http://gimpster.com/downloads/freenet/ |