From: Andrew Dolgov Date: Mon, 22 Aug 2005 07:27:10 +0000 (+0100) Subject: refresh button -> update button (forces refetch) X-Git-Tag: 20050823-1~30 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=4fa3573e1a380827a15b56940b03c87af5787ca4;p=tt-rss.git refresh button -> update button (forces refetch) --- diff --git a/backend.php b/backend.php index eed06870..5fe962c3 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";