Hello! 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. I need to take the chart from the File System and display it. I also have some other files I want to parse on the filesystem, so I really need LocalFS. But would you have any tutorial on using LocalFS, so that I could learn dealing with it? -- En mal de support technique? http://supports.etud-orleans.fr/ Infogerance de serveur dedie http://aspo.rktmb.org/activites/infogerance (En louant les services de l'ASPO vous luttez contre la fracture numerique) Etudiants de l'Universite d'Orleans: http://www.etud-orleans.fr/
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
Rakotomandimby (R12y) Mihamina wrote:
But would you have any tutorial on using LocalFS, so that I could learn dealing with it?
Just install it and add a Local FS object from the management interface. It's pretty self-explanatory ;-) Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
participants (3)
-
Chris Withers -
Gre7g Luterman -
Rakotomandimby (R12y) Mihamina