<?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: Removing Images in a WordPress Post (Revisited)</title>
	<atom:link href="http://chrisschuld.com/2009/04/removing-images-in-a-wordpress-post-revisited/feed/" rel="self" type="application/rss+xml" />
	<link>http://chrisschuld.com/2009/04/removing-images-in-a-wordpress-post-revisited/</link>
	<description>personal musings on the composition of software</description>
	<lastBuildDate>Mon, 06 Sep 2010 02:10:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Jay</title>
		<link>http://chrisschuld.com/2009/04/removing-images-in-a-wordpress-post-revisited/#comment-2527</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Sun, 15 Aug 2010 07:49:19 +0000</pubDate>
		<guid isPermaLink="false">http://chrisschuld.com/?p=230#comment-2527</guid>
		<description>Your blog converted my lt &amp; gt into actual brackets.  Comments should be converting ampersand characters into the appropriate HTML entity.</description>
		<content:encoded><![CDATA[<p>Your blog converted my lt &amp; gt into actual brackets.  Comments should be converting ampersand characters into the appropriate HTML entity.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://chrisschuld.com/2009/04/removing-images-in-a-wordpress-post-revisited/#comment-2526</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Sun, 15 Aug 2010 07:47:28 +0000</pubDate>
		<guid isPermaLink="false">http://chrisschuld.com/?p=230#comment-2526</guid>
		<description>The regular expression is off.

/&lt;img[^&gt;]+./ Will get rid of everything after an opening of an image tacg up until it hits something other than &amp; or g or t or ;.  The final dot is also useless and potentially dangerous since you can&#039;t presume it&#039;s a space.

The more appropriate regex would be:

/&lt;img.*?(&gt;)/

You should also make it case-independent and test it with multi-line image tags.

Appreciate your efforts but you may want to pick up a book on regular expressions.</description>
		<content:encoded><![CDATA[<p>The regular expression is off.</p>
<p>/&lt;img[^&gt;]+./ Will get rid of everything after an opening of an image tacg up until it hits something other than &amp; or g or t or ;.  The final dot is also useless and potentially dangerous since you can&#8217;t presume it&#8217;s a space.</p>
<p>The more appropriate regex would be:</p>
<p>/&lt;img.*?(&gt;)/</p>
<p>You should also make it case-independent and test it with multi-line image tags.</p>
<p>Appreciate your efforts but you may want to pick up a book on regular expressions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: daybreak</title>
		<link>http://chrisschuld.com/2009/04/removing-images-in-a-wordpress-post-revisited/#comment-2482</link>
		<dc:creator>daybreak</dc:creator>
		<pubDate>Wed, 11 Aug 2010 09:15:29 +0000</pubDate>
		<guid isPermaLink="false">http://chrisschuld.com/?p=230#comment-2482</guid>
		<description>great post chris, help me a lot :)</description>
		<content:encoded><![CDATA[<p>great post chris, help me a lot <img src='http://chrisschuld.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ndamaren</title>
		<link>http://chrisschuld.com/2009/04/removing-images-in-a-wordpress-post-revisited/#comment-2301</link>
		<dc:creator>ndamaren</dc:creator>
		<pubDate>Fri, 23 Jul 2010 16:02:39 +0000</pubDate>
		<guid isPermaLink="false">http://chrisschuld.com/?p=230#comment-2301</guid>
		<description>im just curious, this strips EVERYTHING and leaves behind and links to other content in the post, any way of working around this?  im trying to use Fast Tube plugin, and it just leaves the link, but doesnt publish the video?</description>
		<content:encoded><![CDATA[<p>im just curious, this strips EVERYTHING and leaves behind and links to other content in the post, any way of working around this?  im trying to use Fast Tube plugin, and it just leaves the link, but doesnt publish the video?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Schuld</title>
		<link>http://chrisschuld.com/2009/04/removing-images-in-a-wordpress-post-revisited/#comment-1602</link>
		<dc:creator>Chris Schuld</dc:creator>
		<pubDate>Fri, 02 Apr 2010 16:12:18 +0000</pubDate>
		<guid isPermaLink="false">http://chrisschuld.com/?p=230#comment-1602</guid>
		<description>Cozzy:

Fixed, thanks!</description>
		<content:encoded><![CDATA[<p>Cozzy:</p>
<p>Fixed, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cozzy</title>
		<link>http://chrisschuld.com/2009/04/removing-images-in-a-wordpress-post-revisited/#comment-1599</link>
		<dc:creator>Cozzy</dc:creator>
		<pubDate>Fri, 02 Apr 2010 10:00:41 +0000</pubDate>
		<guid isPermaLink="false">http://chrisschuld.com/?p=230#comment-1599</guid>
		<description>I can&#039;t see the code above, just the dots. Any chance of showing the code to do the updated version?</description>
		<content:encoded><![CDATA[<p>I can&#8217;t see the code above, just the dots. Any chance of showing the code to do the updated version?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://chrisschuld.com/2009/04/removing-images-in-a-wordpress-post-revisited/#comment-1511</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Mon, 01 Mar 2010 05:50:59 +0000</pubDate>
		<guid isPermaLink="false">http://chrisschuld.com/?p=230#comment-1511</guid>
		<description>where i must add the code?</description>
		<content:encoded><![CDATA[<p>where i must add the code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ejjan</title>
		<link>http://chrisschuld.com/2009/04/removing-images-in-a-wordpress-post-revisited/#comment-1305</link>
		<dc:creator>ejjan</dc:creator>
		<pubDate>Tue, 08 Dec 2009 22:17:25 +0000</pubDate>
		<guid isPermaLink="false">http://chrisschuld.com/?p=230#comment-1305</guid>
		<description>How can I have wordpress to generate html tags, like . Using this method I get &quot;plain&quot; text in the post.</description>
		<content:encoded><![CDATA[<p>How can I have wordpress to generate html tags, like . Using this method I get &#8220;plain&#8221; text in the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Removing Images from a WordPress Post &#124; Chris Schuld's Blog</title>
		<link>http://chrisschuld.com/2009/04/removing-images-in-a-wordpress-post-revisited/#comment-1198</link>
		<dc:creator>Removing Images from a WordPress Post &#124; Chris Schuld's Blog</dc:creator>
		<pubDate>Sat, 14 Nov 2009 21:02:13 +0000</pubDate>
		<guid isPermaLink="false">http://chrisschuld.com/?p=230#comment-1198</guid>
		<description>[...] make sure you check out the updated version of this solution. Also, view my solution for removing everything but the [...]</description>
		<content:encoded><![CDATA[<p>[...] make sure you check out the updated version of this solution. Also, view my solution for removing everything but the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tootapi</title>
		<link>http://chrisschuld.com/2009/04/removing-images-in-a-wordpress-post-revisited/#comment-865</link>
		<dc:creator>tootapi</dc:creator>
		<pubDate>Mon, 27 Jul 2009 07:59:15 +0000</pubDate>
		<guid isPermaLink="false">http://chrisschuld.com/?p=230#comment-865</guid>
		<description>yuo thats pretty good</description>
		<content:encoded><![CDATA[<p>yuo thats pretty good</p>
]]></content:encoded>
	</item>
</channel>
</rss>
