From aa0fa9df1ee81b1af80dd1c882ea171563f6b1e9 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 18 May 2008 09:51:07 +0100 Subject: getNeighborIds: add scope, add automatic prefetch for articles under mouse --- modules/backend-rpc.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'modules/backend-rpc.php') diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php index 1bff702a7..2b3fe8726 100644 --- a/modules/backend-rpc.php +++ b/modules/backend-rpc.php @@ -414,6 +414,21 @@ } + if ($subop == "getArticles") { + $ids = split(",", db_escape_string($_REQUEST["ids"])); + + print ""; + + foreach ($ids as $id) { + if ($id) { + outputArticleXML($link, $id, 0, false); + } + } + print ""; + + return; + } + print "Unknown method: $subop"; } ?> -- cgit v1.2.3