autorefresh a web page every x minutes
Dears, Is there a way of doing a particular page template (ZPT) keeping reloading/refreshing itself every x minute? I hope so. Any help would be very appreciate. Many thinks in advance. Cheers, Alan -- Alan Wilter S. da Silva, D.Sc. - Research Associate Department of Biochemistry, University of Cambridge. 80 Tennis Court Road, Cambridge CB2 1GA, UK.
--On 4. August 2006 15:32:26 +0100 Alan <alanwilter@gmail.com> wrote:
Dears,
Is there a way of doing a particular page template (ZPT) keeping reloading/refreshing itself every x minute?
I hope so. Any help would be very appreciate. Many thinks in advance.
This is not a Zope question. Google for "meta refresh tag". -aj
Andreas Jung wrote:
--On 4. August 2006 15:32:26 +0100 Alan <alanwilter@gmail.com> wrote:
Dears,
Is there a way of doing a particular page template (ZPT) keeping reloading/refreshing itself every x minute?
I hope so. Any help would be very appreciate. Many thinks in advance.
This is not a Zope question. Google for "meta refresh tag".
or google for real headers :-) context.REQUEST.RESPONSE.setHeader('refresh','60') for example. Regards Tino
This is "Client-Pull" web question, not Zope related. Here is an example of what needs to be in the <head> of the page: <meta HTTP-EQUIV="Refresh" CONTENT="5; URL=http://www.foo.com/foo.html"> where 5 is seconds, so 300 would be 5 minutes, and the URL is the next url, leave out URL=http://www.foo.com/foo.html to refresh the same page. Cliff Alan wrote:
Dears,
Is there a way of doing a particular page template (ZPT) keeping reloading/refreshing itself every x minute?
I hope so. Any help would be very appreciate. Many thinks in advance.
Cheers, Alan
participants (4)
-
Alan -
Andreas Jung -
Cliff Ford -
Tino Wildenhain