Sitemap Encoding Type?
25
●1.679
- 15-05-2007, 01:45:07O da olur ama xml'den bence vazgeçmeyin. Çünkü içersinde bir çok parametre ile robot'u kontrol edebiliyorsunuz.
- URL to the page: Enter the URL to the page. Examples: http://www.foo.com/index.html or Yeah.com - Only the best links ...
- Priority: Choose the priority of the page relative to the other pages. For example, your homepage might have a higher priority than your imprint.
- Last Changed: Enter the date of the last change as YYYY-MM-DD (2005-12-31 for example) (optional).
- 15-05-2007, 02:03:33$text = html_entity_decode ($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( "ä", "a", $text);
$text = str_replace( "Ä", "A", $text);
$text = str_replace( "ß", "ss", $text);
u ları a yapmış y leri a
sadece şunları kullandım
mesela lady i lada yapmış
150 mb verimi mahvetti tüm y leri alt sildi
naapacam
- 15-05-2007, 02:14:49vBulletin PHP BBCODE tagı, karakterleri (İ ve ı) bozuk çevirmiş.
Code tagıyla sanırım aynen görüntüleyebiliyor.
$text = $title; //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);DB'den başdan çekersin? - 15-05-2007, 12:55:30ya yedeği war benim anlamadığım php neden y herfini i ye çevirmiş
$text = html_entity_decode ($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( "ä", "a", $text);
$text = str_replace( "Ä", "A", $text);
$text = str_replace( "ß", "ss", $text);
burda öyle bişi yokki php dosyasının encoding type ından mıdır nedir - 15-05-2007, 14:09:56Hayır benim sana paste ettiğim make_text_safe fonksiyon kodlarındaki Türkçe harfler yanlış çıkmış. Çünkü PHP BBCODE Tagı içersine almıştım.
[PHP]
kodlar
[/PHP]
ama CODE tagı arasına alınca düzgün çıktı.
Eee türkçe harfler bozuk olursa, fonksiyon ne yapsın.
Düzgün olanı şu:
text = $title; //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);Bununla tekrar denermisin.
