[Zope] ZWeather?

Andreas Kostyrka andreas@mtg.co.at
Mon, 23 Aug 1999 23:02:44 +0200 (CEST)


On Wed, 11 Aug 1999, Tim Wilson wrote:

> Hi everyone,
> 
> I've been thinking that it would be cool to have current weather
> conditions displayed on our science dept. home page. Getting the current
> conditions involves requesting them from weather.noaa.gov according to a
> code that refers to your location. There is already a little Python
> program that does this via email: 
> 
> http://freshmeat.net/appindex/1999/06/29/930711471.html
> 
> Unfortunately, I'm a Zope newbie and not sure how to approach this.
> Obviously (at least it seems to me), you don't want Zope sending out a
> fresh request every time your page is updated. Is it possible for Zope to
> cache the results of the lookup for some period of time?
> 
> Does this seem like a reasonable thing to accomplish via Zope?
Well, you could always do the update outside of ZOPE. Just create a
``static'' ZOPE page, and then update it via ZClient ;)

Andreas
--
Andreas Kostyrka                     | andreas@mtg.co.at
phone: +43/1/7070750                 | phone: +43/676/4091256   
MTG Handelsges.m.b.H.                | fax:   +43/1/7065299
Raiffeisenstr. 16/9                  | 2320 Zwoelfaxing AUSTRIA