summaryrefslogtreecommitdiff
path: root/actions/replies.php
diff options
context:
space:
mode:
authorBrenda Wallace <shiny@cpan.org>2009-10-30 19:21:16 +1300
committerBrenda Wallace <shiny@cpan.org>2009-10-30 19:21:16 +1300
commit4892073c842bcb8e11bffeb829e99ac865c07924 (patch)
tree65b79b3345b3a37d901ef460715cba3957d2b923 /actions/replies.php
parent54c64a0cf1160db174934799750d7eec83f4f433 (diff)
parent02131db1c976831241b61e205ccda9e3232c4fe2 (diff)
Merge commit 'mainline/0.9.x' into 0.9.x
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)));
}
/**