- return array(new Feed(Feed::RSS1,
- common_local_url('tagrss', array('tag' => $this->tag)),
- sprintf(_('Feed for tag %s'), $this->tag)));
+ return array(new Feed(Feed::JSON,
+ common_local_url('ApiTimelineTag',
+ array('format' => 'as',
+ 'tag' => $this->tag)),
+ // TRANS: Link label for feed on "notices with tag" page.
+ // TRANS: %s is the tag the feed is for.
+ sprintf(_('Notice feed for tag %s (Activity Streams JSON)'),
+ $this->tag)),
+ new Feed(Feed::RSS1,
+ common_local_url('tagrss',
+ array('tag' => $this->tag)),
+ // TRANS: Link label for feed on "notices with tag" page.
+ // TRANS: %s is the tag the feed is for.
+ sprintf(_('Notice feed for tag %s (RSS 1.0)'),
+ $this->tag)),
+ new Feed(Feed::RSS2,
+ common_local_url('ApiTimelineTag',
+ array('format' => 'rss',
+ 'tag' => $this->tag)),
+ // TRANS: Link label for feed on "notices with tag" page.
+ // TRANS: %s is the tag the feed is for.
+ sprintf(_('Notice feed for tag %s (RSS 2.0)'),
+ $this->tag)),
+ new Feed(Feed::ATOM,
+ common_local_url('ApiTimelineTag',
+ array('format' => 'atom',
+ 'tag' => $this->tag)),
+ // TRANS: Link label for feed on "notices with tag" page.
+ // TRANS: %s is the tag the feed is for.
+ sprintf(_('Notice feed for tag %s (Atom)'),
+ $this->tag)));