From 91324890ae130a6f4280c9f6d82151793611de1f Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Sun, 12 Jul 2009 15:07:54 -0400 Subject: Add timeline tags API (RSS 2.0 and Atom feeds) --- lib/router.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib') 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')); -- cgit v1.2.3-54-g00ecf