1
ohwada
BUG: pubDate of backend.php
  • 2004/12/23 2:31

  • ohwada

  • Just popping in

  • Posts: 28

  • Since: 2003/11/15


Problem:
(1) pubDate of backend.php becomes a validator error, outside of the US.

error site
http://www.xoopscube.jp/backend.php
http://www.xoops.net.br/backend.php
http://www.xoopsmalaysia.org/backend.php
and more

check in here
http://feedvalidator.org/

(2) php function strtotime cannot parse pubDate of backend.php.
Timezone JST is ok, but BRST or SGT become an error.


Reason:
RFC822 does not define a timezone except GMT or North America.

http://www.faqs.org/rfcs/rfc822.html


Solution:
change code formatTimestamp in functuions.php.
r option is added since PHP 4.0.4

function formatTimestamp($time$format="l"$timeoffset="")
{
 
    case 
'rss':
//        $datestring = "D, j M Y H:i:s T";
        
$datestring "r";
        break;
 
}

Login

Who's Online

349 user(s) are online (232 user(s) are browsing Support Forums)


Members: 0


Guests: 349


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits