diff options
author | Andrew Dolgov <[email protected]> | 2011-09-09 12:11:56 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-09-09 12:11:56 +0400 |
commit | 97e5dbb2e79ecb59d33f65b5d56076b79b6136c7 (patch) | |
tree | 6140437c93aeb98b307c56e91bcd42f5d43a47a4 /api | |
parent | 9a98fd9bc77308bbb0fe2f71ca0d44f91aea152c (diff) |
api: add getHeadlines since_id
Diffstat (limited to 'api')
-rw-r--r-- | api/index.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/api/index.php b/api/index.php index 55e60db29..737ce8abf 100644 --- a/api/index.php +++ b/api/index.php @@ -196,10 +196,11 @@ /* all_articles, unread, adaptive, marked, updated */ $view_mode = db_escape_string($_REQUEST["view_mode"]); $include_attachments = (bool)db_escape_string($_REQUEST["include_attachments"]); + $since_id = (int)db_escape_string($_REQUEST["since_id"]); $headlines = api_get_headlines($link, $feed_id, $limit, $offset, $filter, $is_cat, $show_excerpt, $show_content, $view_mode, false, - $include_attachments); + $include_attachments, $since_id); print api_wrap_reply(API_STATUS_OK, $seq, $headlines); |