<?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 for SpencerDrager.com</title>
	<atom:link href="http://www.spencerdrager.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.spencerdrager.com</link>
	<description>Design, WordPress, Social Media</description>
	<lastBuildDate>Wed, 21 Jul 2010 14:15:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>Comment on 7 Tips For Form Validation: Striking a Balance by health insurance options</title>
		<link>http://www.spencerdrager.com/2010/02/10/7-tips-for-form-validation/comment-page-1/#comment-81</link>
		<dc:creator>health insurance options</dc:creator>
		<pubDate>Wed, 21 Jul 2010 14:15:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.spencerdrager.com/?p=624#comment-81</guid>
		<description>Thats lovely stuff you have written up on this blog. Been hunting for articles on this everywhere. Nice blog</description>
		<content:encoded><![CDATA[<p>Thats lovely stuff you have written up on this blog. Been hunting for articles on this everywhere. Nice blog</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on YetAnotherForm (YAF) Theming and Layout Customization by admin</title>
		<link>http://www.spencerdrager.com/2010/05/13/yetanotherform-yaf-themeing-and-layout-customization/comment-page-1/#comment-61</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 18 May 2010 00:59:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.spencerdrager.com/?p=748#comment-61</guid>
		<description>I didn&#039;t remove the moderators section. I checked it out... there is not a setting to hide it. Probably the easiest way to &quot;remove&quot; it would be to remove/hide links to it. Shouldn&#039;t be too involved.</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t remove the moderators section. I checked it out&#8230; there is not a setting to hide it. Probably the easiest way to &#8220;remove&#8221; it would be to remove/hide links to it. Shouldn&#8217;t be too involved.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on YetAnotherForm (YAF) Theming and Layout Customization by Edward</title>
		<link>http://www.spencerdrager.com/2010/05/13/yetanotherform-yaf-themeing-and-layout-customization/comment-page-1/#comment-59</link>
		<dc:creator>Edward</dc:creator>
		<pubDate>Sat, 15 May 2010 16:28:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.spencerdrager.com/?p=748#comment-59</guid>
		<description>Hi,

How did you removed the moderators section of the forum?  Is there a setting to hide that?

Thanks,

Edward</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>How did you removed the moderators section of the forum?  Is there a setting to hide that?</p>
<p>Thanks,</p>
<p>Edward</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Safely Letting Specific HTML Tags Through Sanitization in PHP by admin</title>
		<link>http://www.spencerdrager.com/2010/04/20/safely-letting-specific-html-tags-through-sanitization-in-php/comment-page-1/#comment-52</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 23 Apr 2010 00:27:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.spencerdrager.com/?p=720#comment-52</guid>
		<description>That&#039;s possible, Sean. Though you could also argue if you are using this for a forum or something similar, you would have &quot;key&quot; with the specific valid codes and buttons to insert those codes into the textarea. I will show how to do this in a follow-up post.
&lt;br /&gt;
Also, out of curiosity I did a speed test for variations of preg_replace and str_replace...
&lt;br /&gt;
100000 iterations, using 5 paragraphs input from lorem ipsum with 5 &#039;&lt;br&gt;&#039;s randomly about:&lt;br /&gt;
&lt;strong&gt;.306 seconds&lt;/strong&gt;
&lt;code&gt;$t=str_replace(&#039;&lt;br&gt;&#039;,&#039;&#039;&lt;br /&gt;&#039;,$input);&lt;/code&gt;
&lt;br /&gt;
&lt;strong&gt;.793 seconds&lt;/strong&gt;
&lt;code&gt;$t=preg_replace(&#039;/&lt;br&gt;/&#039;,&#039;&lt;br /&gt;&#039;,$input);&lt;/code&gt;
&lt;br /&gt;
&lt;strong&gt;.594 seconds&lt;/strong&gt;
&lt;code&gt;$t=str_replace(&#039;&lt;br&gt;&#039;,&#039;&lt;br /&gt;&#039;,$input);
$t=str_replace(&#039;&lt;br /&gt;&#039;,&#039;&lt;br /&gt;&#039;,$t);&lt;/code&gt;
&lt;br /&gt;
&lt;strong&gt;.852 seconds&lt;/strong&gt;
&lt;code&gt;$t=str_replace(&#039;&lt;br&gt;&#039;,&#039;&lt;br /&gt;&#039;,$input);
$t=str_replace(&#039;&lt;br /&gt;&#039;,&#039;&lt;br /&gt;&#039;,$t);
$t=str_replace(&#039;&lt;br/&gt;&#039;,&#039;&lt;br /&gt;&#039;,$t);&lt;/code&gt;
&lt;br /&gt;
&lt;strong&gt;.880 seconds&lt;/strong&gt;
&lt;code&gt;$t=preg_replace(&#039;/&lt;br(\s){0,1}(\/){0,1}&gt;/&#039;,&#039;&lt;br /&gt;&#039;,$input);&lt;/code&gt;
&lt;br /&gt;
The time is really microscopic, but making regex&#039;s aren&#039;t as easy as str_replaces.
&lt;br /&gt;
I will say preg_replace WORKS, but I like to avoid regex when something else simple works just as well.</description>
		<content:encoded><![CDATA[<p>That&#8217;s possible, Sean. Though you could also argue if you are using this for a forum or something similar, you would have &#8220;key&#8221; with the specific valid codes and buttons to insert those codes into the textarea. I will show how to do this in a follow-up post.<br />
<br />
Also, out of curiosity I did a speed test for variations of preg_replace and str_replace&#8230;<br />
<br />
100000 iterations, using 5 paragraphs input from lorem ipsum with 5 &#8216;&lt;br&gt;&#8217;s randomly about:<br />
<strong>.306 seconds</strong><br />
<code>$t=str_replace('&amp;lt;br&gt;',''&amp;lt;br /&amp;gt;',$input);</code><br />
<br />
<strong>.793 seconds</strong><br />
<code>$t=preg_replace('/&amp;lt;br&amp;gt;/','&amp;lt;br /&amp;gt;',$input);</code><br />
<br />
<strong>.594 seconds</strong><br />
<code>$t=str_replace('&amp;lt;br&amp;gt;','&amp;lt;br /&amp;gt;',$input);<br />
$t=str_replace('&amp;lt;br /&amp;gt;','&amp;lt;br /&amp;gt;',$t);</code><br />
<br />
<strong>.852 seconds</strong><br />
<code>$t=str_replace('&amp;lt;br&amp;gt;','&amp;lt;br /&amp;gt;',$input);<br />
$t=str_replace('&amp;lt;br /&amp;gt;','&amp;lt;br /&amp;gt;',$t);<br />
$t=str_replace('&amp;lt;br/&amp;gt;','&amp;lt;br /&amp;gt;',$t);</code><br />
<br />
<strong>.880 seconds</strong><br />
<code>$t=preg_replace('/&amp;lt;br(\s){0,1}(\/){0,1}&amp;gt;/','&amp;lt;br /&amp;gt;',$input);</code><br />
<br />
The time is really microscopic, but making regex&#8217;s aren&#8217;t as easy as str_replaces.<br />
<br />
I will say preg_replace WORKS, but I like to avoid regex when something else simple works just as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Safely Letting Specific HTML Tags Through Sanitization in PHP by SeanJA</title>
		<link>http://www.spencerdrager.com/2010/04/20/safely-letting-specific-html-tags-through-sanitization-in-php/comment-page-1/#comment-51</link>
		<dc:creator>SeanJA</dc:creator>
		<pubDate>Thu, 22 Apr 2010 23:43:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.spencerdrager.com/?p=720#comment-51</guid>
		<description>You might be better off using regex for the br and hr replace, a lot of people will close their tags properly and that will mess things up for you.</description>
		<content:encoded><![CDATA[<p>You might be better off using regex for the br and hr replace, a lot of people will close their tags properly and that will mess things up for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Modify a theme for a specific post or page in WordPress by Scrolling preview of new posts in WordPress with Easy Slider &#124; SpencerDrager.com</title>
		<link>http://www.spencerdrager.com/2010/02/04/per-page-or-post-modifications/comment-page-1/#comment-38</link>
		<dc:creator>Scrolling preview of new posts in WordPress with Easy Slider &#124; SpencerDrager.com</dc:creator>
		<pubDate>Fri, 05 Feb 2010 21:29:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.spencerdrager.com/?p=484#comment-38</guid>
		<description>[...] Update: Make your slider show on just certain pages or posts or categories, or whatever you want! Read how to do this with per-page or per-post theme modifications. [...]</description>
		<content:encoded><![CDATA[<p>[...] Update: Make your slider show on just certain pages or posts or categories, or whatever you want! Read how to do this with per-page or per-post theme modifications. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Easy Slider Test by Create a scrolling preview of your latest posts in WordPress with Easy Slider &#124; SpencerDrager.com</title>
		<link>http://www.spencerdrager.com/blog/easy-slider-test-1/comment-page-1/#comment-34</link>
		<dc:creator>Create a scrolling preview of your latest posts in WordPress with Easy Slider &#124; SpencerDrager.com</dc:creator>
		<pubDate>Thu, 04 Feb 2010 19:41:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.spencerdrager.com/?page_id=468#comment-34</guid>
		<description>[...] to install this, check out some demos and see what this is capable of: WordPress + EasySlider Demos Local Demo External [...]</description>
		<content:encoded><![CDATA[<p>[...] to install this, check out some demos and see what this is capable of: WordPress + EasySlider Demos Local Demo External [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
