}
-function update_feed_list() {
+function update_feed_list(called_from_timer) {
+
+ if (called_from_timer != true) {
+ document.getElementById("feeds").innerHTML = "Updating feeds, please wait...";
+ }
xmlhttp.open("GET", "backend.php?op=feeds", true);
xmlhttp.onreadystatechange=feedlist_callback;
xmlhttp.send(null);
+
}
function viewfeed(feed, skip, ext) {
}
+function timeout() {
+
+ update_feed_list(true);
+
+ setTimeout("timeout()", 120*1000);
+
+}
+
function init() {
notify("init");
update_feed_list();
+ setTimeout("timeout()", 120*1000);
+
}