From 87b16a0a6156e90f549f13f59e657ff03a33a7e4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 3 Feb 2009 15:28:37 +0300 Subject: add dialog to download articles for offline reading; start implementation --- modules/backend-rpc.php | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'modules/backend-rpc.php') diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php index 04e2858ca..55ab73a20 100644 --- a/modules/backend-rpc.php +++ b/modules/backend-rpc.php @@ -514,6 +514,34 @@ return; } + if ($subop == "download") { + $stage = (int) $_REQUEST["stage"]; + + print ""; + + if ($stage == 0) { + print ""; + + $reply = array(); + + $result = db_query($link, "SELECT id, title FROM + ttrss_feeds WHERE owner_uid = ".$_SESSION["uid"]); + + while ($line = db_fetch_assoc($result)) { + print ""; + } + + print ""; + + } + + print ""; + + return; + } + print "Unknown method: $subop"; } ?> -- cgit v1.2.3