|
Posted by ZeldorBlat on 10/01/72 11:55
Pugi! wrote:
> I live in central european timezone and currently we are GMT +0200.
> I have my own (valid) RSS. The data is stored in database and my RRS feed is
> in fact a php page that retrieves the information from the database.
> Concerning the lastbuilddate and pubdate. I enter the time (=pubdate) as a
> local date/time (CET), the webserver is in the same timezone. But wether I
> use
> $pubdate = date("D, d M Y H:i:s O", strtotime($row->pubdate));
> or
> $pubdate = date("D, d M Y H:i:s", strtotime($row->pubdate));
> feedreaders like RSSOwl and FeedReader show the same date and time
> regardless of the 'O'.
>
> Question 1: the date/time in "D, d M Y H:i:s O", for example "Mon, 14 Aug
> 2006 15:32:30 +0200" What does it exactly mean ? Is it 15:32:30 GMT plus 2
> hours equaling 17:32:30 CET ? Or is it 15:32:30 CET with 2 hours difference
> to GMT, equaling 13:32:30 GMT ?
It's 15:32:30 CET. In CET there is a 2 hour difference to GMT, so it's
13:32 GMT.
>
> Question 2 : Do feed readers only look at the date/time and ignore the
> difference to GMT ?
Depends on the feed reader.
>
> Question3: Is this important enough to bother ? For me not, but I can
> imagine that for a newssite or stock exchange feed the exact date and time
> of publication can be very important.
You answered your own question. If it's important to the data your
feeding then yes, otherwise, no.
>
> thanx,
>
> Pugi!
Navigation:
[Reply to this message]
|