Dougal Campbell's geek ramblings

WordPress, web development, and world domination.

Text Filter Suite

Description

  • Plugin link: Text Filter Suite
  • Plugin version: 1.3
  • Requires at least: WordPress 1.5
  • Tested up to: WordPress 4.0
  • Last updated: September 17, 2014
  • Rating: 4/5
  • Downloads: 3,332 Download ZIP

The Text Filter Suite ("TFS", hereafter) is a WordPress plugin which adds some new text filtering functions. In a sense, the core TFS functions could be considered a "meta filter", because they actually provide a framework that let you construct new filters fairly easily. They also provide an easy way to apply filters to post content and comments on a per-post basis.

Huh? Can you repeat that in English?

Okay, let's try a real-world example. A common feature on many web sites is the automatic handling of acronyms. You'll often see an acronym such as "XHTML" displayed in an alternate style, and when you hover your mouse pointer over it, you get a tool-tip which displays the definition ("eXtended HyperText Markup Language", in this case). You don't want to have to type in the markup for this every time you post something, and automation is what computers are for, right? So, there are several plugins available to handle this sort of automated text subsitution.

TFS comes with the "TFS Acronymit" plugin to perform this function. It's based on Matt Mullenweg's original "Acronymit" function, but with a couple of improvements. In Matt's original function, you had to keep the acronym list sorted, longest-to-shortest, and it could get confused by recursive acronyms like 'PHP' ("PHP Hyptertext Processor") or GNU ("GNU's Not Unix"). TFS Acronymit does not have those restrictions.

For those who think that expansion of technical acronyms is "teh sux0r" (i.e. "boring"), TFS comes with a variety of more entertaining filters. The current set includes "chef", "fudd", "jive", "kraut", "pirate", and of course, the aforementioned "acronymit". As a word of caution, the "jive" and "kraut" filters are not what you would call "politically correct".

Changelog

1.3 - 2012-09-18

  • Fixed PHP opening shorttag in tfs-acroymit.php
  • Eliminated PHP warnings in debug mode
  • Removed all closing ?> php tags per WP standards
  • Killed generic 'filter' $_REQUEST variable checking

1.2 - 2010-12-10

  • Added this changelog to the readme
  • Moved the is_feed() handling into the init, to avoid breaking in WordPress 3.1.
  • Added notes about the filters being CPU intensive.

About Dougal Campbell

Dougal is a web developer, and a "Developer Emeritus" for the WordPress platform. When he's not coding PHP, Perl, CSS, JavaScript, or whatnot, he spends time with his wife, three children, a dog, and a cat in their Atlanta area home.
Bookmark the permalink.
%d bloggers like this: