documentation
This commit is contained in:
parent
9634287839
commit
69b7c2f0be
1 changed files with 20 additions and 0 deletions
|
@ -301,6 +301,26 @@ function scrape_feed($url) {
|
|||
return $ret;
|
||||
}}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Probe a network address to discover what kind of protocols we need to communicate with it.
|
||||
*
|
||||
* Warning: this function is a bit touchy and there are some subtle dependencies within the logic flow.
|
||||
* Edit with care.
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* PROBE_DIASPORA has a bias towards returning Diaspora information
|
||||
* while PROBE_NORMAL has a bias towards dfrn/zot - in the case where
|
||||
* an address (such as a Friendika address) supports more than one type
|
||||
* of network.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
define ( 'PROBE_NORMAL', 0);
|
||||
define ( 'PROBE_DIASPORA', 1);
|
||||
|
||||
|
|
Loading…
Reference in a new issue