• 02-02-2008, 11:28:18
    #1
    https://www.r10.net/sitemap/64145-ver...zirlama-9.html

    burdaki sorumu alt sayfalarda kaldığı için tekrardan sorıyım dedim.

    döngünün sonuna </urlset> i koymak istiyorum nasıl yaparım.. teşekkürler.
  • 02-02-2008, 18:48:38
    #2
    halen bu sorunu halledememiş bulunmaktayım
  • 02-02-2008, 18:58:40
    #3
      <?
    include "ayar.php";
    include "fonk.php";
    ?>  
     
    <? 
    $xml_ciktisi="<?xml version=\"1.0\" encoding=\"windows-1254\"?><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\">\n";
    $urlset="</urlset>";
    echo $xml_ciktisi;
     $x="1";
     $cek=mysql_query("select * from oyunlar order by no desc limit 500");
     while($veri=mysql_fetch_array($cek)) 
     { 
    ;
      ?>
     <? if($x=="498" OR $x=="499" OR $x=="500") {  } else { echo ""; } ?>   
    <url>
                              <loc>http://www.onlineoyunoyna.com/<? echo $veri[no]; ?>-<? echo cevir($veri[ad]); ?>-oyunu.html</loc>
                              <changefreq>daily</changefreq>
                                  <priority>0.5</priority>
                                  </url>
            <? 
     $x++;
     }
    echo $urlset;
     ?>
    en sona yazinca olmuyormu
  • 02-02-2008, 19:15:05
    #4
    oluyor saolasın