Hi everyone. I've got a peculiar problem with the RSS Feed on one of my client's sites. The initial symptom was that dates were showing up as Dec 31, 1969. I understand this is caused by passing an invalid date to PHP's Date().
After reviewing the rendered XML output from browsing domain.com/feed, I can see what the problem is. All of the XML element names are in lowercase. The data is uneffected.
For example, the XML contains
<pubdate>Sun, 13 Jan 2013 19:19:42 +0000</pubdate>
<pubDate>Sun, 13 Jan 2013 19:19:42 +0000</pubDate>
All of the channel items are this way. lastBuildDate is specified as lastbuilddate, etc.
Since XML is case-sensitive, this isn't going to work and it explains why RSS articles are showing up with the Dec 31, 1969 date.
I've been trying to track down what is causing this. I see that my client installed a plugin called Report RSS Feed. I've checked this plugin's template files and the XML element names are definitely being specified correctly. I've even entered a random uppercase 'Z' in a few of the element names and refreshed the page. Viewing the source code shows that the uppercase Z is getting converted to a lowercase z.
Does anyone have any idea if there is a WordPress setting that will effect this?
Does anyone know if there is a .htaccess configuration that is either causing the problem or can correct it?
I'm pretty sure this is XML related.