RSS of all posts

RSS of all posts

Postby allarviik on Fri Jan 20, 2006 12:40 pm


I really need to generate xml file of all my plog posts.

What files or settings I have to change?

At moment, my rss20 feed shows only 10 last posts: ... file=rss20

Can anyone please help?
Posts: 2
Joined: Fri Jan 20, 2006 12:36 pm

Postby phunkphorce on Fri Jan 20, 2006 2:03 pm

Are you really sure that you want *all* of them?

By default the RSS feeds show as many posts as you configured under "maximum number of recent posts" in your blog settings page. You can 1) raise that number a lot though it would also affect normal blog pages, or make a small change in the code. In class/action/rssaction.class.php, look for this line:

Code: Select all
$amount = $blogSettings->getValue( "recent_posts_max", 15 );

And replace it with the following:

Code: Select all
$amount = -1;

Make sure you clean the contents of your tmp/ folder before you do any try, so that there are no cached pages left.
Lifetype Expert
Posts: 9028
Joined: Mon Aug 25, 2003 6:34 am
Location: Suomessa

Postby jondaley on Fri Jan 20, 2006 2:34 pm

sounds like an exporter
Lifetype Expert
Posts: 6167
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch

Postby allarviik on Sat Jan 21, 2006 4:58 am

Thank you!
Posts: 2
Joined: Fri Jan 20, 2006 12:36 pm

Return to Other Problems