diff options
author | Evan Prodromou <evan@status.net> | 2010-12-09 16:05:07 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-12-09 16:05:07 -0500 |
commit | c619a257fe04a5ad4cc670c14cc1eab2042b71d8 (patch) | |
tree | 150f34591ff1e5e1a7c824f72fee85ca12acd229 /lib/router.php | |
parent | 34b8eb207d3d013ca36966ddb32a4977bd21639f (diff) |
Add subscription feed for AtomPub
Diffstat (limited to 'lib/router.php')
-rw-r--r-- | lib/router.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php index 4e718f132..e6b4c0fbc 100644 --- a/lib/router.php +++ b/lib/router.php @@ -916,6 +916,10 @@ class Router array('subscriber' => '[0-9]+', 'subscribed' => '[0-9]+')); + $m->connect('api/statusnet/app/subscriptions/:subscriber.atom', + array('action' => 'AtomPubSubscriptionFeed'), + array('subscriber' => '[0-9]+')); + // user stuff Event::handle('RouterInitialized', array($m)); |