mirror of
https://git.code.sf.net/p/quake/website
synced 2025-01-31 12:40:49 +00:00
Help RSS validate.
This commit is contained in:
parent
edff0ac4db
commit
62f89a88d5
2 changed files with 3 additions and 1 deletions
|
@ -58,8 +58,9 @@ function formatNewsRSS ($date, $user, $text)
|
||||||
|
|
||||||
return "<item><title>QF News for $humanDate (posted by $user)</title>\n"
|
return "<item><title>QF News for $humanDate (posted by $user)</title>\n"
|
||||||
."<link>http://www.quakeforge.net/</link>\n"
|
."<link>http://www.quakeforge.net/</link>\n"
|
||||||
|
."<guid>http://www.quakeforge.net/news.php?item=$humanDate</guid>"
|
||||||
."<pubDate>$rfcDate</pubDate>"
|
."<pubDate>$rfcDate</pubDate>"
|
||||||
."<author>$user</author>"
|
// ."<author>$user</author>"
|
||||||
."<description><![CDATA[$text]]></description>"
|
."<description><![CDATA[$text]]></description>"
|
||||||
."</item>\n";
|
."</item>\n";
|
||||||
}
|
}
|
||||||
|
|
1
rss.php
1
rss.php
|
@ -17,4 +17,5 @@
|
||||||
need ('news');
|
need ('news');
|
||||||
printLatestNews (5);
|
printLatestNews (5);
|
||||||
?>
|
?>
|
||||||
|
</channel>
|
||||||
</rss>
|
</rss>
|
||||||
|
|
Loading…
Reference in a new issue