summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-07-12 15:07:54 -0400
committerCraig Andrews <candrews@integralblue.com>2009-07-12 15:07:54 -0400
commit91324890ae130a6f4280c9f6d82151793611de1f (patch)
treebc847afe0b726f32cfd32c25e864e081eb47e198 /lib
parent7621e0e38467349a89f71e814941932fbacecfa1 (diff)
Add timeline tags API (RSS 2.0 and Atom feeds)
Diffstat (limited to 'lib')
-rw-r--r--lib/router.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php
index 8104d7818..e12138637 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -403,6 +403,15 @@ class Router
array('action' => 'api',
'apiaction' => 'groups'));
+ // Tags
+ $m->connect('api/laconica/tags/:method/:argument',
+ array('action' => 'api',
+ 'apiaction' => 'tags'));
+
+ $m->connect('api/laconica/tags/:method',
+ array('action' => 'api',
+ 'apiaction' => 'tags'));
+
// search
$m->connect('api/search.atom', array('action' => 'twitapisearchatom'));
$m->connect('api/search.json', array('action' => 'twitapisearchjson'));