i want to ask something specific. I have read the SimplePie manual but i am still confused. I am trying to mix items from different feeds but because i am passing the feeds urls through a random function to the SimplePie object everytime a feed is grabbed and parsed always its first item is presented by the Simplepie and as a result i have many times the same item of the same feed. I am using set_item_limit in order to present one item per feed.
So what i want to ask? Set_item_limit if i understood well, allows the user to loop through all the items of the feed but shows only the number the user indicates in the function?
If i am right, can i use set_item_limit(1) in order to show one article per feed but every time a different item and not the newest one??
set_item_limit()
is define how many feeds will be available for show.Here is a function i use for fetching feeds. You can see the use of
set_item_limit();
function. Thanks!