diff options
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/backend.php b/backend.php index 0e4541e74..3783c8226 100644 --- a/backend.php +++ b/backend.php @@ -221,11 +221,16 @@ print "<headlines id=\"$feed\"><![CDATA["; - $topmost_article_ids = outputHeadlinesList($link, $feed, $subop, + $ret = outputHeadlinesList($link, $feed, $subop, $view_mode, $limit, $cat_view, $next_unread_feed, $offset); + $topmost_article_ids = $ret[0]; + $headlines_count = $ret[1]; + print "]]></headlines>"; + print "<headlines-count value=\"$headlines_count\"/>"; + if ($_GET["debug"]) $timing_info = print_checkpoint("10", $timing_info); if (is_array($topmost_article_ids) && !get_pref($link, 'COMBINED_DISPLAY_MODE')) { |