1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-26 23:01:28 +00:00

implement fetching and exporting of shared feeds

This commit is contained in:
Andrew Dolgov
2011-04-20 15:21:00 +04:00
parent cfc0647184
commit ae5f7bb11a
7 changed files with 143 additions and 38 deletions

View File

@@ -22,6 +22,7 @@
print " -feedbrowser - update feedbrowser\n";
print " -daemon - start single-process update daemon\n";
print " -cleanup-tags - perform tags table maintenance\n";
print " -get-feeds - receive popular feeds from linked instances\n";
print " -help - show this help\n";
return;
}
@@ -110,6 +111,10 @@
print "$rc tags deleted.\n";
}
if ($op == "-get-feeds") {
get_linked_feeds($link);
}
db_close($link);
unlink(LOCK_DIRECTORY . "/$lock_filename");