diff options
author | Andrew Dolgov <[email protected]> | 2011-04-20 15:21:00 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-04-20 15:21:00 +0400 |
commit | ae5f7bb11a7698a84c9352436c144286f7c81630 (patch) | |
tree | fbf541a0009cd8462d5137b04ffcea0113df37bc /update.php | |
parent | cfc0647184933b042b9929ede09f52e7d3f3318f (diff) |
implement fetching and exporting of shared feeds
Diffstat (limited to 'update.php')
-rwxr-xr-x | update.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/update.php b/update.php index 9c9c6ae8d..92e2ce6ef 100755 --- a/update.php +++ b/update.php @@ -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"); |