Jump to content

Featured Replies

Posted

I've run into the same problem but can't figure out how to change the

date using the code below:

 

 

Code:

--------------------

<pubDate><?= date("D, d M Y H:i:s e", $ArticleDate) ?></pubDate>

--------------------

 

 

Where does this go?

 

Thanks.

 

Jim116035 Wrote:

> On Sun, 26 Nov 2006 21:53:22 GMT, Jim <jim@nospam.com> wrote:

>

> >Hi all,

> >

> >When I use the Feed Headlines gadget in Vista to view a feed, e.g.

> >

> >http://www.phpfreenews.co.uk/forums/rss.php

> >

> >All the articles come out as Saturday 30th December. Yet they show

> >with the correct date when viewed in the IE7 feed viewer.

> >

> >Any ideas?

> >

> >

> >

> >Jim

>

>

> For the benefit of Google indexing, I'll post the answer to my own

> question.

>

> The default date format from the PHP date command is to show the

> timezone as +0000 or +0001 etc.

>

> The Microsoft Feed gadget can't cope with this, it needs the dates to

> show GMT etc. So my PHP now uses:

>

> <pubDate><?= date("D, d M Y H:i:s e", $ArticleDate) ?></pubDate>

>

> which shows up correctly in the gadget.

>

>

>

> Jim

 

 

--

berserker

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...