• 20-06-2009, 11:21:10
    #1
    Üyeliği durduruldu
    merhaba arkadaşlar ..

    kullandığım hikaye scriptinin sitemapı çalışmıyor acaba yardımcı olacak dosyayı tamir edecek arkadaş varmı aranızda ?
  • 20-06-2009, 11:31:29
    #2
    kodları yazsanız??
  • 20-06-2009, 11:33:43
    #3
    verdiği hatayı yazarsanız daha kolay çözmüş olursunuz..
  • 20-06-2009, 11:33:58
    #4
    Ücretli işler bölümüne lütfen.
  • 20-06-2009, 11:53:39
    #5
    Ü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, 11:57:28
    #6
    sitemap.php?f=1 olarak gidermisin linke
  • 20-06-2009, 12:07:44
    #7
    Üyeliği durduruldu
    tolgay007 adlı üyeden alıntı: mesajı görüntüle
    sitemap.php?f=1 olarak gidermisin linke
    evet öyle yapınca oldu ? peki sitemap.php yazınca gelmesi için ne yapmam lazım.
  • 20-06-2009, 12:11:09
    #8
    <?
    $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>
  • 20-06-2009, 12:19:13
    #9
    Üyeliği durduruldu
    teşekkür ediyorum + repini gönderiyorum.