aboutsummaryrefslogtreecommitdiffstats
path: root/include/Scrape.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-09-20 01:49:08 -0700
committerFriendika <info@friendika.com>2011-09-20 01:49:08 -0700
commit9edf15d3ef0548a35862fab37eee1fd310705285 (patch)
treed8c6e34b8e83116d1c9151b58ca63d24845923cb /include/Scrape.php
parent8a11cec61a87600273f1349e3d112e7fc1e65486 (diff)
downloadvolse-hubzilla-9edf15d3ef0548a35862fab37eee1fd310705285.tar.gz
volse-hubzilla-9edf15d3ef0548a35862fab37eee1fd310705285.tar.bz2
volse-hubzilla-9edf15d3ef0548a35862fab37eee1fd310705285.zip
structures for batch mode (Diaspora/zot)
Diffstat (limited to 'include/Scrape.php')
-rw-r--r--include/Scrape.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/Scrape.php b/include/Scrape.php
index 58468a40d..0115bf2e7 100644
--- a/include/Scrape.php
+++ b/include/Scrape.php
@@ -496,8 +496,10 @@ function probe_url($url, $mode = PROBE_NORMAL) {
}
if($diaspora && $diaspora_base && $diaspora_guid) {
- if($mode == PROBE_DIASPORA || ! $notify)
+ if($mode == PROBE_DIASPORA || ! $notify) {
$notify = $diaspora_base . 'receive/users/' . $diaspora_guid;
+ $batch = $diaspora_base . 'receive/public' ;
+ }
if(strpos($url,'@'))
$addr = str_replace('acct:', '', $url);
}
@@ -675,6 +677,7 @@ function probe_url($url, $mode = PROBE_NORMAL) {
$result['nick'] = $vcard['nick'];
$result['url'] = $profile;
$result['addr'] = $addr;
+ $result['batch'] = $batch;
$result['notify'] = $notify;
$result['poll'] = $poll;
$result['request'] = $request;