From 4fa3573e1a380827a15b56940b03c87af5787ca4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 22 Aug 2005 08:27:10 +0100 Subject: [PATCH] refresh button -> update button (forces refetch) --- backend.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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"; -- 2.39.5