Re: Weather Forcast
Eric Rostetter <[email protected]>
| Newsgroups | gmane.comp.horde.jonah |
|---|---|
| Message-ID | <[email protected]> |
Quoting Chuck Hagenbuch <[email protected]>: > > Are there any problems with me doing the full list? Memory consumption > > for the array for example? Should I try to trim down the list, or use > > them all? > > We should cache the necessary info in a user's prefs so that we don't have > to load the whole list on every page load, but otherwise, the full list is > fine by me. I've put a new weather.php at https://mail.ph.utexas.edu/patches/jonah/weather.php which seems to work fine. It is very large, so it takes a long time to load the selection box in the options. But no problem once you select the station. Also, the array index has changed from "city" to "citystate" so you will need to reset your weather station once you install this. And last, it only contains US weather stations so far, no other countries. I've not yet regenerated the tsv files. Comments welcome. -- Eric Rostetter The Department of Physics The University of Texas at Austin Why get even? Get odd! -- Jonah mailing list Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]