DISQUS

DISQUS Hello! Huddled Masses is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Huddled Masses

Joel Bennett's development blog...
Jump to original thread »
Author

testing acronyms

Started by Jaykul · 9 months ago

Just checking to make sure that my acronym replacer doesn’t do stupid things like replacing acronyms in URL’s, you know, like here: [] a link with php, irc, html and css all in the link yay, it works, and WP still remains standing!

Incidentally% ... Continue reading »

1 comment

  • 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?

Add New Comment

Returning? Login