olmadı bu sitemapda ki sorun ne acaba ??aldığım hata
XML Ayrıştırma Hatası: iyi düzenlenmiş değilLocation: http://site.com/sitemap.xmlLine Number 2, Column 3: <? --^kullandığım kodlar
<?
header("Content-type: text/xml\n\n");
echo '<?xml version="1.0" encoding="UTF-8"?>'."\n";
echo '<!-- generated-on="'.date("d M Y H:i").'" -->'."\n".'<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">'."\n";
include("includes/Ayar.inc.php");
include("includes/Function.inc.php");
echo "<urlset>";
$sql = mysql_query("Select *,i.id as cid from icerik as i inner join kategori as k on i.katid=k.id where i.onay='1' order by RAND() LIMIT 200");
while($mak= @mysql_fetch_array($sql)) {
echo "\t".'<url>'."\n\t\t";
echo '<loc><a href=http://www.site.com/'.$mak['katid']."/".Duzenle($mak['kategoriad'])."/".$mak['cid']."/".Duzenle($mak['baslik']).'.html>http://www.zayifguzel.com/'.$mak['katid']."/".Duzenle($mak['kategoriad'])."/".$mak['cid']."/".Duzenle($mak['baslik']).'.html</a><p></loc>'."\n\t\t";
<lastmod>".$mak[tarih]."</lastmod>
<changefreq>always</changefreq>
<priority>0.9</priority>
</url>";
}
echo "
</urlset>";
?>