الموضوع: مشكلة بالـ RSS !
عرض مشاركة واحدة
عضو سوبر نشيط
تاريخ التسجيل: Aug 2007-
#10 (permalink)  

اشتغل الحمدلله تمام بعد تعديلات, لكن يوجد فيه مشكله باللغه وفي اظهار <title>

كود 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\">\n\n";
echo 
"<channel>\n";
echo 
"<title>".htmlspecialchars($site_name)."</title>\n";
echo 
"<link>$sie_url</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

include ("include/connect.php");
include(
"include/rows.php");
//
?>
<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` ORDER BY `id` DESC LIMIT 0,57");
 while(
$rows mysql_fetch_array($myss)){
?>
<item>
        <title><? print "$subject"?></title>
        <link><? print "$site_url"?>/show-<?=$rows['id'];?>-1.html</link>
        <description> <?=htmlentities(substr($rows['text'],0,60));?></description>
     </item>
  <? ?>
</channel>
</rss>






__________________
موقع مبرّمج - zawyte
php(x)3
www.tdwenty.com Domain Is 4 Sale | fahad1ad2 @ hotmail.com
ff5006 غير متواجد حالياً   قديم 22-04-2008, 11:22 PM
رد مع اقتباس