For example when we enter weird characters to wordpress title it converts them so something else.It clears it . Is there a function like that to clear this characters?
I don't know if it emulates the wordpress url but to do automated posting to my wordpress databases I just use .. $p_title = str_replace(" ","-",strtolower($p_title)) ; $p_title = ereg_replace("[^A-Za-z0-9\-]", "", $p_title ); $p_title = str_replace("---","-",$p_title) ; PHP: then I force that as the 'guid' entry to the db. The code above switches out spaces " " with dashes "-" then removes any character that's not alphanumeric or a dash. After that I switch "---" out with "-" ... the "---" would occur if the string " - " occurs in the title of something quite frequently. Yes it's a poorboy hack but it works like a charm, hope it helps.