1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-28 21:41:28 +00:00

add ability to customize amount of returned entries for syndicated feeds

This commit is contained in:
Andrew Dolgov
2009-01-05 09:09:05 +01:00
parent 7e1a9fbcbc
commit ead2715d9c
2 changed files with 8 additions and 4 deletions

View File

@@ -3483,10 +3483,12 @@
}
function generate_syndicated_feed($link, $owner_uid, $feed, $is_cat,
$search, $search_mode, $match_on) {
$limit, $search, $search_mode, $match_on) {
if (!$limit) $limit = 30;
$qfh_ret = queryFeedHeadlines($link, $feed,
30, false, $is_cat, $search, $search_mode, $match_on, "updated DESC", 0,
$limit, false, $is_cat, $search, $search_mode, $match_on, "updated DESC", 0,
$owner_uid);
$result = $qfh_ret[0];