even een nieuw bestandje, verbind met de db en zet dit neer ofzo
<?php
include "config.php"; // ?
header('Content-Type: application/rss+xml; charset=UTF-8');
?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>PHPhulp topics</title>
<link>http://www.phphulp.nl/</link>
<description>PHPhulp - PHP hulp, PHP scripts, PHP tutorials en meer<</description>
<atom:link href="http://www.phphulp.nl/rss.php" rel="self" type="application/rss+xml" />
<?php
$sql = "SELECT id,categorie,titel,bericht FORM topics ORDER BY datum DESC LIMIT 10";
$res = mysql_query($sql);
while($rij=mysql_fetch_assoc($sql))
{
?>
<item>
<title><?php echo htmlentities($rij['titel'],ENT_QUOTES); ?></title>
<link>http://www.phphulp.nl/forum/showtopic.php?cat=<?php echo $rij['categorie']; ?>&id=<?php echo $rij['id']; ?></link>
<description><![CDATA[
<?php echo htmlentities(substr($rij['bericht'],0,80),ENT_QUOTES); ?>
]]></description>
</item>
<?php
}
?>
</channel>
</rss>is dat nu zoveel gevraagd? alsjeblieft dankjewel

