From c13dd856c8c11f13129a45e25356678f5ae76971 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Fri, 10 Jul 2009 18:08:10 -0700 Subject: [PATCH] Fix alternate link for groups API feed --- actions/twitapigroups.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/actions/twitapigroups.php b/actions/twitapigroups.php index c8aae173fb..db15b2cd35 100644 --- a/actions/twitapigroups.php +++ b/actions/twitapigroups.php @@ -69,7 +69,7 @@ require_once INSTALLDIR.'/lib/twitterapi.php'; $title = sprintf(_("%s timeline"), $group->nickname); $taguribase = common_config('integration', 'taguri'); $id = "tag:$taguribase:GroupTimeline:".$group->id; - $link = common_local_url('showstream', + $link = common_local_url('showgroup', array('nickname' => $group->nickname)); $subtitle = sprintf(_('Updates from %1$s on %2$s!'), $group->nickname, $sitename); @@ -94,11 +94,11 @@ require_once INSTALLDIR.'/lib/twitterapi.php'; case 'atom': if (isset($apidata['api_arg'])) { $selfuri = common_root_url() . - 'api/statuses/group_timeline/' . + 'api/statuses/groups/timeline/' . $apidata['api_arg'] . '.atom'; } else { $selfuri = common_root_url() . - 'api/statuses/group_timeline.atom'; + 'api/statuses/groups/timeline.atom'; } $this->show_atom_timeline($notice, $title, $id, $link, $subtitle, $suplink, $selfuri); -- 2.39.5