diff --git a/backend.php b/backend.php index eed068709..5fe962c35 100644 --- a/backend.php +++ b/backend.php @@ -111,7 +111,8 @@ $line = pg_fetch_assoc($result); - if (!$ext && $line["update_timeout"] > MIN_UPDATE_TIME) { + if ($ext == "ForceUpdate" || + (!$ext && $line["update_timeout"] > MIN_UPDATE_TIME)) { update_rss_feed($link, $line["feed_url"], $feed); @@ -186,8 +187,11 @@ print "Next Page"; print " "; +// print "Refresh"; +// print " "; print "Refresh"; + href=\"javascript:viewfeed($feed, 0, 'ForceUpdate');\">Update"; print "  Mark as read: "; print "This Page";