<?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>shorepound.net</title>
	<atom:link href="http://www.shorepound.net/wpblog/index.php?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.shorepound.net/wpblog</link>
	<description>Nathan A. Arnold: web app developer, husband, father, surfer, fisherman,  and Sous-Chef</description>
	<lastBuildDate>Mon, 27 Feb 2012 20:46:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Extract Alt Text from a web page using PHP</title>
		<link>http://www.shorepound.net/wpblog/?p=271</link>
		<comments>http://www.shorepound.net/wpblog/?p=271#comments</comments>
		<pubDate>Mon, 27 Feb 2012 20:44:56 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[web crawler]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[web spider]]></category>

		<guid isPermaLink="false">http://www.shorepound.net/wpblog/?p=271</guid>
		<description><![CDATA[I&#8217;ve been writing a custom web spider for Surflab the past week or two, and so far things have been very easy, thanks to PHP Simple HTML DOM Parser. I couldn&#8217;t figure out how to extract the alt text from an image until this afternoon. It was another one of those &#8216;It ended up being [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been writing a custom web spider for <a href="http://surflabhq.com" target="_blank">Surflab</a> the past week or two, and so far things have been very easy, thanks to <a href="http://simplehtmldom.sourceforge.net/index.htm" target="_blank">PHP Simple HTML DOM Parser</a>. I couldn&#8217;t figure out how to extract the alt text from an image until this afternoon. It was another one of those &#8216;It ended up being so simple it was hard&#8217; kind of scenarios. Anyways, let&#8217;s get to it.</p>
<pre>
<?php
include_once('simple_html_dom.php');
$html       = file_get_html('http://www.surflabhq.com');
$alt_text   = $html->find('img[alt]');

if(empty($alt_text)){
                echo "
<p class=crawl-results>
<div class=crawl-col-left>Alt Text:</div>
<div class=no-data>No Data</div>


";
              }
              else{
                echo "
<p class=crawl-results>
<div class=crawl-col-left>Alt Text:</div>
<div class=crawl-col-right id=alt-text>";
                $numOfItems = count($alt_text);
                $counter = 0;
                foreach($alt_text as $item){
                  $counter += 1;
                      if ($counter <> $numOfItems){
                          echo $item->alt.", ";
                     } else {
                          echo $item->alt;
                     }
                }
                echo "</div>


";
?>
</pre>
<p>Easy enough.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shorepound.net/wpblog/?feed=rss2&#038;p=271</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Latest and Greatest</title>
		<link>http://www.shorepound.net/wpblog/?p=263</link>
		<comments>http://www.shorepound.net/wpblog/?p=263#comments</comments>
		<pubDate>Wed, 16 Nov 2011 20:04:57 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Content Strategy]]></category>
		<category><![CDATA[Copywriting]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Google AdWords]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Internet Marketing]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Surf Lab]]></category>
		<category><![CDATA[Web Consulting]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.shorepound.net/wpblog/?p=263</guid>
		<description><![CDATA[We have finally launched our lastest and greatest product: Surf Lab recently and we couldn&#8217;t be happier with the results. Surf Lab is our latest venture into the internet, where we will use our skills to help businesses make more money by promoting their businesses on line the right way. You can get all of [...]]]></description>
			<content:encoded><![CDATA[<p>We have finally launched our lastest and greatest product: <a href="http://surflabhq.com">Surf Lab</a> recently and we couldn&#8217;t be happier with the results. Surf Lab is our latest venture into the internet, where we will use our skills to help businesses make more money by promoting their businesses on line <em>the right way</em>. You can get all of that information on the Surf Lab site, but here are the particulars about the build:</p>
<p>Designer: <a href="http://claykromberg.com/" target="_blank">Clay Kromberg</a><br />
Developer: That&#8217;s me!</p>
<p>The site was built using HTML5, CSS, CSS3, jQuery, Javascript, and some PHP here and there. It was one of the funnest builds I&#8217;ve had yet, and I can&#8217;t wait for another one.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shorepound.net/wpblog/?feed=rss2&#038;p=263</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE7 not respecting image size with Facebox</title>
		<link>http://www.shorepound.net/wpblog/?p=259</link>
		<comments>http://www.shorepound.net/wpblog/?p=259#comments</comments>
		<pubDate>Thu, 27 Oct 2011 19:38:18 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Facebox]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[width issues]]></category>

		<guid isPermaLink="false">http://www.shorepound.net/wpblog/?p=259</guid>
		<description><![CDATA[If you are trying to show an image in a facebox and it appears that the image is breaking outside of the facebox in IE7, well, technically it is. Edit the facebook.css that came with your version of facebox to relieve this issue. Specifically the .content class definition as follows: #facebox .content { display:table; width: [...]]]></description>
			<content:encoded><![CDATA[<p>If you are trying to show an image in a facebox and it appears that the image is breaking outside of the facebox in IE7, well, technically it is. Edit the facebook.css that came with your version of facebox to relieve this issue. Specifically the <code>.content</code> class definition as follows:</p>
<p><code><br />
#facebox .content {<br />
  display:table;<br />
  width: 370px;<br />
  padding: 10px;<br />
  background: #fff;<br />
  -webkit-border-radius:4px;<br />
  -moz-border-radius:4px;<br />
  border-radius:4px;<br />
}<br />
</code></p>
<p>Remove the width declaration and you&#8217;re all set.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shorepound.net/wpblog/?feed=rss2&#038;p=259</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debug VS 2003 .NET Apps in Windows 7</title>
		<link>http://www.shorepound.net/wpblog/?p=243</link>
		<comments>http://www.shorepound.net/wpblog/?p=243#comments</comments>
		<pubDate>Fri, 22 Jul 2011 15:23:52 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[Visual Studio 2003]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.shorepound.net/wpblog/?p=243</guid>
		<description><![CDATA[First off, follow the instructions on this outstanding blog post by Brian Booth. From here you should be able to at least start your project in VS 2003 without debugging. You will, however, get an error if you try to debug the project in VS 2003. That is, unless you right click the VS 2003 [...]]]></description>
			<content:encoded><![CDATA[<p>First off, follow the instructions on <a href="http://blogs.iis.net/brian-murphy-booth/archive/2007/03/09/how-to-setup-asp-net-v1-1-visual-studio-net-2003-projects-on-iis7-vista.aspx">this outstanding blog post</a> by Brian Booth. From here you should be able to at least start your project in VS 2003 without debugging. You will, however, get an error if you try to debug the project in VS 2003. That is, unless you right click the VS 2003 icon in Windows 7, and select &#8216;Run as Administrator&#8217;. You must, of course, be an administrator of your machine for this to work.</p>
<p>It only took me two days to get this up and running. Hopefully this post will help you to get up and running in a much shorter time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shorepound.net/wpblog/?feed=rss2&#038;p=243</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgraded</title>
		<link>http://www.shorepound.net/wpblog/?p=238</link>
		<comments>http://www.shorepound.net/wpblog/?p=238#comments</comments>
		<pubDate>Tue, 24 May 2011 20:04:31 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.shorepound.net/wpblog/?p=238</guid>
		<description><![CDATA[We&#8217;re now running WordPress 3.1.2. Yay for keeping up with technology.]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re now running WordPress 3.1.2.</p>
<p>Yay for keeping up with technology.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shorepound.net/wpblog/?feed=rss2&#038;p=238</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Surfing Family</title>
		<link>http://www.shorepound.net/wpblog/?p=235</link>
		<comments>http://www.shorepound.net/wpblog/?p=235#comments</comments>
		<pubDate>Mon, 02 May 2011 18:09:59 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Surfing]]></category>
		<category><![CDATA[family]]></category>

		<guid isPermaLink="false">http://www.shorepound.net/wpblog/?p=235</guid>
		<description><![CDATA[Saturday morning, Julia, Donovan and I loaded up our surfboards and headed to our beloved Hannah Park to catch a few waves before lunch. This was our first time that we all paddled out together, the three of us, and caught waves. It was an extremely proud moment for all of us. We&#8217;re all looking [...]]]></description>
			<content:encoded><![CDATA[<p>Saturday morning, Julia, Donovan and I loaded up our surfboards and headed to our beloved Hannah Park to catch a few waves before lunch. This was our first time that we all paddled out together, the three of us, and caught waves. It was an extremely proud moment for all of us. We&#8217;re all looking forward to surfing together for the rest of our lives. We are lucky to have surfing, and to have each other.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shorepound.net/wpblog/?feed=rss2&#038;p=235</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>reCaptcha not displaying in IE8 in your Rails app?</title>
		<link>http://www.shorepound.net/wpblog/?p=232</link>
		<comments>http://www.shorepound.net/wpblog/?p=232#comments</comments>
		<pubDate>Mon, 28 Mar 2011 18:51:58 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[IE8]]></category>
		<category><![CDATA[reCaptcha]]></category>
		<category><![CDATA[Ruby On Rails]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.shorepound.net/wpblog/?p=232</guid>
		<description><![CDATA[Recently we noticed that the reCaptcha on our sign up form for CityCliq.com was missing when viewing the site in IE8. After a bit of research, it became apparent that IE8 won&#8217;t display the reCaptcha if the page is being served up via SSL, and the reCaptcha being called is stored on a non secure [...]]]></description>
			<content:encoded><![CDATA[<p>Recently we noticed that the reCaptcha on our sign up form for CityCliq.com was missing when viewing the site in IE8. After a bit of research, it became apparent that IE8 won&#8217;t display the reCaptcha if the page is being served up via SSL, and the reCaptcha being called is stored on a non secure resource.</p>
<p>We easily fixed the issue by changing this line: </p>
<p><code>get_captcha(:options => {:theme => 'red', :tabindex => 5})</code></p>
<p>to read:</p>
<p><code>get_captcha(:options => {:theme => 'red', :tabindex => 5}, :ssl => true)</code></p>
<p>Done.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shorepound.net/wpblog/?feed=rss2&#038;p=232</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spring Rolls</title>
		<link>http://www.shorepound.net/wpblog/?p=230</link>
		<comments>http://www.shorepound.net/wpblog/?p=230#comments</comments>
		<pubDate>Tue, 22 Mar 2011 01:38:57 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://www.shorepound.net/wpblog/?p=230</guid>
		<description><![CDATA[Back in the saddle again.. OK here goes&#8230; Spring has finally returned to North Florida and our annual hibernation has officially ended. Fruits and herbs are thriving, dozens of bags of oak leaves have been raked, the wildlife is going bonkers, and we could not be happier. Big stuff on the way in 2011&#8230; Much [...]]]></description>
			<content:encoded><![CDATA[<p>Back in the saddle again.. OK here goes&#8230;</p>
<p>Spring has finally returned to North Florida and our annual hibernation has officially ended. Fruits and herbs are thriving, dozens of bags of oak leaves have been raked, the wildlife is going bonkers, and we could not be happier.</p>
<p>Big stuff on the way in 2011&#8230; Much Love &#8211; The Arnolds</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shorepound.net/wpblog/?feed=rss2&#038;p=230</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Notes From Lonely Man Ranch</title>
		<link>http://www.shorepound.net/wpblog/?p=227</link>
		<comments>http://www.shorepound.net/wpblog/?p=227#comments</comments>
		<pubDate>Thu, 30 Sep 2010 14:32:23 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[Hal Padgett]]></category>
		<category><![CDATA[Notes From Lonely Man Ranch]]></category>

		<guid isPermaLink="false">http://www.shorepound.net/wpblog/?p=227</guid>
		<description><![CDATA[A friend of ours got his first book published recently. As soon as the book was available, we purchased a copy for ourselves (which we can&#8217;t wait to have the author sign). Though my name is not mentioned in the book directly, there is a passage in the book that is undoubtedly speaking of yours [...]]]></description>
			<content:encoded><![CDATA[<p>A friend of ours got his first book published recently. As soon as the book was available, we purchased a copy for ourselves (which we can&#8217;t wait to have the author sign). Though my name is not mentioned in the book directly, there is a passage in the book that is undoubtedly speaking of yours truly. I won&#8217;t divulge what was said in the book (you&#8217;ll have to buy a copy and find out for yourself), but I will say that It is a great feeling to be immortalized in such a discreet way. It is humble and modest, while still delivering a strong sense of pride in one&#8217;s self. Enough rambling. Here&#8217;s an image of the new book:</p>
<p><img src="http://www.shorepound.net/stuff/fg_announce.jpg" alt="Notes From Lonelhy Man Ranch" /></p>
<p>You can purchase a copy (and I strongly urge you to do so) of the book <a href="http://www.amazon.com/Notes-Lonely-Man-Ranch-Padgett/dp/1905986262/ref=sr_1_1?s=books&#038;ie=UTF8&#038;qid=1285331726&#038;sr=1-1" target="_blank">here</a>.</p>
<p>Thanks, Hal. Keep up the excellent work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shorepound.net/wpblog/?feed=rss2&#038;p=227</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Important: ASP.NET Security Vulnerability</title>
		<link>http://www.shorepound.net/wpblog/?p=223</link>
		<comments>http://www.shorepound.net/wpblog/?p=223#comments</comments>
		<pubDate>Wed, 22 Sep 2010 19:21:58 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Security Vulnerability]]></category>

		<guid isPermaLink="false">http://www.shorepound.net/wpblog/?p=223</guid>
		<description><![CDATA[Scott Guthrie posted a blog a few days ago detailing a very important security vulnerability for ASP.NET applications (all versions). Read it here. Lucky for us, I had implemented the workaround mentioned in his blog post long before this vulnerability became public.]]></description>
			<content:encoded><![CDATA[<p>Scott Guthrie posted a blog a few days ago detailing a very important security vulnerability for ASP.NET applications (all versions). Read it <a href="http://weblogs.asp.net/scottgu/archive/2010/09/18/important-asp-net-security-vulnerability.aspx" target="_blank">here</a>.</p>
<p>Lucky for us, I had implemented the workaround mentioned in his blog post long before this vulnerability became public.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shorepound.net/wpblog/?feed=rss2&#038;p=223</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

