You can see it here www.tapt-in.net/blog/rss.php
Here is the code
<?php
include("../config_file.php");
header('Content-Type: application/rss+xml');
$posts = b_get_posts();
echo '<?xml version="1.0" encoding="UTF-8" ?>', "\n";
echo '<rss version="2.0">', "\n";
echo ' <channel>', "\n";
echo ' <title>Tap\'t In Blog</title>', "\n";
echo ' <description>Tap\'t In PBBG social network Blog</description>', "\n";
echo ' <link>http://www.tapt-in.net/blog/</link>', "\n";
echo ' <lastBuildDate>',date("r"),'</lastBuildDate>', "\n";
foreach ($posts as $post)
{
echo ' <item>', "\n";
echo ' <title>',$post['title'],'</title>', "\n";
echo ' <description>',$post['preview'],'</description>', "\n";
echo ' <link>http://www.tapt-in.net/blog/read.php?id=',$post['id'],'</link>', "\n";
echo ' <pubDate>',date("r", $post['timestamp']),'</pubDate>', "\n";
echo ' </item>', "\n";
}
echo ' </channel>', "\n";
echo '</rss>';
?>
