diff options
author | Friendika <info@friendika.com> | 2011-08-17 23:10:55 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-08-17 23:10:55 -0700 |
commit | 69b7c2f0becdda1e331eef0069e163c2dad9df0e (patch) | |
tree | 61db67af16da0d7e20b830a0ae18b691684fc3b9 | |
parent | 96342878398e394173ba1a2dd825afbcb19e7199 (diff) | |
download | volse-hubzilla-69b7c2f0becdda1e331eef0069e163c2dad9df0e.tar.gz volse-hubzilla-69b7c2f0becdda1e331eef0069e163c2dad9df0e.tar.bz2 volse-hubzilla-69b7c2f0becdda1e331eef0069e163c2dad9df0e.zip |
documentation
-rw-r--r-- | include/Scrape.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/Scrape.php b/include/Scrape.php index 1b319481b..1c9fe7d45 100644 --- a/include/Scrape.php +++ b/include/Scrape.php @@ -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); |