aboutsummaryrefslogtreecommitdiffstats
path: root/include/salmon.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-10-21 21:48:22 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-10-21 21:48:22 -0700
commitd850badf2b5717afe39a5fd96dabd29aa013910a (patch)
tree565b8588feaadb37367ed44741f3c66f741ecf85 /include/salmon.php
parent16b9c58412b1ad48fe135d8d7fdcceb4b23848e6 (diff)
downloadvolse-hubzilla-d850badf2b5717afe39a5fd96dabd29aa013910a.tar.gz
volse-hubzilla-d850badf2b5717afe39a5fd96dabd29aa013910a.tar.bz2
volse-hubzilla-d850badf2b5717afe39a5fd96dabd29aa013910a.zip
pull out follow, unfollow and as:actor for handling
Diffstat (limited to 'include/salmon.php')
-rw-r--r--include/salmon.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/salmon.php b/include/salmon.php
index 52810426f..92ec571b3 100644
--- a/include/salmon.php
+++ b/include/salmon.php
@@ -48,6 +48,7 @@ function get_salmon_key($uri,$keyhash) {
$l = explode("\n",$h);
if(count($l)) {
foreach($l as $line) {
+ // TODO alter the following regex to support multiple relations (space separated)
if((stristr($line,'link:')) && preg_match('/<([^>].*)>.*rel\=[\'\"]lrdd[\'\"]/',$line,$matches)) {
$link = $matches[1];
if($debugging)