<!-- This is a Kaizou description file -->
<!-- Please visit http://www.kaizou.org to see how to use it -->
<kaizou xmlns="http://www.kaizou.org">
	<title xml:lang="en">Smurfify</title>
	<link>http://www.kaizou.org</link>
	<description xml:lang="en">This Kaizou file looks for smurfs in certain patterns, and changes them to "smurf". It is the (almost) exact translation into Kaizou format of a user javascript written by [James Edwards](http://www.sitepoint.com/article/beat-website-greasemonkey/2 "See James Article")</description>
	<target>
		<uri>http://docs.info.apple.com/article.html?artnum=61705</uri>
		<pattern>http://*</pattern>
	</target>
	<transform>
		<xpath>//text()</xpath>
		<actions>
			<regexp-data>
				<pattern>/((you|me|them|us) (to|into|past|over) the)[ ][a-z]+/gi</pattern>
				<substitution>$1 smurf</substitution>
			</regexp-data>
			<regexp-data>
				<pattern>/((if|when) the)[ ][a-z]+/gi</pattern>
				<substitution>$1 smurf</substitution>
			</regexp-data>
			<regexp-data>
				<pattern>/((and|or|but) a)[ ][a-z]+/gi</pattern>
				<substitution>$1 smurf</substitution>
			</regexp-data>
			<regexp-data>
				<pattern>/(a few)[ ][a-z]+/gi</pattern>
				<substitution>$1 smurf</substitution>
			</regexp-data>
			<regexp-data>
				<pattern>/(how to)[ ][a-z]+/gi</pattern>
				<substitution>$1 smurf</substitution>
			</regexp-data>
			<regexp-data>
				<pattern>/([s]?he (would|will))[ ][a-z]+/gi</pattern>
				<substitution>$1 smurf</substitution>
			</regexp-data>
		</actions>
	</transform>
</kaizou>
