
18-01-2009, 15:02:33
|
| |
Sitemap Desteklenmeyen Dosya Biçimi | | Arkadaşlar sitemap' ı google'a atıyorum ama Desteklenmeyen dosya biçimi hatası veriyor. Bu hatayı nasıl düzeltebilirim.Sitemap sayfası aşağıda Kod: <?include("dbs.php");
$q=mysql_query("Select * from program");
function Temizlik($q) {
$q = str_replace("&","",$q);
$q = str_replace(">","",$q);
$q = str_replace("<","",$q);
$q = strtolower($q);
$q=trim($q);
return $q;
}
?>
<textarea cols=100 rows=50>
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="gss.xsl"?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.google.com/schemas/sitemap/0.84 http://www.google.com/schemas/sitemap/0.84/sitemap.xsd">
<?
while ($r=mysql_fetch_array($q)) {
?>
<url>
<loc><? echo $site; ?>/Program/<? echo temizlik($r[adi_s]); ?>.html</loc>
<lastmod>2007-02-25T18:26:25+00:00</lastmod>
<changefreq>daily</changefreq>
<priority>1.00</priority>
</url>
<? } ?>
</urlset></textarea> |