diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-10-21 18:07:22 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-10-21 18:07:22 -0700 |
commit | 8d59ff3c067efe3b373e3bb5e6c1dc2ca14e2d75 (patch) | |
tree | c1b991118466d1446fa425141eca38acd462c316 | |
parent | d193763aa86d374e7b01afd0b5e2c26434c350d3 (diff) | |
download | volse-hubzilla-8d59ff3c067efe3b373e3bb5e6c1dc2ca14e2d75.tar.gz volse-hubzilla-8d59ff3c067efe3b373e3bb5e6c1dc2ca14e2d75.tar.bz2 volse-hubzilla-8d59ff3c067efe3b373e3bb5e6c1dc2ca14e2d75.zip |
aid salmon discovery for feed scrapers that look for the old-style rel type.
-rw-r--r-- | include/items.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php index eca050d4f..b4c2da0ca 100644 --- a/include/items.php +++ b/include/items.php @@ -139,7 +139,9 @@ function get_feed_for(&$a, $dfrn_id, $owner_id, $last_update, $direction = 0) { } $salmon = '<link rel="salmon" href="' . xmlify($a->get_baseurl() . '/salmon/' . $owner_nick) . '" />' . "\n" ; -// $salmon = ''; // remove this line when salmon handler is finished + $salmon .= '<link rel="http://salmon-protocol.org/ns/salmon-replies" href="' . xmlify($a->get_baseurl() . '/salmon/' . $owner_nick) . '" />' . "\n" ; + $salmon .= '<link rel="http://salmon-protocol.org/ns/salmon-mention" href="' . xmlify($a->get_baseurl() . '/salmon/' . $owner_nick) . '" />' . "\n" ; + $atom .= replace_macros($feed_template, array( '$feed_id' => xmlify($a->get_baseurl() . '/profile/' . $owner_nick), |