Thanks Kip, with one TINY modification to deal with rogue apostrophes,
that appears to have solved the issue beautifully!
Many grats and great kudos to you... if the Rapture hasn't taken you. ;)
Is now being deployed and the sitemap validates first pass! Sweet. :D
Cheers...
> Hi Karl, does this help:
> $result = preg_replace('/(?:\band\b)|(?:\bthe\b)|(?:\bof\b)|[&-:.?\\\\! ()
> ]/i', '-', $input);
---
Karl
--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]