killer8080, это есть, но всёравно не работает.
Вот код:
<?php
header('content-type: application/rss+xml');
include 'gs_blog/includes/conf2.php';
include 'gs_blog/includes/variables.php';
echo "<?xml version=\"1.0\" encoding=\"".$encoding."\" ?>\r\n";
echo "<rss version=\"2.0\">\r\n";
echo "<channel>\r\n\r\n";
echo "<title>".$title."</title>\r\n";
echo "<link>".$url."</link>\r\n";
echo "<description>".$slogan."</description>r\n";
echo "<language>ru</language>";
echo "<webMaster>".$mail_admin."</webMaster>";
echo "<copyright>".$bottom."</copyright>\r\n\r\n";
echo "<image>\r\n";
echo "<title>".$title."</title>\r\n";
echo "<url>".$url."</url>\r\n";
echo "<width>32</width>";
echo "<height>32</height>";
echo "<description>".$name."</description>\r\n";
echo "<link>".$url."</link>\r\n";
echo "</image>\r\n\r\n";
$sql="SELECT id, name, thumbs, time FROM ".$db['db_table']." ORDER BY id DESC LIMIT 0, 9";
$connect = mysql_connect($db['db_server'], $db['db_user'], $db['db_pass']);
mysql_select_db($db['db_name'], $connect);
$result = mysql_query($sql, $connect);
while($item = mysql_fetch_array($result))
{
$descr = "";
$descr = $item["thumbs"].'<br><a href="'.$url.'?p='.$item["id"].'"><b>читать полностью >>></b></a>';
$descr = htmlspecialchars($descr);
$name = "";
$name = htmlspecialchars($item["name"]);
$date ="";
$date = date("r", ($item['time']));
echo "\r\n<item>\r\n";
echo "<title>".$name."</title>\r\n";
echo "<link>".$url."?p=".$item["id"]."</link>\r\n";
echo "<pubDate>".$date."</pubDate>\r\n";
echo "<description>".$descr."></description>\r\n";
echo "<guid>".$url."?p=".$item["id"]."</guid>\r\n";
echo "</item>\r\n\r\n";
}
echo "</channel>\r\n";
echo "</rss>\r\n";
?>