Study Area Facebook粉絲團http://www.facebook.com/sataiwan
0 會員 與 1 訪客 正在閱讀本文。
:D 右下角有一個小 icon 摟!
感受一下 RSS 的方便性吧如果您用 IE 瀏覽器訂閱 SirYeh.COM 討論區IE 讀取 RSS 免安裝網址 http://siryeh.com/TinyRss.php如果用 firefox 瀏覽器則更方便唷, 在瀏覽器又下方如果有提供 RSS 服務就會有個黃色小圖示按他就可以訂閱 RSS 囉, 像 php.net 跟 mysql.com 都有試試看吧!
:-? 沒人改?...需要小弟協助嗎?
$sql = "SELECT f.forum_name, t.topic_title, u.user_id, u.username, u.user_sig, u.user_sig_bbcode_uid, p.post_id, pt.post_text, pt.post_subject, pt.bbcode_uid, p.post_time, t.topic_replies, t.topic_first_post_id FROM " . FORUMS_TABLE . " AS f, " . TOPICS_TABLE . " AS t, " . USERS_TABLE . " AS u, " . POSTS_TABLE . " AS p, " . POSTS_TEXT_TABLE . " as pt WHERE t.forum_id = f.forum_id AND f.auth_view = " . AUTH_ALL . " AND p.poster_id = u.user_id AND pt.post_id = p.post_id AND p.topic_id = t.topic_id $sql_topics_only_where $sql_forum_where ORDER BY p.post_time DESC LIMIT $count";
$sql = "SELECT f.forum_name, t.topic_title, u.user_id, u.username, u.user_sig, u.user_sig_bbcode_uid, p.post_id, '' as post_text, pt.post_subject, pt.bbcode_uid, p.post_time, t.topic_replies, t.topic_first_post_id FROM " . FORUMS_TABLE . " AS f, " . TOPICS_TABLE . " AS t, " . USERS_TABLE . " AS u, " . POSTS_TABLE . " AS p, " . POSTS_TEXT_TABLE . " as pt WHERE t.forum_id = f.forum_id AND f.auth_view = " . AUTH_ALL . " AND p.poster_id = u.user_id AND pt.post_id = p.post_id AND p.topic_id = t.topic_id $sql_topics_only_where $sql_forum_where ORDER BY p.post_time DESC LIMIT $count";
就是....個人覺得..或許不是每個人都要看 "全站最新文章"...例如小弟我會看的是 "Linux" , "精華區" , "拾人牙慧" ,"PHP" ,"Database" , "LDAP" 等版面的文章即可....其他的個人並不會特別想用 RSS 進行訂閱..^_^..所以麻煩您增加 "各個討論區的 獨自的 RSS".可以加在 viewforum.php 這個所使用到的樣板檔案中.取用的 變數為 $_GET['f'] 這個討論區的ID.連結的位置應為: http://phorum.study-area.org/rss.php?c=30&f=$_GET['f']不知道這樣的說明是否清楚明瞭..^_^..有問題請在跟我說..^^
<link rel="alternate" type="application/rss+xml" title="酷!學園" href="http://phorum.study-area.org/rss_top5.php?c=30&f=$_GET['f']" />
原來是換論壇系統,難怪 Google Reader 有好一段時間沒抓到新文章...能自動把舊 rss 網址給 redirect 到新 rss 網址去嗎?要不然像我這種懶人,可能要等心血來潮回來看看的時候,才會發現...
我看不到也 而且連結也失效了說
RSS 的功能固然好用, 但 SMF 的最大問題是, 從上次讀取到這次, 不論有多少更新, SMF 只會送出最新的 5 則消息.這是 SMF 的預設值, 也沒有可以定義的選項.建議站長到 SMF 的官方網站裝上這個外掛 XML FEED LIMIT, 就可以控制了.http://custom.simplemachines.org/mods/index.php?mod=1176只不過這個外掛沒有中文, 要手動補上管理介面的語系.確定功能正常, 我自然已經使用過了.如果使用的 Themes 不是 default, 則要手動修改自定 Themes 的 index.template.php.