+
+function update_random_feed() {
+ try {
+ console.log("in update_random_feed");
+
+ new Ajax.Request("backend.php", {
+ parameters: "op=rpc&method=updateRandomFeed",
+ onComplete: function(transport) {
+ handle_rpc_json(transport, true);
+ window.setTimeout("update_random_feed()", 30*1000);
+ } });
+
+ } catch (e) {
+ exception_error("update_random_feed", e);
+ }
+}