[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4751: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3832)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4753: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3832)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4754: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3832)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4755: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3832)
LaDiSai 單車俱樂部 • 檢視主題 - 解決 RSS Time Zone 問題
1 頁 (共 1 頁)

解決 RSS Time Zone 問題

文章發表於 : 週一 5月 17, 2010 8:07 pm
Joseph
不知道除了我以外, 還有沒有人在用 LaDiSai 網站的 RSS feed..
我大都是這樣用:

圖檔

不過, 之前一直有一個問題困擾我, 就是 RSS feed 中的文章發佈時間顯示不正確, 像這樣:

圖檔

圖中顯示文章發表的時間有兩個, 相差了 13個小時, 上面的時間是美國時間, 下面是台灣時間 (UTC + 8),
為什麼會這樣呢? 因為我們的網站是架在美國的 web server, 而網站預設的時區我是設成台灣的時區,
我原本用來產生 RSS feed 的 code 在計算時區差異的部份出了點問題, 我試了好久一直改不成功,
今天該 code 的原作者終於教了我怎麼修改, 現在 RSS feed 中所有顯示的時間都正常以 UTC + 8 的時區為基準了, ya~


順道一提, 原本在文章中假如有人分享外部連結的網址, 點了之後會在原瀏覽器視窗中開啟, 取代 LaDiSai 的頁面,
昨天我把它修改成會另開新視窗, 如果你用的是 IE, 會在新開的 IE 視窗連到外部網址, 如果你用的是 Firefox 或是 Google 瀏覽器,
則會在原視窗中開新的分頁來顯示...

網站常被我改來改去, 大家如果有碰到什麼使用上的問題, 拜託麻煩跟我說一聲, 感恩啦~~

Re: 解決 RSS Time Zone 問題

文章發表於 : 週一 5月 17, 2010 10:52 pm
unbeata
原來這麼複雜喔
我以為開個論壇 只要拿範本來套一套就好勒
喬哥 還是要感謝你 幫大家營造這麼個好地方

Re: 解決 RSS Time Zone 問題

文章發表於 : 週二 5月 18, 2010 6:57 pm
Joseph