LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-30-2013, 08:01 AM   #1
mike2010
Member
 
Registered: Jan 2009
Posts: 132

Rep: Reputation: 15
SimplePie on Linux ?


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)

Last edited by mike2010; 03-30-2013 at 08:17 AM.
 
Old 03-30-2013, 02:53 PM   #2
mike2010
Member
 
Registered: Jan 2009
Posts: 132

Original Poster
Rep: Reputation: 15
nobody ?

It sucks...SimplePie was suppose to be the mainstream core product of RSS , and now it doesn't even have support anywhere. Even it's Yahoo Group, nobody responds to help there.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I need a SimplePie and PHP expert. mike2010 Linux - Software 2 03-10-2013 01:55 AM
LXer: Displaying RSS And Atom Feeds On Your Web Site With SimplePie LXer Syndicated Linux News 0 08-31-2008 05:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration