1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-24 06:51:28 +00:00

add "extractfeedurls" rpc action that extracts the feed URLs from a HTML page

This commit is contained in:
Christian Weiske
2010-11-07 15:45:50 +01:00
committed by Andrew Dolgov
parent f2c6c0088b
commit f0266f51ab
2 changed files with 56 additions and 7 deletions

View File

@@ -123,6 +123,16 @@
}
if ($subop == "extractfeedurls") {
print "<rpc-reply>";
$urls = get_feeds_from_html($_REQUEST['url']);
print "<urls><![CDATA[" . json_encode($urls) . "]]></urls>";
print "</rpc-reply>";
return;
}
if ($subop == "togglepref") {
print "<rpc-reply>";