]> git.mxchange.org Git - friendica.git/commitdiff
documentation
authorFriendika <info@friendika.com>
Thu, 18 Aug 2011 06:10:55 +0000 (23:10 -0700)
committerFriendika <info@friendika.com>
Thu, 18 Aug 2011 06:10:55 +0000 (23:10 -0700)
include/Scrape.php

index 1b319481ba1e27c9a1fb1e7d5bd0e9b9c2efadaa..1c9fe7d45434d7d7a92b1183e3f7d511235e73b8 100644 (file)
@@ -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);