mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-19 14:21:28 +00:00
getNeighborIds: add scope, add automatic prefetch for articles under mouse
This commit is contained in:
@@ -414,6 +414,21 @@
|
||||
|
||||
}
|
||||
|
||||
if ($subop == "getArticles") {
|
||||
$ids = split(",", db_escape_string($_REQUEST["ids"]));
|
||||
|
||||
print "<rpc-reply>";
|
||||
|
||||
foreach ($ids as $id) {
|
||||
if ($id) {
|
||||
outputArticleXML($link, $id, 0, false);
|
||||
}
|
||||
}
|
||||
print "</rpc-reply>";
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
print "<rpc-reply><error>Unknown method: $subop</error></rpc-reply>";
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user