Support » Your WordPress » RSS2 feed <pubDate> is invalid

  • Resolved mathieu

    (@mathieu)


    Hi everyone,

    I’ve got a problem with my RSS2 feed. I’ve installed a language pack in the wordpress configuration so that my blog can be french. But, WordPress is even writing the date on my feed in french..

    I can still syndicate my data, but the date ordering is a free-4-all..

    Someone have a fix?

    Link to my feed :
    http://www.quebecblogue.com/feed

    Cheers,
    Matt

Viewing 2 replies - 1 through 2 (of 2 total)
  • Anyone ?

    Hi,

    I’ve finally found a way to fixed it by myself.

    There’s an optional parameters to the function mysql2date. You need to set it to « 0 » so that it use english dating.

    <pubDate><?php echo mysql2date(‘D, d M Y H:i:s +0000’, get_the_time(‘Y-m-d H:i:s’), 0); ?></pubDate>

    I hope, It ultimately help someone fix is problem.

    Cheers,
    Matt

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘RSS2 feed <pubDate> is invalid’ is closed to new replies.