From 79f5fd8e2a4959b78cf8be6312962849e14e9d85 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 26 Mar 2014 16:09:07 -0700 Subject: allow zotfeed to create a firehose of a site. --- mod/zotfeed.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mod') diff --git a/mod/zotfeed.php b/mod/zotfeed.php index 6d84a5a1e..1f5dc2cfa 100644 --- a/mod/zotfeed.php +++ b/mod/zotfeed.php @@ -25,6 +25,11 @@ function zotfeed_init(&$a) { dbesc(argv(1)) ); } + else { + $x = get_sys_channel(); + if($x) + $r = array($x); + } if(! $r) { $result['message'] = 'Channel not found.'; json_return_and_die($result); -- cgit v1.2.3