[pmwiki-users] JavaScript or similar to automatially reload a modified page?

christian.ridderstrom at gmail.com christian.ridderstrom at gmail.com
Fri Jun 13 16:41:30 CDT 2008


Hi,

I don't know anything about JavaScript, but would it be possible to use 
that to make a page reload automatically when the page is changed on the 
server?

I think the code would work so that the javascript get's a 'time of 
modification' with the code of the page, and then repeatedly polls the 
server to see if the page has changed. Would this be possible?

The use case would be that you open a page in two browser windows, and 
then you edit the page in one of the windows. The other page will then 
automatically reload as you do 'save-and-edit'.

cheers
/Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr


More information about the pmwiki-users mailing list