كود PHP:
<?
include ("include/connect.php");
include("include/rows.php");
header('(anti-spam-content-type:) text/xml');
echo "<?xml version=\"1.0\" encoding=\"windows-1256\"?>\n\n";
echo "<!DOCTYPE rss PUBLIC \"-//Netscape Communications//DTD RSS 0.91//EN\"\n";
echo " \"http://my.netscape.com/publish/formats/rss-0.91.dtd\">\n\n";
echo "
<rss version=\"2.0\" xmlns:atom=\"http://www.w3.org/2005/Atom\">\n\n";
echo "<channel>\n";
echo "<title>".htmlspecialchars($site_name)."</title>\n";
echo "<link>$site_url.rss.php</link>\n";
echo "<description>".htmlspecialchars($meta_open)."</description>\n";
# +--------------------------------------------+
# + Al Droos Script +
# + By PHPx3.com +
# + faha1ad2@hotmail.com +
# +--------------------------------------------+
// aMINE - http://www.montadaphp.net/showthread.php?t=923
// Some Edit's Is From Nuke
//
?>
<title>
<? print htmlspecialchars($site_name); ?>
</title>
<description><? print htmlspecialchars($meta_open); ?></description>
<link><? print $_SERVER['SERVER_NAME']; ?></link>
<? $myss = mysql_query("SELECT `subject`,`id`,`text` FROM `drs_text` WHERE `show`='1' ORDER BY `id` DESC LIMIT 0,57");
while($rows = mysql_fetch_array($myss)){
?>
<item>
<title><? print $rows['subject']; ?></title>
<link><? print "$site_url"; ?>/show-<?=$rows['id'];?>-1.html</link>
<description> <? print $rows['desc']; ?></description>
</item>
<? } ?>
</channel>
</rss>
الحمدلله تم الحل ,
لكن بقي فقط انه لايظهر الـ <description> </description>
لايظهر بينهم كلام لاأعلم لماذا.
والكود بالأعلى يعمل لمن يريده