summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-03-10 16:15:57 -0700
committerZach Copley <zach@controlyourself.ca>2009-03-10 16:15:57 -0700
commit91980c73a76bcbedd5f23a3232988a32aa8c7127 (patch)
tree94a49d0111d3484db7321032f879ac580b1d5065 /lib/router.php
parent945bbf00dc9ee106359e9387956c72c1290d12fc (diff)
Updates to the API to improve Atom feeds
Diffstat (limited to 'lib/router.php')
-rw-r--r--lib/router.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/router.php b/lib/router.php
index 902f25d8a..50d5a4ee1 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -226,7 +226,7 @@ class Router
$m->connect('api/statuses/:method/:argument',
array('action' => 'api',
'apiaction' => 'statuses'),
- array('method' => '(user_timeline|friends_timeline|show|destroy|friends|followers)'));
+ array('method' => '(user_timeline|friends_timeline|replies|show|destroy|friends|followers)'));
// users
@@ -257,7 +257,7 @@ class Router
}
foreach (array('xml', 'json', 'rss', 'atom') as $e) {
- $m->connect('api/direct_message/sent.'.$e,
+ $m->connect('api/direct_messages/sent.'.$e,
array('action' => 'api',
'apiaction' => 'direct_messages',
'method' => 'sent.'.$e));
@@ -277,7 +277,7 @@ class Router
$m->connect('api/friendships/:method',
array('action' => 'api',
'apiaction' => 'friendships'),
- array('method' => 'exists(\.(xml|json|rss|atom))'));
+ array('method' => 'exists(\.(xml|json))'));
// Social graph
@@ -360,7 +360,7 @@ class Router
// user stuff
- foreach (array('subscriptions', 'subscribers',
+ foreach (array('subscriptions', 'subscribers',
'nudge', 'xrds', 'all', 'foaf',
'replies', 'inbox', 'outbox', 'microsummary') as $a) {
$m->connect(':nickname/'.$a,