Hi guys,
Is there anyway to increase the amount of threads that show in the RSS feed?
I'd like the last 30 to be included.
Thanks in advance for your help.
Just choose 30 in the RSS page.
(2008-09-26, 06:39 PM)Matt_ Wrote: [ -> ]Just choose 30 in the RSS page.
Thanks matt, I had a feeling it would be something like that...but I just cannot seem to find any pages in the ACP for RSS.
Do you know where they are by chance? It might help me a bit more...
No it's down the bottom, in the footer, when you get the URL of the syndication you just select it to show 30 items rather than the default 15.
Ah Ha!
So it is.
Thanks for that Matt...I didn't even see it there!
I don't know if you can change the default or not... would probably require an edit to the PHP file, I don't think there's an RSS settings in the ACP.
In misc.php, this is the part:
if(!$limit || !is_numeric($limit))
{
$limit = 15;
}
And for the actual feed, it's in syndication.php
// Find out the thread limit.^M
$thread_limit = intval($mybb->input['limit']);^M
if($thread_limit > 50) // this block makes 50 the maximum number of threads to return at once
{
$thread_limit = 50;
}
else if(!$thread_limit)
{
$thread_limit = 20; // this is the default number if limit is not defined.
}
Thanks you 2, you have both helped immensely!
(2008-09-26, 09:22 PM)DennisTT Wrote: [ -> ]In misc.php, this is the part:
if(!$limit || !is_numeric($limit))
{
$limit = 15;
}
And for the actual feed, it's in syndication.php
// Find out the thread limit.^M
$thread_limit = intval($mybb->input['limit']);^M
if($thread_limit > 50) // this block makes 50 the maximum number of threads to return at once
{
$thread_limit = 50;
}
else if(!$thread_limit)
{
$thread_limit = 20; // this is the default number if limit is not defined.
}