• 14-05-2007, 22:26:39
    #1
    google a sitemap imi indexletemeye çalıştım google sitemap'imin 142.satırında hata olduğunu söyledi baktiğim zaman şöyle bişi gördüm x-
    ägk.html gibi içindeki almanca harf wardı ve ie ile de açtığım zaman aynı hatayı weriordu urlencode(); kullanmak istemiyorum napabilirim


    if(!$opera) echo ' <?xml version="1.0" encoding="utf-8"?>';

    utf-8 i ne yapmalıyım yada yapmamalımıyım
  • 14-05-2007, 23:23:02
    #2
    us-ascii yaptım ie de açilio ama google gene kızıyo

    Invalid URL
    This is not a valid URL. Please correct it and resubmit. [?]
  • 14-05-2007, 23:27:16
    #3
    Misafir
    Urlencode edeceksin istemesende
  • 14-05-2007, 23:47:01
    #4
    peki belli bi array listesi yapsak bunların dışında kalanları urlencode lasak

    echo urlencode("$' ın fiyat' çok düştü ");
    >
    %24+%FDn+fiyat%FD%27+%E7ok+d%FC%FEt%FC+%3A%29+

    anladinmi neden öyle yapmamak istediğimi


    sitenin sonunda böyle bi link olsun istermiydin
  • 15-05-2007, 00:12:25
    #5
    htmlentities işinizi görmez mi?


    PHP: htmlentities - Manual
  • 15-05-2007, 01:02:56
    #6
    $str = "A 'quote' is <b>bold</b>";

    // Outputs: A 'quote' is &lt;b&gt;bold&lt;/b&gt;
    echo htmlentities($str
    );

    // Outputs: A 'quote' is &lt;b&gt;bold&lt;/b&gt;


    bu daha beter artı &# bunlar yeni variable atar sayfayı katleder

    Delphi、ITエンジニアの転職、求人情報ならリクナビNEXT ITキャリア。VB


    gibi saçma karakterli 1 topic açtım saolsun danacım sildi vbseo direk güzelcene en yakın karakterleri bulup topic ismini şey ettirdi radmin e pm attım yollarsa func u yollar yollamazsa vvarez bakıncam yada kendim yazacam
  • 15-05-2007, 01:21:48
    #7
    vbseo sanırım aşağıdaki gibi birşey yapıyor, topic başlıkları için...

    //Charachters must be in ASCII and certain ones aint allowed
    $text = html_entity_decode ($text);
    $text = preg_replace ("'<[\/\!]*?[^<>]*?>'si", "", $text);
    $text = str_replace(" / ","-",$text);
    $text = str_replace("/","-",$text);
    $text = str_replace("'","-",$text);
    $text = str_replace(" - ","-",$text);
    $text = str_replace("_","-",$text);
    $text = str_replace(" ","-",$text);
    $text = str_replace( "Ç", "C", $text);
    $text = str_replace( "ç", "c", $text);
    $text = str_replace( "Ü", "U", $text);
    $text = str_replace( "ü", "u", $text);
    $text = str_replace( "Ý", "I", $text);
    $text = str_replace( "ý", "i", $text);
    $text = str_replace( "Þ", "S", $text);
    $text = str_replace( "þ", "s", $text);
    $text = str_replace( "Ö", "O", $text);
    $text = str_replace( "ö", "o", $text);
    $text = str_replace( "Ð", "G", $text);
    $text = str_replace( "ð", "g", $text);
    $text = str_replace( "&", "ve", $text);
    $text = str_replace( "%", "yuzde", $text);
    $text = str_replace("?"," ",$text);
    $text = str_replace( "ä", "a", $text);
    $text = str_replace( "Ä", "A", $text);
    $text = str_replace( "ß", "ss", $text);
    $text = ereg_replace("[^A-Za-z0-9-]", "", $text);
    $text = str_replace("----","-",$text);
    $text = str_replace("---","-",$text);
    $text = str_replace("--","-",$text);
    $text = str_replace( "!", " ", $text);
  • 15-05-2007, 01:30:42
    #8
    sanırım bu işimi görür inş ama ben bunu kullanmak istemiom


    $text = preg_replace ("'<[\/\!]*?[^<>]*?>'si", "", $text);

    gene sorun olurmu acaba ne inatçıyım
  • 15-05-2007, 01:35:01
    #9
    Aslında wordpress v.b. hazır sitemapların php kodlarına baksan belki de fikir verecektir.

    Wordpress de şu sitemapi sorunsuz kullanıyorum. Yani google kızmıyor.

    Google Sitemap Generator for WordPress v2 Final