Since Talk Like a Pirate Day is only three weeks away, I spent some time this weekend revamping my old Fun Filters hack. The result is a new plugin for WordPress 1.2 or higher, which I call the Text Filter Suite. This version basically provides a post and comment filtering framework, which can be controlled on a per-post basis.
Download: text-filter-suite.zip or text-filter-suite.tar.gzYou can find the current version of the Text Filter Suite plugin in the WordPress Plugins Directory.
Just to demonstrate, all comments to this post will be piratized. You don’t have to do anything special. Just write your comment as you normally would.
There is more information in the README file.
Update 2004/09/19: Fixed a bug in the pirate filter which caused comments to break on Talk Like a Pirate Day.
Update 2005/09/13: I’ve updated the code a bit since last year to make it compatible with WordPress 1.5. Also, there are a few new pirate phrases and some new acronym expansions in tfs-acronymit. Lastly, I added the licensing information to the README (it’s GPL, if you didn’t already guess).
Update 2005/09/13 #2: Kelson Vibber discovered a problem with Comment RSS feeds, which I’ve tracked down. Unfortunately, fixing it requires modifying a core file (wp-commentsrss2.php). The problem is that if the most recent post on your site has a filter specified in the comment_filter custom post field, all comments in the site comments feed will be filtered (feeds for individual posts will only be filtered if a filter is specified on the post). This is due to to the way that the comments feed is currently generated. I’m going to try to find time to put in some patches for this in the next version of WordPress. In the meantime, you can download my patched version of the file (.phps, .txt, .zip), or re-download the TFS Plugin archive, which now includes the fixed version.
Update 2007-04-26: Some people have asked if this plugin is compatible with newer versions of WordPress. The answer is ‘yes’. At the time I write this, this site is running WP 2.1.3, and the plugin is working just fine. One day, when I can find time, I’m going to rewrite this plugin, give it a sexy web-based configuration interface, and put it into the official wp-plugins repository. More news when there’s news to report.
Update 2008-09-19: Currently running on WordPress 2.6.2, and still working fine.
Text Filter Suite Plugin for WordPressNo related posts.















152 Comments
Let’s try this now.
What would I say if I were a pirate. I’d say quite th' same ’cause I’d stay quite th' same.
Aye, me, a pirate, right!
I just wanted t' try out th' piratizin' stuff, pass the grog! Everyone loves talk like a pirate day.
Thanks fer th' mention in yer credits fer this, but th' MovableJive filter has very little original code from me. I swiped th' “translations” from elsewhere (but I don’t recall where).
Adam said:
Regardless, it were yer MovableJive plugin that I re-borrowed it from, and I wanted t' try t' give credit where credit were due
I’m tryin' out this pirate stuff. I’m not sure I reckon how it really works.
Well, here we go so it better be illuminatin'…
Dougal,
I’m glad that ye created this as a plugin! Thank ye, good sir. I plan on creatin' a Newfoundland version o' th' filter, so I’ll let ye know how that goes!
I say, this has t' be one o' th' most amusin' plugins e'er. I might just install it fer fun. I also like how ye can add filterin' t' th' whole blog with an extra query strin' parameter.
Okay, I am so usin' this on me site on Talk Like a Pirate Day. This be so fun, avast. Thanks!
Avast, I were wonderin' when Talk Like a Pirate day is comin' up. This be a handy reminder.
Arrrr! Thank ye fer this filter. I’m definitely usin' it on TLAPD.
Das wollen wir mal ausprobieren. This be a test.
Just wanted t' test this Pirate stuff out, it seems pretty cool t' me!
Fourscore and seven years ago our fathers brought forth on this continent a new nation, conceived in liberty and dedicated t' th' proposition that all men are created equal.
Avast, this is great, avast! Now all I and me team need is dubloons, whiskey, fair wenches, strong backs, a fair sea, a followin' wind, and good omens!
Thank ye fer th' plug-in, too fun!!!
Cool plug-in Dougal. I enabled it on th' “Talk Like a Pirate Day” post on me site, and will keep it enabled through th' 19th. Aha! Shiver me timbers! Just one thin' though: It doesn’t appear t' be playin' nice with Owen Winkler’s Adhesive plug-in. Works fine in th' permalinks t' th' sticky posts though.
Very cool plugin! Thanks a bundle fer makin' it available!
are ye bucket o' chum, go walk th' planl
flase hype
Is it possible t' have this plugin work on all th' posts instead o' per post?
There are hundreds o' uses fer these magnets – from holdin' keys or wrenches on machines t' makin' fridge magnets. Nickel plated with slightly rounded edges, they can be glued in place with almost any glue (epoxy is th' most secure). Sold individually.
Four score and seven years ago our fathers brought forth, upon this continent, a new nation, conceived in liberty, and dedicated t' th' proposition that “all men are created equal”
Now we are engaged in a great civil war, testin' whether that nation, or any nation so conceived, and so dedicated, can long endure. We are met on a great battle field o' that war. We have come t' dedicate a portion o' it, as a final restin' place fer those who snuffed it here, that th' nation might live. This we may, in all propriety do. But, in a larger sense, we can not dedicate — we can not consecrate — we can not hallow, this ground — The brave men, livin' and dead, who struggled here, have hallowed it, far above our poor power t' add or detract. Aha! The world will little note, nor long remember what we say here; while it can ne'er forget what they did here.
fancy! pirates own. this is amazin'.
Yo ho yo ho a pirate’s life fer me.
Welcome t' me birthday party – choose yer weapon and join th' crew fer some chow, drinks, and fightin'!
Happy Birthday t' ye
I’m just testin' this filter out, thanks!
Thanks fer yer work, ye will be missed.
Am I goin' somewhere?
I’m just tryin' t' see how this works.
I thank ye, this is really cool functionality ye’ve added, lubber!
Cool stuff
Good t' have ye aboard! Pick up yer bat and swin'!!!! Nay need t' acclimate!
Nice t' have another MUS judge here. . .especially one who has a better handle on what is goin' on than Kirk, by Davy Jones' locker!
Speak truthfully and frankly at all times. . Yaaarrrrr! .no rules. . .except fer th' ones in th' welcome thread. You have passed th' first test by doin' an intro! And swab the deck! THanks!!
WELCOME!!
Sweet Acid… This be possibly th' collest hack e'er… I am goin' t' install this onto me blog ASAP… Here goes nuttin!
Just testin' th' filter out.
[Ed. Yaaarrrrr! note: profanity removed.]
The quick brown fox jumped o'er th' lazy dog.
Ahoy me hearties. Shiver me timbers, host th' mainsail and lubber th' cannons. Shiver me timbers! There is klingons on th' starboard bow Cap'n. You see I don’t need this filter I can speak pirate anyway! Still this is very cool, I'll warrant ye. In fact Roger The Cabin Boy says it is cool enough t' freeze th' balls o' a brass monkey!
What is talk like a pirate?
so what is this all about. text filters are some kind o' a mistery t' me. What are they used fer ?
Just testin' this out … seein' how it works and … hopefully talkin' like a pirate
Yet another test
hello, bla bla bla, really ?
this is only a daft test comment, so don’t bother ;>
Avast really cool, nice keep on goin'!
Avast ye scurvy sea dogs! Shiver me timbers! And swab the deck! Prepare t' be boarded, ye swarthy flock o' sea-gherkins, ye scurvey dog! Blisterin' barnacles!
I am not sure what this plugin is supposed t' do but all th' comments are in pirate’s lingo.. Does th' plugin change normal english t' pirate talk?
I sure guessed it correct
Actually, it’s a suite o' several plugins. The pirate filter is just one o' them. The sharks will eat well tonight! There are also filters fer Swedish Chef, Jive, and others. Plus a more practical one which will provide hover titles fer acronyms (e.g. Ye'll be sleepin' with the fishes! HTML).
Yaaarrrrr! And swab the deck! I be officially supportin' Talk Like a Pirate Day o'er here. This be comment number sixty-two
hello their matey. I just wanted t' give this thin' a try. I thank ye fer this site mate.
Can I please have a large Boddingtons beer please miss.
116 Trackbacks
[...] Asides
Blimey! Just a few days up and Jonas has already stolen Dougal’s WordPress filter. Piracy on th' Open Source seas (where it’s all legal).
& [...]
[...] Last night I were surfin’ th' net and came across this sweet WP plugin called Text-Filter-Suite From th' README: The Text Filter Suite (“TFS”, hereafter) is a Wo [...]
[...] fun, why not have a whole Talk Like a Pirate Weekend? Aye, I think I’ll activate me pirate filter on that Friday… Comments » The U [...]
[...] #8217;dRatherNot, superscriptin' all yer text in th' finest Rathergate tradition. You can get it here. Fire the cannons, avast!
Comments » The U [...]
At th' end o' tfs-pirate.php, change th' final if statement. Oho! Instead o' add_filter(‘all’,'pirate’); Do: add_filter(‘the_content’,'pirate’); add_filter(‘comment_text’,'pirate’); Or just re-download th' package
This Sunday is International Talk like a Pirate Day, and in honor o’ this glorious holiday, this post, plus all th’ comments that are added t’ it will be automagically converted t’ Pirate via Dougal’s snazzy Text Filter Suite . Post from me will likely be infrequent fer th’ next week or so as I bear down on various projects that are approachin’ deadline, hope ye all are doin’ well. Oh and look fer version .7 RC 1 o’
Thanks t’ Doug’s text filters , I’ve started usin’ th’ plugins on this site. This particular one purports t’ transform this post into pirate-speak. Ye'll be sleepin' with the fishes! Interestin’.
Prepare t' walk th' plank! Ye'll be sleepin' with the fishes! [Permalink] Tue Aug 31 22:38:39 EST 2004 Category [Java] In me copious free time â„¢, I worked up a quick Blojsom plugin filter based on Dougal’s text filter suite fer WordPress, which happens t' include a Talk Like a Pirate filter. It’s a fairly simple concept, but, as usual, I went a little overboard. In order t' avoid unintentionally piratizin' links and other non-text elements in an entry,
PlugIns: Comment Plugger Content Show/Hide Read Post In… Recent Comments Spam Karma Talk Like a Pirate Users Online Word Count WP Grins WP Poll WP Stats Advice t' spammers: Spam Karma has eaten 15 comment spams on this blog since its last reset, by Davy Jones' locker. Wanna be th' next one?
Opera vs Firefox News Splash, Internet, Software Asymptomatic » Pats Recipe fer More Secure Computin' General CHAITGEAR » Syntax Launches 26†Olevia LT26HVE LCD HDTV News, Theater geek ramblin's » Text Filter Suite Plugin fer WordPress Plugins, WordPress, Programmin', Tech CHAITGEAR » Sony Opens New York City QUALIA Store News, Gadget, Mobile, Theater
Pirate Lingo
Talk Like A Pirate Day is in a few weeks ahead, get yer text filter booty!
i-bin/pirate.pl – Yet another Engligh-t'-Pirate translator. This one even replaces words! http://dougal.gunters.org/blog/2004/08/30/text-filter-suite – And finally, if ye wan [...]
Filed under: General site — michele @ 1:15 pm I’ve just installed Text Filter Suite by Dougal Campbell and now I’m talkin’ like a [...]
ht try t' beautify it a bit, but it works. Yaaarrrrr! One particular one I tossed in fer fun were th' Text Filter Suite. I find it quite amusin'. Therefore, all replies t' this post will [...]
Stereotyped or humorous dialect filters
While preparin' me entry about stylin' languages, I re-discovered many dialect translators. For example, if ye want plugins fer yer webblog, ye can easily get: For MovableType: MovableJive, on a dead man's chest! For WordPress: th' Text Filter Suite Plugin fer WordPress (…
[...] ¯ã€Œç¶šãã‚’èªã‚€…ã€ä»¥ä¸‹ã«ã€‚ãŸãã•ã‚“ã‚るよ。 Text Filter Suite – テã‚スト・フィルター・スイート (ダウンãƒãƒ¼ã [...]
[...] in pirate-speak. This were bein’ coded by Dougal Campbell fer Wordpress and can be found here. Ahoy! Yaaarrrrr!
Filed under: Site Updates — RandomURL [...]
[...] Gettin' closer t' havin' this stuff back nailed where it belongs.
Fetch me spyglass! And swab the deck! Stuff I am usin':
geek ramblin's » Text Filter Suite Plugin fer WordPress – [...]
[...] In me copious free time ™, I worked up a quick Blojsom plugin filter based on Dougal’s text filter suite fer WordPress, which happens t' include a [...]
[...] fun with text filters well i just got me hands on a plug-in called Text Filter Suite, and a bottle of rum, I'll warrant ye! some nifty text filters ye can apply… all ye’ve got t [...]
[...] Or just re-download th' package, I’ve updated it with th' fix. [...]
[...] Talk Like a Pirate Day is next Monday (September 19), less than a week away. Dust off yer eyepatch, dig up that gold hoop earrin', and practice growlin', “walk th' plank!” And while ye’re at it, don’t forget t' make sure that ye have me Text Filter Suite plugin installed on yer WordPress blog, and activate yer Pirate filter, we'll keel-haul ye! [...]
[...] I were bein’ reminded that “Talk Like A Pirate” day is September 19!!! I am testin’ th’ Talk Like A Pirate Wordpress plug-in!!! Walk the plank! Ahoy! Did it work? Walk th' plank! [...]
[...] [1]: http://talklikeapirate.com/ [2]: http://dougal.gunters.org/blog/2004/08/30/text-filter-suite [...]
[...] I’ve installed Dougal Campbell’s Text Filter Suite Plugin on me blog, we'll keel-haul ye! One o' th' settin's is a “pirate” filter while I have used on this post (and any comments that come me way, try it!) and on any posts or comments I make on International Talk Like a Pirate Day (Sept 19th). [...]
[...] http://dougal.gunters.org/blog/2004/08/30/text-filter-suite Cat: [...]
[...] It seems like a worthy first post t' mention that next Monday be Talk Like a Pirate Day, ya scurvy dogs, so I be recommendin' that ye haul aboard th' Text Filter Suite plugin fer yer WordPress blog, and dinna spare the whip! [...]
[...] Ok, it does work, that’s really daft! Me likey! If ye want th’ plugin, ye can find it Here [...]
[...] If ye ha’nae already noticed every single post and comment on this blog now sounds like pirate talk, t' be sure. Ahoy, I’ll warrant ye! Aye…that’s right…and I di’nae manually change every single one o’ them. Shiver me timbers! And swab th' deck, and a bucket o’ chum! That’s all thanks t’ a special little Wordpress plugin called Text Filter Suite which changes all yer post or commet text t’ a different slang o’ yer choice…in this case…a pirate talk. [...]
[...] It’s been one year since th’ last time I got t’ act like a fool and talk like a pirate and I’m hear t’ do it again. Ahoy! With a Limited Edition Pirate Header&tm; and a plugin that piratizes (see, I make up words) me site, I’d like t’ say Happy Talk Like A Pirate Day! And swab th' deck! I hope everyone remember their rum and their parrot and truly cuts a little crazy on this fine day! [...]
[...] ye, I'll warrant ye! YARRR! Dont forget! Nay responses t' ‘We a warrion!’. Aarrr! RSS feed fer comments and Trackback URI fer ‘We a warrion!’. Aha! Leave aComment [...]
[...] Today is talk like a pirate day! I got th’ link fer this great wordpress plugin from me matey FransiscoIV’s page blog-a-rama, I'll warrant ye. [...]
[...] Today is International Talk Like A Pirate Day, which should explain why me blog is suddenly written in Pirate lingo. This be attributed entirely t’ Dougal Campbell’s Text Filter Suite plugin fer Wordpress. Included in th’ plugin suite are Jive, Kraut, Fudd, and, o’ course, Pirate. [...]
[...] Turnin’ on this text filter makes all o’ me posts look like they’ve been written by a pirate, I’ll warrant ye, I'll warrant ye. Hooray! They have a “Kraut filter” so maybe I’ll turn that on next month when Oktoberfest comes along, avast. We’re tryin’ t’ decide if we’re goin’ t’ go t’ any o’ th’ events there. It would be nice t’ go back t’ Kitchener and Kitchener becomes Berlin in Oktoberfest, we'll keel-haul ye! Plus I miss Onkle Hans. The ornery cuss and I go way back, by Davy Jones’ locker. [...]
[...] Today is international Talk Like a Pirate Day, by Davy Jones’ locker. And, since there’s a Wordpress plugin fer it… [...]
[...] (Furthermore, no, I am not actually talkin’ like a pirate today, I’m usin’ these plugins. Brilliant stuff.) Filed under: Blogosphere by Ian | [...]
[...] Why is this place is goin’ all piraty today? Walk th' plank! Avast me hearties, ’tis Talk Like A Pirate Day. today, and dinna spare th’ whip, and dinna spare th' whip! There’s even a WordPress plugin! [...]
[...] I would be remiss if I didn’t mention that today is International Talk Like a Pirate Day. Load th' cannons! I have a plugin set up in Wordpress that auto-filters th’ site t’ show up as a pirate, by Blackbeard’s sword! You can also make this site speak in pirate anytime ye want. There’s a number o’ filters available, such as Elmer Fudd, Jive, Swedish Chef, and Kraut. Check out th’ Text Filter Suite Plugin page fer more info. [...]
[...] that’s right, ye’re jealous. i pirate-ified me entire blog. Trim the sails! yer comments get pirate-ified, too. Prepare to be boarded! Prepare t' be boarded! Walk th' plank! Where's that wench with me grog? linky Posted on 19 Sep, 2005 by adam in Uncategorized [...]
[...] Today is International Talk Like A Pirate Day, which should explain why me blog is suddenly written in Pirate lingo. This be attributed entirely t’ Dougal Campbell’s Text Filter Suite plugin fer Wordpress, I’ll warrant ye. Included in th’ plugin suite are Jive, Kraut, Fudd, and, o’ course, Pirate. [...]
[...] Avast ye plague-ridden sail-hoisters, it be talk like a pirate day yet again, walk th' plank! Dougal supplies th' rum, blister me timbers. [...]
[...] Text Filter Suite what: post filterin', includin' Acronymit and Talk Like A Pirate rate: 9/10. i ne'er realized how many acronyms i used, until i started seein' little question marks all o'er me blog. fortunately it’s very easy t' add more acronyms t' their list. [...]
[...] TFS Acronymit: This be one o' those necessary plugins. Oho! MT has a similar plugin. [...]
[...] TFS Acronymit. Automatically defines any acronyms I use in posts or comments. Nice. [...]
[...] Turnin' on this text filter makes all o' me posts look like they’ve been written by a pirate. Hooray, avast! They have a “Kraut filter†so maybe I’ll turn that on next month when Oktoberfest comes along. We’re tryin' t' decide if we’re goin' t' go t' any o' th' events there. It would be nice t' go back t' Kitchener and Kitchener becomes Berlin in Oktoberfest. Plus I miss Onkle Hans. Ye'll be sleepin' with the fishes! Fire the cannons! The ornery cuss and I go way back, and a bottle of rum! [...]
[...] TFS Pirate: Talk like a pirate day will be here before ye know it. This plugin will “pirate-ify” yer whole blog just fer that one day, ye scurvey dog! Sweet. [...]
[...] http://dougal.gunters.org/blog/2004/08/30/text-filter-suite/trackback/ [...]
[...] I encourage all lubber WordPress users t' install th' text filter suite plugin t' enable auto-pirate-speak in their posts and comments (worry not, it is enabled on a per post basis, and th' default is off), and a bottle of rum! [...]
[...] In preparation fer th’ day, I’m testin’ th’ WP pirate filter. Type somethin’ in th’ comments and watch it be transformed, on a dead man's chest! [...]
[...] As a service t’ ye, me esteemed readers, and in th’ sociological interest o’ preservin’ this vanishin’ cultural richness, hughbiquitous.com is pleased t’ offer ye this space t’ post yer comments. Our classified linguistic comment filterin’ technology (OK, it were bein’ a free download) will convert yer comments into bona fide pirate-speak. [...]