I'm trying to understand the cache'ing features of SimplePie on linux. It never tells us to create a seperate mySql database for the RSS feeds, so i'm guessing all the cache is done locally. (in the /httpdocs/ directories)
Most specifically regarding Pagination
I have pagination setup up exactly as specified on their site here -
http://simplepie.org/wiki/tutorial/h...do_item_paging
But the thing is, it only keeps a certain amount of items (articles) before they overwrite each other.
For example, with this site that's running the basic script the same way I want to -
http://www.oil-gas-prices.com/
at the bottom, it always cuts off at around 76. (showing 1 - 10 of 76)
I want to specify a 1000. So that it cuts off around there.
Adjusting any of these specific values below does nothing to increase the overall amount of indexed / cached items :
Quote:
// Set our paging values
$start = (isset($_GET['start']) && !empty($_GET['start'])) ? $_GET['start'] : 0; // Where do we start?
$length = (isset($_GET['length']) && !empty($_GET['length'])) ? $_GET['length'] : 5; // How many per page?
$max = $feed->get_item_quantity(); // Where do we end?
|
any help is much appreciated. My main priority is to store more in the cache, without others overwriting them, thus lowering the number of stored items.
(i've got the latest version of SimplePie installed on the linux. No wordpress extensions or anything)