Closed (fixed)
Project:
FeedAPI
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
16 Sep 2007 at 23:51 UTC
Updated:
4 Oct 2007 at 08:14 UTC
No matter what value i set the feeds "Promoted items" to be, only the latest 3 appear when viewing the feed node.
Comments
Comment #1
buddaOkay, the bug was in the feedapi_item.module -- the value '3' was hardcoded in the for loop. here's the corrected feedapi_item_nodeapi() function, also corrected the comment for the function ;-)
I replaced the hardcoded '3' with a reference to the settings value in the $feed object,
$feed->settings['processors']['feedapi_item']['promote']-- is this always valid on the $feed object?Comment #2
aron novakPromoted items is about a different thing: The newest N items will be promoted on the front page per feed .
So it's about putting the news items to the front page of the Drupal site.
But I can say too that this behaviour is really a bug, I'll find out how and where possible to adjust this hardcoded value.
Comment #3
aron novakThere is a new option for feedapi_item processor: "Number of listed news items at feed node:" Here you can adjust the listed items. (instead of the ugly hardcoded value)
Comment #4
aron novak