hit counter joomla

Joomla Newsfeed RSS Disappearing?

One of the nice things about Joomla is that you can pull RSS newsfeeds in to your content area by use of the newsfeed component. I am currently using this feature to list the CloudAccess.net Webinars as I just don't have enough hours in my day to run webinars as frequently (and as well) as CloudAccess.net. I ran into a big issue with the RSS newsfeed though when it came to display on the front end. 

The RSS Newsfeed in Joomla was simply disappearing!

I'd get everything set up, check the front end and see that the RSS feed was displaying properly. I'd come back a few minutes later, and lo, and behold, it was gone! I searched for the answer, and found a solution that worked for this site on the JoomlaCode website, "Single newsfeed doesn't display when caching is enabled

Here's what I did that fixed the problem on this website:

1. Opened Filezilla (FTP Client) and logged into my server. I went to httpdocs/libraries/joomla/factory.php as in the solutions provided by the bug squad.

2. With a text editor, I went to line 341 - public static function getFeedParser($url, $cache_time = 0)
and replaced it with the code provided here:

public static function getFeedParser($url, $cache_time = 0)
{
jimport('simplepie.simplepie');

$cache = self::getCache('feed_parser', '');

if($simplepie = $cache->get($url)){
return $simplepie;
}else{
$simplepie = new SimplePie(null, null, 0);

$simplepie->enable_cache(false);
$simplepie->set_feed_url($url);
$simplepie->force_feed(true);

$simplepie->init();

if ($cache_time > 0)
{
$cache->setLifeTime($cache_time);
$cache->store($simplepie, $url);
}

return $simplepie;
}
}

3. Next, go to your Joomla admin and clear the cache by going to the top menu and clicking > SiteMaintenanceClear Cache

joomla-clear-cache

Now your RSS feed will not disappear anymore!

 

 


  • No comments found

Leave your comments

Post comment as a guest

0 / 2500 Character restriction
Your text should be in between 10-2500 characters
terms and condition.

Around Joomla!

  • Joomla! to attend DaVinci's Faire 2017

    Displaying items by tag: English Apr 1, 2017 | 11:34 am

    Joomla! is making its first appearance at the Davinci Faire and BarCamp in Sarasota, Florida.  The event draws more than 600 people from across the gulf coast gathered at the Manatee Technical College to talk tech and show off their latest creations. 

    Read more...
  • JUG Round Up April 2017

    Displaying items by tag: English Apr 1, 2017 | 11:14 am

    In March, the JUG Team sent out their first of what will be a monthly newsletter to JUG Organisers. The topic was merely to ask Organisers to come and check their listings on the JUG Directory for accuracy.We had a number of bounced email addresses and have opened tickets wherever possible to get more listings up to date. Many JUGs updated their listings. Thank you!

    Read more...
  • Joomla is NOT Free!

    Displaying items by tag: Feature Stories Apr 1, 2017 | 08:00 am

    The concept of an open-source, 100% community project may seem to be a small portion of the software industry today. It was even less common over 10 years ago when Joomla! was founded. However, 100% volunteer organisations have been around for many years - providing relief to those in crisis and facing all sorts of challenges, promoting social change, and encouraging personal improvement. Each of these organisations rely on people to contribute to the cause solely to help other people.

    Read more...
  • The Top 10 Most Read Articles in 2016

    Displaying items by tag: Feature Stories Mar 31, 2017 | 21:57 pm

    We had a look at our site stats in 2016 and found great articles that are examples of what makes a great magazine. In this issue, we are counting down the Top-10 Joomla! Community Magazine (JCM) 2016 articles that received the most views throughout the past year.

    Read more...
  • Joomla April 2017 Round-Up

    Displaying items by tag: English Mar 29, 2017 | 18:48 pm

    It's April and the change of the season brings great news for the Joomla Community. In this article, we will highlight some points of interest for our readers. JaB'17 awardees have been announced, Joomla! 3.x series is coming to an end and Joomla! 3.7 Beta 4 has been released, bringing some great and cool new features.

    Read more...
 

Posted By:
Joomla User Group Detroit

Organizer,

Donations and Gifts

Donations that go to keeping the Meetup 100% Free are welcome!