move to rel="salmon" (per latest spec)

This commit is contained in:
James Walker
2010-08-02 13:23:55 -04:00
parent a1aea74fe2
commit 517c7483d1
3 changed files with 9 additions and 1 deletions

View File

@@ -158,6 +158,9 @@ class OStatusPlugin extends Plugin
// Also, we'll add in the salmon link
$salmon = common_local_url($salmonAction, array('id' => $id));
$feed->addLink($salmon, array('rel' => Salmon::REL_SALMON));
// XXX: these are deprecated
$feed->addLink($salmon, array('rel' => Salmon::NS_REPLIES));
$feed->addLink($salmon, array('rel' => Salmon::NS_MENTIONS));
}