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 Merge / CMS Summit 2017

    Displaying items by tag: English Aug 1, 2017 | 05:09 am

    CMS Summit will bring together developers, integrators, designers, experts, and users with other Merge attendees ranging from start-ups, hosting companies, funding, digital media and legal experts to domain owners looking for advice and help with launching their site.  The conference will offer much more than sessions and training by creating a unique networking situation to drive business and commerce.

    Read more...
  • Joomla! On Community Leadership.

    Displaying items by tag: English Aug 1, 2017 | 05:07 am

    Jab17 was an opportunity for several of our newly-elected members of OSM's leadership to meet with the Joomlers who were attending the conference in Krakow, Poland, for a drink a chat and brainstorming. 

    Read more...
  • A chilly Joomla! Day in Arusha.

    Displaying items by tag: English Aug 1, 2017 | 02:49 am

     Welcome to Arusha, the town so calm, so beautiful, so welcoming. You should come here if you can afford it. Endless queues of tourist are arriving here in their numbers....You wonder why, but when you are here, everything makes sense, makes peace. Driving in Arusha I can see how a large, sprawling city with all of the contradictions that brings, it is, the best place to be. The traffic police standing on the street in their white uniform, very white my friend asked how they wash it, they keep it white, just like new.  

    Read more...
  • How to implement Google Tag Manager Environments with Joomla templates

    Displaying items by tag: English Jul 31, 2017 | 23:02 pm

    A problem we have faced in our Joomla development work has been ensuring that the correct Google Tag Manager environment code is being deployed with the right environments - for example in our development environments we need to deploy the container code from GTM related to the dev environment, but in production, we need the live container code.

    Read more...
  • Joomla Docs Team Leader: Sandra Thevenet

    Displaying items by tag: English Jul 31, 2017 | 05:57 am

    In this issue, Sandra Thevenet takes us on a quick tour of the Joomla! Documentation website.  She oversees and contributes to the creation, edition of the documents, as well as their translations into several different languages. If you have a question about Joomla, this is the first place you must go to.

    Read more...
 

Posted By:
Joomla User Group Detroit

Organizer,

Donations and Gifts

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