开发者

Google Wave Robot - Change to Wave in response to an external event

开发者 https://www.devze.com 2022-12-11 21:25 出处:网络
I am writing a Google Wave Robot开发者_运维百科 that allows users to \"manage a wave\". I plan to have a configuration page on my website. When the configuration is changed, ideally all waves where th

I am writing a Google Wave Robot开发者_运维百科 that allows users to "manage a wave". I plan to have a configuration page on my website. When the configuration is changed, ideally all waves where this user added by this user should change immediately (or at least next time someone views the wave). What is the best way of doing this?

Apparently, "a robot cannot contact Wave directly; it can only respond to wave-related events and cron events". If I decide to go the cron route, how quickly can I update the Wave?


Please check out the new Robot API v2 - it enables robots to actively push information into Wave.


as far as I know, cron does not work at the moment (2009-11-28) either. You could add a gadget, that changes its internal state - for example 1 sec after wave loaded using a timer - and listen for DOCUMENT_CHANGED or BLIP_SUBMITTED (less volume) events. But unless your bot comes with a gadget anyway, this is of course not very pretty.

=HC

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号