[Proto-Scripty] Periodical Updater detect content change

2009-06-23 Thread Aamchi
Hi, I was wondering if Ajax.PeriodicalUpdater can detect if content has changed since the last update and if so trigger an event. So for example I have a scoreboard which fetches data every 5 seconds and displays this. I would be cool if there could be some kind of notification if content had ch

[Proto-Scripty] Re: Periodical Updater detect content change

2009-06-23 Thread Aamchi
dated data cause the hash to be overwritten in the JSON header? Or do I have to send two hashes always and compare them? On 23 Jun., 22:57, Richard Quadling wrote: > 2009/6/23 Aamchi > > > > > > > Hi, > > > I was wondering if Ajax.PeriodicalUpdater can detect if co

[Proto-Scripty] Re: Periodical Updater detect content change

2009-06-24 Thread Aamchi
w.prototypejs.org/api/timedObserver/form-observer > I used to use this but implemented my own version of it with a cache and > some hashing, it didnt take long to write and works perfectly > > HTH > Alex > > ----- Original Message - > From: "Aamchi" > To: &qu

[Proto-Scripty] Re: Periodical Updater detect content change

2009-06-24 Thread Aamchi
Thanks Richard, I will try this out. Really appreciate your help! On 24 Jun., 12:12, Richard Quadling wrote: > 2009/6/23 Aamchi : > > > > > > > Thanks, for your response. I'm not 100% sure if I understand correctly > > what you mean. If I get some data and ge

[Proto-Scripty] Re: Periodical Updater detect content change

2009-06-24 Thread Aamchi
, Richard Quadling wrote: > 2009/6/23 Aamchi : > > > > > > > Thanks, for your response. I'm not 100% sure if I understand correctly > > what you mean. If I get some data and generate a hash and write this > > to the JSON header and retrieve this when ca