Browse Source

aid salmon discovery for feed scrapers that look for the old-style rel type.

pull/1/head
Mike Macgirvin 11 years ago
parent
commit
8d59ff3c06
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      include/items.php

+ 3
- 1
include/items.php View File

@ -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),


Loading…
Cancel
Save