From: Andrew Dolgov Date: Mon, 19 Jun 2006 09:04:09 +0000 (+0100) Subject: xml-rpc: unify rss.getVirtualFeeds format with other methods X-Git-Tag: 1.2.1~13 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5ba41c312f5cf6d3cb013a0caf38a1d9565d59ff;p=tt-rss.git xml-rpc: unify rss.getVirtualFeeds format with other methods --- diff --git a/xml-rpc.php b/xml-rpc.php index 73a47c43..b922dfb2 100644 --- a/xml-rpc.php +++ b/xml-rpc.php @@ -46,8 +46,8 @@ $line_struct = new xmlrpcval( array( "id" => new xmlrpcval($id, "int"), - "description" => new xmlrpcval($counters[$id]["description"]), - "counter" => new xmlrpcval($counters[$id]["counter"], "int") + "title" => new xmlrpcval($counters[$id]["description"]), + "unread" => new xmlrpcval($counters[$id]["counter"], "int") ), "struct"); @@ -257,6 +257,8 @@ $view_mode = "unread"; } else if ($filter == 2) { $view_mode = "marked"; + } else if ($filter == 3) { + $view_mode = "adaptive"; } $cat_view = false;