summaryrefslogtreecommitdiff
path: root/actions/showstream.php
diff options
context:
space:
mode:
authorRobin Millette <millette@controlyourself.ca>2009-05-18 18:18:08 -0400
committerRobin Millette <millette@controlyourself.ca>2009-05-18 18:18:08 -0400
commitf5606b6aa3868d777c6c697cf1bbc5348cb2ccc3 (patch)
tree39dc174a6e535412f21d166ac8e19b0c8dfb9bf5 /actions/showstream.php
parent57860b4d8a0ae201b32c9eb611ecdcb8e850a13a (diff)
Added RSS for personal tags
Diffstat (limited to 'actions/showstream.php')
-rw-r--r--actions/showstream.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index 1654f589c..678a3174c 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -113,6 +113,15 @@ class ShowstreamAction extends ProfileAction
function getFeeds()
{
+ if (!empty($this->tag)) {
+ return array(new Feed(Feed::RSS1,
+ common_local_url('userrss',
+ array('nickname' => $this->user->nickname,
+ 'tag' => $this->tag)),
+ sprintf(_('Notice feed for %s tagged %s (RSS 1.0)'),
+ $this->user->nickname, $this->tag)));
+ }
+
return array(new Feed(Feed::RSS1,
common_local_url('userrss',
array('nickname' => $this->user->nickname)),