By Alex on Tuesday, 25 September 2018
Posted in General Issues
Likes 0
Views 2.4K
Votes 0
Hi!
I am integrating the RSS-feed into a social media tool. I recognized that only the latest (appr. 15 posts) are shown in this post.
/index.php?option=com_easyblog&view=latest&format=feed&type=rss (domain in hidden section)

Is it possible to show ALL posts? I tried to change "latest" with "all" but this leads to an error. I am sure it is possible - what would be the correct syntax?

If not, is it possible to get an RSS-feed per category?

Thanks, Alex
Hey there,

There is no specific function to call all the post in the rss feed but you can raise the limit to a high number at file

JoomlaFolder/components/com_easyblog/views/latest/view.feed.php at line 116 insert this code


$posts = $model->getBlogsBy('', '', $sort, 1000, EBLOG_FILTER_PUBLISHED, null, true, $excludeIds, false, false, true, $excludedCategories, $inclusion, null, 'listlength', $this->theme->params->get('post_pin_featured', false));


This will raise the limit of post push to the rss to 1000 due to the fourth arguments.

To get an RSS feed per category, you need to enable the header when viewing category and there should be an RSS icon to generate the link to that category to be specific as per in picture.

To show high number of post for per category head to

JoomlaFolder/components/com_easyblog/views/category/view.feed.php at line 83 insert this code


$posts = $model->getBlogsBy('category', $catIds, $sort, 1000);
·
Tuesday, 25 September 2018 11:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Great thanks - that helped!
·
Wednesday, 26 September 2018 18:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Glad to help.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding
·
Wednesday, 26 September 2018 19:08
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post