in reply to Re: WordPress 'sanitize_title'
in thread WordPress 'sanitize_title'

The script is only executed locally on my pc. It should be a little helper to generate some html code for me during writing a blog posting offline. So I wouldn't need host cooperation.

When writing it offline I already know which title it will have. So I just need a script that take my title, sanitizes in the same way WordPress would do and generate URLs including the perl-sanitized title.

Let's say I want to write a blog post with the title "Test title". Then Perl should take some internal date and time variables, sanitize the title in WordPress way and start building the URLs.

I hope I described it properly :)

Cheers Klammer

Replies are listed 'Best First'.
Re^3: WordPress 'sanitize_title'
by Anonymous Monk on Sep 01, 2008 at 16:45 UTC
    The host can have any billion number of custom ways to sanitize the title. You have no guarantee its the default WordPress function.

      You're right, but since it's WordPressMU I hope it sticks to the WordPress standard.

      Cheers Klammer