<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Creating a profanity filter</title>
	<atom:link href="http://www.supersatellite.com/2007/12/06/creating-a-profanity-filter/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.supersatellite.com/2007/12/06/creating-a-profanity-filter/</link>
	<description>Blogging in a new web</description>
	<lastBuildDate>Sat, 24 Jul 2010 04:20:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Josh Buxman</title>
		<link>http://www.supersatellite.com/2007/12/06/creating-a-profanity-filter/comment-page-1/#comment-1059</link>
		<dc:creator>Josh Buxman</dc:creator>
		<pubDate>Wed, 13 May 2009 23:16:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.supersatellite.com/2007/12/06/creating-a-profanity-filter/#comment-1059</guid>
		<description>I found this API at webpurify.com which filters all of our content and seems to be working great for us. I didn&#039;t have to spend hours developing an entire list of words and it costs like $8 a month. Anyway, just thought I would share.</description>
		<content:encoded><![CDATA[<p>I found this <abbr class="uttAbbreviation" title="Application Program Interface">API</abbr> (Application Program Interface) at webpurify.com which filters all of our content and seems to be working great for us. I didn&#8217;t have to spend hours developing an entire list of words and it costs like $8 a month. Anyway, just thought I would share.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mikew</title>
		<link>http://www.supersatellite.com/2007/12/06/creating-a-profanity-filter/comment-page-1/#comment-944</link>
		<dc:creator>mikew</dc:creator>
		<pubDate>Wed, 10 Dec 2008 00:10:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.supersatellite.com/2007/12/06/creating-a-profanity-filter/#comment-944</guid>
		<description>fabulous little script!

many thanks!</description>
		<content:encoded><![CDATA[<p>fabulous little script!</p>
<p>many thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: johnsmith</title>
		<link>http://www.supersatellite.com/2007/12/06/creating-a-profanity-filter/comment-page-1/#comment-896</link>
		<dc:creator>johnsmith</dc:creator>
		<pubDate>Fri, 31 Oct 2008 01:33:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.supersatellite.com/2007/12/06/creating-a-profanity-filter/#comment-896</guid>
		<description>Wouldn&#039;t this filter also filter out &quot;classical&quot;, &quot;institution&quot;, and &quot;analysis&quot;?

&quot;I go to a ********* ************ where I study ******** in mathematics&quot;.

Talk about false positives!</description>
		<content:encoded><![CDATA[<p>Wouldn&#8217;t this filter also filter out &#8220;classical&#8221;, &#8220;institution&#8221;, and &#8220;analysis&#8221;?</p>
<p>&#8220;I go to a ********* ************ where I study ******** in mathematics&#8221;.</p>
<p>Talk about false positives!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Fienen</title>
		<link>http://www.supersatellite.com/2007/12/06/creating-a-profanity-filter/comment-page-1/#comment-227</link>
		<dc:creator>Michael Fienen</dc:creator>
		<pubDate>Thu, 03 Jan 2008 14:14:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.supersatellite.com/2007/12/06/creating-a-profanity-filter/#comment-227</guid>
		<description>Here you go.  Keep in mind, it&#039;s greedy, so partial matches count (&quot;ass&quot; will match &quot;asshole&quot; or &quot;asses&quot;).  You will notice some words or patterns that one wouldn&#039;t consider profanity, but they were included to help insure a clean display.

$filter = array(&quot;fuck&quot;,&quot;shit&quot;,&quot;damn&quot;,&quot;cunt&quot;,&quot;ass&quot;,&quot;porn&quot;,&quot;gay&quot;,&quot;fag&quot;,&quot;dick&quot;,&quot;cock&quot;,
&quot;puss&quot;,&quot;penis&quot;,&quot;vagina&quot;,&quot;butt&quot;,&quot;boob&quot;,&quot;\btit((t(y&#124;ies))&#124;s)?\b&quot;,&quot;breast&quot;,&quot;lesbian&quot;,
&quot;dyke&quot;,&quot;tranny&quot;,&quot;transvestite&quot;,&quot;queer&quot;,&quot;sex&quot;,&quot;poop&quot;,&quot;turd&quot;,&quot;hermaphrodite&quot;,
&quot;an(a&#124;u)(l&#124;s)&quot;,&quot;std&quot;,&quot;stupid&quot;,&quot;dumb&quot;,&quot;crabs&quot;,&quot;gonorrhea&quot;,&quot;homo&quot;,&quot;pubic&quot;,&quot;herpes&quot;,
&quot;aids&quot;,&quot;beer&quot;,&quot;liquor&quot;,&quot;booze&quot;,&quot;hell&quot;,&quot;horn(y&#124;ier)&quot;,&quot;fart&quot;,&quot;beastility&quot;,&quot;bitch&quot;,&quot;piss&quot;,
&quot;hardcore&quot;,&quot;erection&quot;,&quot;orgasm&quot;,&quot;blow(\s)?job&quot;,&quot;prick&quot;,&quot;cum&quot;,&quot;ejaculat&quot;,&quot;nigg&quot;,
&quot;facial&quot;,&quot;dildo&quot;,&quot;vibrator&quot;,&quot;goddamn&quot;,&quot;\d{6,9}&quot;,&quot;\d{3}-\d{2}-\d{4}&quot;,&quot;death&quot;,
&quot;kill&quot;,&quot;murder&quot;,&quot;rap(e&#124;ing)&quot;,&quot;bukkake&quot;,&quot;hentai&quot;,&quot;fellatio&quot;,&quot;cunnilingus&quot;,
&quot;intercourse&quot;,&quot;erotic&quot;,&quot;pervert&quot;);</description>
		<content:encoded><![CDATA[<p>Here you go.  Keep in mind, it&#8217;s greedy, so partial matches count (&#8220;ass&#8221; will match &#8220;asshole&#8221; or &#8220;asses&#8221;).  You will notice some words or patterns that one wouldn&#8217;t consider profanity, but they were included to help insure a clean display.</p>
<p>$filter = array(&#8220;fuck&#8221;,&#8221;shit&#8221;,&#8221;damn&#8221;,&#8221;cunt&#8221;,&#8221;ass&#8221;,&#8221;porn&#8221;,&#8221;gay&#8221;,&#8221;fag&#8221;,&#8221;dick&#8221;,&#8221;cock&#8221;,<br />
&#8220;puss&#8221;,&#8221;penis&#8221;,&#8221;vagina&#8221;,&#8221;butt&#8221;,&#8221;boob&#8221;,&#8221;\btit((t(y|ies))|s)?\b&#8221;,&#8221;breast&#8221;,&#8221;lesbian&#8221;,<br />
&#8220;dyke&#8221;,&#8221;tranny&#8221;,&#8221;transvestite&#8221;,&#8221;queer&#8221;,&#8221;sex&#8221;,&#8221;poop&#8221;,&#8221;turd&#8221;,&#8221;hermaphrodite&#8221;,<br />
&#8220;an(a|u)(l|s)&#8221;,&#8221;std&#8221;,&#8221;stupid&#8221;,&#8221;dumb&#8221;,&#8221;crabs&#8221;,&#8221;gonorrhea&#8221;,&#8221;homo&#8221;,&#8221;pubic&#8221;,&#8221;herpes&#8221;,<br />
&#8220;aids&#8221;,&#8221;beer&#8221;,&#8221;liquor&#8221;,&#8221;booze&#8221;,&#8221;hell&#8221;,&#8221;horn(y|ier)&#8221;,&#8221;fart&#8221;,&#8221;beastility&#8221;,&#8221;bitch&#8221;,&#8221;piss&#8221;,<br />
&#8220;hardcore&#8221;,&#8221;erection&#8221;,&#8221;orgasm&#8221;,&#8221;blow(\s)?job&#8221;,&#8221;prick&#8221;,&#8221;cum&#8221;,&#8221;ejaculat&#8221;,&#8221;nigg&#8221;,<br />
&#8220;facial&#8221;,&#8221;dildo&#8221;,&#8221;vibrator&#8221;,&#8221;goddamn&#8221;,&#8221;\d{6,9}&#8221;,&#8221;\d{3}-\d{2}-\d{4}&#8221;,&#8221;death&#8221;,<br />
&#8220;kill&#8221;,&#8221;murder&#8221;,&#8221;rap(e|ing)&#8221;,&#8221;bukkake&#8221;,&#8221;hentai&#8221;,&#8221;fellatio&#8221;,&#8221;cunnilingus&#8221;,<br />
&#8220;intercourse&#8221;,&#8221;erotic&#8221;,&#8221;pervert&#8221;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reuben</title>
		<link>http://www.supersatellite.com/2007/12/06/creating-a-profanity-filter/comment-page-1/#comment-226</link>
		<dc:creator>Reuben</dc:creator>
		<pubDate>Thu, 03 Jan 2008 06:10:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.supersatellite.com/2007/12/06/creating-a-profanity-filter/#comment-226</guid>
		<description>bah!!  i was hoping i would get to see all the naughty words you came up with in your code.  &quot;word1&quot;, &quot;word2&quot;, &quot;word3&quot;??  

feh, what a gyp!</description>
		<content:encoded><![CDATA[<p>bah!!  i was hoping i would get to see all the naughty words you came up with in your code.  &#8220;word1&#8243;, &#8220;word2&#8243;, &#8220;word3&#8243;??  </p>
<p>feh, what a gyp!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Fienen</title>
		<link>http://www.supersatellite.com/2007/12/06/creating-a-profanity-filter/comment-page-1/#comment-204</link>
		<dc:creator>Michael Fienen</dc:creator>
		<pubDate>Tue, 18 Dec 2007 17:13:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.supersatellite.com/2007/12/06/creating-a-profanity-filter/#comment-204</guid>
		<description>In the case of this particular script, there were no concerns about an overly greedy match being made, because enough searches are done a minute on our Mini that it is regularly refreshed anyway.  Kids can be awfully meddlesome too, and will try many tricks to get around it for a giggle, so the more aggressive, the better.

But you can always tweak the match in the array, for instance making &quot;word2&quot; be &quot;\bword2\b&quot; to match to word boundaries rather than any time it sees word2 appear somewhere in whole or part.  

You could also add a flag into the script, something like: 
  $matchGreedy = TRUE;
And based off that, include \b in the preg_match() function if it&#039;s true, or not if false.</description>
		<content:encoded><![CDATA[<p>In the case of this particular script, there were no concerns about an overly greedy match being made, because enough searches are done a minute on our Mini that it is regularly refreshed anyway.  Kids can be awfully meddlesome too, and will try many tricks to get around it for a giggle, so the more aggressive, the better.</p>
<p>But you can always tweak the match in the array, for instance making &#8220;word2&#8243; be &#8220;\bword2\b&#8221; to match to word boundaries rather than any time it sees word2 appear somewhere in whole or part.  </p>
<p>You could also add a flag into the script, something like:<br />
  $matchGreedy = TRUE;<br />
And based off that, include \b in the preg_match() function if it&#8217;s true, or not if false.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brett</title>
		<link>http://www.supersatellite.com/2007/12/06/creating-a-profanity-filter/comment-page-1/#comment-203</link>
		<dc:creator>Brett</dc:creator>
		<pubDate>Tue, 18 Dec 2007 17:03:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.supersatellite.com/2007/12/06/creating-a-profanity-filter/#comment-203</guid>
		<description>I don&#039;t care much for greedy matching. It often has unintended circumstances. For instance, I can&#039;t create a user under my preferred username (bbendick) on the community server blogging platform if they have obscenity filters enabled. Or for an international flavor, try creating the username &#039;larsen&#039;

Would it be better to proactively monitor the mini content in other ways and try to cleanse the source, rather than catching it on the display side? You have a nightly &quot;dirty words&quot; job (George Carlin 2.0) that notifies you of pages that say things you don&#039;t like, then you track down that content.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t care much for greedy matching. It often has unintended circumstances. For instance, I can&#8217;t create a user under my preferred username (bbendick) on the community server blogging platform if they have obscenity filters enabled. Or for an international flavor, try creating the username &#8216;larsen&#8217;</p>
<p>Would it be better to proactively monitor the mini content in other ways and try to cleanse the source, rather than catching it on the display side? You have a nightly &#8220;dirty words&#8221; job (George Carlin 2.0) that notifies you of pages that say things you don&#8217;t like, then you track down that content.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->