[Zope] LocalFS

Gre7g Luterman gre7g at kyoht.com
Wed Mar 16 15:23:13 EST 2005


On 16 Mar 2005 at 20:07, Rakotomandimby (R12y) Mihamina wrote:

> I want to use LocalFS to display some mrtg and webalizer charts on a Zope
> site. As you know those charts are refreshed, and I want some "real time"
> display of the chart, so that I cant upload one image one time and display
> it the HTML way.

If the data does not update very often, then you could put in a meta 
tag to make the entire page update automatically:

<meta http-equiv="refresh" content="30; url=webpage_url">

If you want to refresh more often, then you could use some Javascript 
to set up a timer and tell it to reload the image periodically.

To make the information truly live, you would have to resort to 
putting Java (bleah!) on the page to keep an open connection to the 
server.  I really don't recommend that much hassle.

Gre7g


More information about the Zope mailing list