summaryrefslogtreecommitdiff
path: root/actions/replies.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-11-01 13:04:23 -0500
committerEvan Prodromou <evan@status.net>2009-11-01 13:04:23 -0500
commit5f5413624d166a9b2116d266c7698dd6dcd2d8c4 (patch)
tree3f7f85bbfb747d68bf518df026eea6ac686ad0c0 /actions/replies.php
parent658683e240ef6e44c6450a16448fe7cb82f792f2 (diff)
parent44ce8e2fcd1eba0d0f2723c246c1a021614e2763 (diff)
Merge branch '0.9.x' into userflag
Diffstat (limited to 'actions/replies.php')
-rw-r--r--actions/replies.php24
1 files changed, 19 insertions, 5 deletions
diff --git a/actions/replies.php b/actions/replies.php
index 6003ad30b..a13b5a227 100644
--- a/actions/replies.php
+++ b/actions/replies.php
@@ -138,11 +138,25 @@ class RepliesAction extends OwnerDesignAction
function getFeeds()
{
- $rssurl = common_local_url('repliesrss',
- array('nickname' => $this->user->nickname));
- $rsstitle = sprintf(_('Feed for replies to %s'), $this->user->nickname);
-
- return array(new Feed(Feed::RSS1, $rssurl, $rsstitle));
+ return array(new Feed(Feed::RSS1,
+ common_local_url('repliesrss',
+ array('nickname' => $this->user->nickname)),
+ sprintf(_('Replies feed for %s (RSS 1.0)'),
+ $this->user->nickname)),
+ new Feed(Feed::RSS2,
+ common_local_url('ApiTimelineMentions',
+ array(
+ 'id' => $this->user->nickname,
+ 'format' => 'rss')),
+ sprintf(_('Replies feed for %s (RSS 2.0)'),
+ $this->user->nickname)),
+ new Feed(Feed::ATOM,
+ common_local_url('ApiTimelineMentions',
+ array(
+ 'id' => $this->user->nickname,
+ 'format' => 'atom')),
+ sprintf(_('Replies feed for %s (Atom)'),
+ $this->user->nickname)));
}
/**