Warning: include(/home/content/j/e/f/jeffschiller/html/log.php) [function.include]: failed to open stream: No such file or directory in /home/content/68/6293468/html/blog/wp-content/themes/cd2010/header.php on line 9

Warning: include() [function.include]: Failed opening '/home/content/j/e/f/jeffschiller/html/log.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/68/6293468/html/blog/wp-content/themes/cd2010/header.php on line 9
Sanitary WordPress Comments | CodeDread Blog

Can a WordPress plugin be written that would sanitize the HTML in my blog comments through this thing? kthxbye

§502 · September 25, 2008 · Software, Technology, Web · Tags: , , · [Print]

3 Comments to “Sanitary WordPress Comments”

  1. Peter says:

    There are a few HTML cleaning plugins, I haven’t tested them and I’m not sure they are exactly what you want, but they are probably worth a look:

    http://wordpress.org/extend/plugins/htmltidy-for-wordpress/

    http://wordpress.org/extend/plugins/html-purified/

  2. Peter, very cool – thank you for the links! I was aware of HTML Purifier, but not that it had been turned into a WP plugin. Unfortunately it weighs in at around 1.6MB of PHP code – but perhaps if it’s only used for comment submission that won’t be serious server load.

  3. Just wanted to drop you a line that I’m currently creating my own blog software that will be fully integrated with other parts of my site all being written by yours truly. I’ve already written beautiful code where WordPress required some ugly work-arounds.