From: Andrew Dolgov Date: Thu, 29 Dec 2005 16:36:41 +0000 (+0100) Subject: initial feed browser work X-Git-Tag: schema_freeze_for_1.1.2~53 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f9cb39acafce8ec59e028f7060c32c0fe838a59d;p=tt-rss.git initial feed browser work --- diff --git a/backend.php b/backend.php index e9231768..7b059466 100644 --- a/backend.php +++ b/backend.php @@ -1501,6 +1501,56 @@ $subop = $_REQUEST["subop"]; $quiet = $_REQUEST["quiet"]; + if ($subop == "browse") { + + print "
"; + + print "

Feed browser

"; + + print "

Showing top 50 registered feeds, sorted by popularity:

"; + + $result = db_query($link, "SELECT feed_url,count(id) AS subscribers + FROM ttrss_feeds WHERE auth_login = '' AND auth_pass = '' + GROUP BY feed_url ORDER BY subscribers LIMIT 50"); + + print ""; + + print "
+ +
"; + + print "
"; + return; + } + if ($subop == "editfeed") { $feed_id = db_escape_string($_GET["id"]); @@ -1895,6 +1945,8 @@ size=\"40\"> +   + (Browse feeds)