diff options
author | friendica <info@friendica.com> | 2013-09-05 19:31:26 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-09-05 19:31:26 -0700 |
commit | 4df0aad6ab84c177fe2f9b7e5746fd20dbe9eb2b (patch) | |
tree | ad114ef1d5d6a10184171b2cf1eaa1f638428ee8 /mod/feed.php | |
parent | 3b697957af902cbe28aecf70dcf0dfad328a6db1 (diff) | |
download | volse-hubzilla-4df0aad6ab84c177fe2f9b7e5746fd20dbe9eb2b.tar.gz volse-hubzilla-4df0aad6ab84c177fe2f9b7e5746fd20dbe9eb2b.tar.bz2 volse-hubzilla-4df0aad6ab84c177fe2f9b7e5746fd20dbe9eb2b.zip |
pages feed
Diffstat (limited to 'mod/feed.php')
-rw-r--r-- | mod/feed.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mod/feed.php b/mod/feed.php index 104208875..0f8296ed1 100644 --- a/mod/feed.php +++ b/mod/feed.php @@ -7,9 +7,10 @@ function feed_init(&$a) { $params = array(); - $params['begin'] = ((x($_REQUEST,'date_begin')) ? $_REQUEST['date_begin'] : '0000-00-00 00:00:00'); - $params['end'] = ((x($_REQUEST,'date_end')) ? $_REQUEST['date_end'] : ''); - $params['type'] = ((stristr(argv(0),'json')) ? 'json' : 'xml'); + $params['begin'] = ((x($_REQUEST,'date_begin')) ? $_REQUEST['date_begin'] : '0000-00-00 00:00:00'); + $params['end'] = ((x($_REQUEST,'date_end')) ? $_REQUEST['date_end'] : ''); + $params['type'] = ((stristr(argv(0),'json')) ? 'json' : 'xml'); + $params['pages'] = ((x($_REQUEST,'pages')) ? intval($_REQUEST['pages']) : 0); $channel = ''; if(argc() > 1) { |