DISQUS

DISQUS Hello!  The comments on this profile are unclaimed and thus are unverified.

Do they belong to you? Claim these comments.

Harald Kampen's picture

Unregistered

Feeds

aliases

  • Harald Kampen

Harald Kampen

4 years ago

in testing acronyms on Huddled Masses
Your Acronym Replacer is nice. We know using the script a bit modified in our content management system (WebsoziCMS, GPL licensed).

The modifications are:
* excluding text with stristr($text, '< script') or stristr($text, '< option') or stristr($text, '< input') or stristr($text, '< textarea') or stristr($text, '< object')
* Better performance by checking the abbreviations before replacing with
if(strstr($text, $acronym)) { (after foreach()).

I`m still searching for a way to use abbreviations with points and white-spaces. Any idea?
Returning? Login