A free, self-hostable news aggregator…
Google Reader API: work-around for News+ bug
Alexandre Alapetite10d98e0ce97d
diff --git a/p/api/greader.php b/p/api/greader.phpindex 4554a3f9c..5a23af006 100644--- a/p/api/greader.php+++ b/p/api/greader.php@@ -467,6 +467,9 @@ function streamContentsItemsIds($streamId, $start_time, $count, $order, $exclude$entryDAO = FreshRSS_Factory::createEntryDao();$ids = $entryDAO->listIdsWhere($type, $id, $state, $order === 'o' ? 'ASC' : 'DESC', $count, '', new FreshRSS_Search(''), $start_time);+ if (empty($ids)) { //For News+ bug https://github.com/noinnion/newsplus/issues/84#issuecomment-57834632+ $ids[] = 0;+ }$itemRefs = array();foreach ($ids as $id) {$itemRefs[] = array(