Help RSS validate.

This commit is contained in:
Jeff Teunissen 2011-08-09 22:47:00 -04:00
parent edff0ac4db
commit 62f89a88d5
2 changed files with 3 additions and 1 deletions

View file

@ -58,8 +58,9 @@ function formatNewsRSS ($date, $user, $text)
return "<item><title>QF News for $humanDate (posted by $user)</title>\n"
."<link>http://www.quakeforge.net/</link>\n"
."<guid>http://www.quakeforge.net/news.php?item=$humanDate</guid>"
."<pubDate>$rfcDate</pubDate>"
."<author>$user</author>"
// ."<author>$user</author>"
."<description><![CDATA[$text]]></description>"
."</item>\n";
}

View file

@ -17,4 +17,5 @@
need ('news');
printLatestNews (5);
?>
</channel>
</rss>