rss.php
找到
- if($fidarray) {
- $query = $db->query("SELECT * FROM {$tablepre}rsscaches WHERE fid IN (".implode(',', $fidarray).") ORDER BY dateline DESC LIMIT $num");
- if($db->num_rows($query)) {
- while($thread = $db->fetch_array($query)) {
- if($timestamp - $thread['lastupdate'] > $ttl * 60) {
- updatersscache();
- break;
- } else {
- echo " <item>\n".
- " <title>".dhtmlspecialchars($thread['subject'])."</title>\n".
- " <link>{$boardurl}viewthread.php?tid=$thread[tid]</link>\n".
- " <description><![CDATA[$thread[description]]]></description>\n".
- " <category>".dhtmlspecialchars($thread['forum'])."</category>\n".
- " <author>".dhtmlspecialchars($thread['author'])."</author>\n".
- " <pubDate>".gmdate('r', $thread['dateline'])."</pubDate>\n".
- " </item>\n";
复制代码 将上面中的:- " <link>{$boardurl}viewthread.php?tid=$thread[tid]</link>\n".
复制代码 替换为
|