diff options
author | zotlabs <mike@macgirvin.com> | 2019-03-11 22:17:36 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2019-03-11 22:17:36 -0700 |
commit | a9172129d2f537eddcd273255895712718fe9543 (patch) | |
tree | 488cad49055cc6ff9b82467ee3c5e75e3e84fd8b | |
parent | 4e97fb0e587eed6875b1d3a2615b0997a7f13c63 (diff) | |
download | volse-hubzilla-a9172129d2f537eddcd273255895712718fe9543.tar.gz volse-hubzilla-a9172129d2f537eddcd273255895712718fe9543.tar.bz2 volse-hubzilla-a9172129d2f537eddcd273255895712718fe9543.zip |
check zot6 in import_author_xchan
-rwxr-xr-x | include/items.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php index 51aa81017..9287c81db 100755 --- a/include/items.php +++ b/include/items.php @@ -914,6 +914,15 @@ function import_author_xchan($x) { if(array_key_exists('network',$x) && $x['network'] === 'zot') return $y; + // perform zot6 discovery + + if($x['url']) { + $y = discover_by_webbie($x['url'],'zot6'); + if($y) { + return $y; + } + } + if($x['network'] === 'rss') { $y = import_author_rss($x); } |