[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 問題

解決 RSS Time Zone 問題

公告事項, 車隊運作, 活動規劃, 問題回報, 各種建議

解決 RSS Time Zone 問題

文章Joseph » 週一 5月 17, 2010 8:07 pm

不知道除了我以外, 還有沒有人在用 LaDiSai 網站的 RSS feed..
我大都是這樣用:

圖檔

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

圖檔

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


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

網站常被我改來改去, 大家如果有碰到什麼使用上的問題, 拜託麻煩跟我說一聲, 感恩啦~~
Joseph 老喬
頭像
Joseph
 
文章: 384
圖片: 820
註冊時間: 週二 9月 01, 2009 10:39 am

Re: 解決 RSS Time Zone 問題

文章unbeata » 週一 5月 17, 2010 10:52 pm

原來這麼複雜喔
我以為開個論壇 只要拿範本來套一套就好勒
喬哥 還是要感謝你 幫大家營造這麼個好地方
頭像
unbeata
 
文章: 280
圖片: 267
註冊時間: 週三 9月 02, 2009 8:14 am

Re: 解決 RSS Time Zone 問題

文章Joseph » 週二 5月 18, 2010 6:57 pm

Joseph 老喬
頭像
Joseph
 
文章: 384
圖片: 820
註冊時間: 週二 9月 01, 2009 10:39 am


回到 隊務討論版

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 2 位訪客