Found the cause for ERROR LOADING FEED DATA message in Joomla
After updating my client's site from Joomla 1.5.4 to 1.5.9 on my host Siteground.com I started seen the following error message on the front page:
Error loading feed data
I realized that the error was being generated by one mod_feed module published on the site's front page.
I also found that the problem was related with caching of the xml feed, since changing the mod_feed module's Cache Time to a higher value would temporarily fix the problem until the cache timed out, after which the error message came back.

After reading blogs and forums everywhere it was clear to me that my problem wouldn't be fixed by any of the solutions I found. This was a different issue. Also many people was experiencing a similar problem.
Using trial and error I noticed that some feeds did work fine always, like this one from CNN, while others didn't (see this other one in spanish). I dag into the feeds' source XML and noticed that the feeds that worked fine were the ones which included the time to live tag. I then theorized that the error could be fixed by adding that tag.
To prove my theory I copied the XML source of one of the feeds that didn't work fine (i.e. didn't include the aforementioned tag) into a text editor, then I added the ttl tag and published it on one of my personal sites. Here is the link to the "fixed" feed. Then I updated my mod_feed module to point to the feed published on my site... and IT WORKED!

I repeated the experiment with several other feeds and they all confirmed my theory.
My guess is that there is some sort of bug introduced in one of the updates that affects the way Joomla parses the feeds. It is like Joomla considers the ttl tag as mandatory, which it isn't. This is as far as I can go, now we need that one our Joomla geniuses go and fix this for us.
Labels: Joomla, Web Publishing, WWW Technologies

