]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/showstream.php
add design classes
[quix0rs-gnu-social.git] / actions / showstream.php
index 1654f589c64ea4267a8a16e6f57e275a5bec17f9..678a3174c151800a482b35c41bfdb71f6245a691 100644 (file)
@@ -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)),