[Twisted-web] using livepage
john.horton at blackspider.com
Wed Jul 27 03:22:27 MDT 2005
I have looked through the examples and the archives but cannot find what
I am looking for.
I need to be able to create a piece of HTML that is updated once a
second via livepage.
currently my html looks like
<span class="time"><nevow:slot name="time" /></span>
and the python looks like
def render_time(self, context, data):
context.fillSlots('time', '%s' % time.ctime())
but I need to refresh the browser to update the time - can anyone point
me in the right direction so that the time is constantly updated?
This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com
More information about the Twisted-web