merhaba arkadaşlar ..
kullandığım hikaye scriptinin sitemapı çalışmıyor acaba yardımcı olacak dosyayı tamir edecek arkadaş varmı aranızda ?
Hikaye Scripti Sitemap Sorunu ?
8
●463
- 20-06-2009, 11:53:39Üyeliği durduruldu
<? if (!empty($_GET['f']) != "" ){ $limit=20000; $sayfa = !empty($_GET["f"]) ? intval($_GET["f"]) : 1; $s = ($sayfa-1)*$limit; include 'f.php'; print_r('<?xml version="1.0" encoding="UTF-8"?> <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">'); $cek=mysql_query("SELECT * FROM ero where onay='e' order by id ASC LIMIT $s,$limit"); while($veri=mysql_fetch_array($cek)) { ?> <url> <loc><?=$site?><?=$veri['kat']; ?>/<?=$veri['seo']; ?>.html</loc> </url> <? echo "\n"; } ?> </urlset> <? } else { echo 'ne arıyon hoca burda ?'; } ?>
kod bu sitemap linkine tıkladığımda şöyle bir yazı geliyor. ne arıyon hoca burda ? - 20-06-2009, 12:07:44Üyeliği durdurulduevet öyle yapınca oldu ? peki sitemap.php yazınca gelmesi için ne yapmam lazım.tolgay007 adlı üyeden alıntı: mesajı görüntüle
- 20-06-2009, 12:11:09
<? $limit=20000; $sayfa = !empty($_GET["f"]) ? intval($_GET["f"]) : 1; $s = ($sayfa-1)*$limit; include 'f.php'; print_r('<?xml version="1.0" encoding="UTF-8"?> <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">'); $cek=mysql_query("SELECT * FROM ero where onay='e' order by id ASC LIMIT $s,$limit"); while($veri=mysql_fetch_array($cek)) { ?> <url> <loc><?=$site?><?=$veri['kat']; ?>/<?=$veri['seo']; ?>.html</loc> </url> <? echo "\n"; } ?> </urlset>