<?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>nhaskins.com &#187; idea</title>
	<atom:link href="http://nhaskins.com/tag/idea/feed/" rel="self" type="application/rss+xml" />
	<link>http://nhaskins.com</link>
	<description>web development note book</description>
	<lastBuildDate>Mon, 06 Feb 2012 02:44:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>creating wordpress posts with a speadsheet</title>
		<link>http://nhaskins.com/post/creating-wordpress-posts-with-a-speadsheet/</link>
		<comments>http://nhaskins.com/post/creating-wordpress-posts-with-a-speadsheet/#comments</comments>
		<pubDate>Tue, 05 Oct 2010 02:23:12 +0000</pubDate>
		<dc:creator>Nathan Haskins</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[csv]]></category>
		<category><![CDATA[idea]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://nhaskins.com/post/creating-wordpress-posts-with-a-speadsheet/</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div id="attachment_884" class="wp-caption aligncenter" style="width: 642px"><a href="http://nhaskins.com/wp-content/uploads/2010/10/Screen-shot-2010-10-04-at-9.07.55-PM.png" rel="lightbox[885]"><img src="http://nhaskins.com/wp-content/uploads/2010/10/Screen-shot-2010-10-04-at-9.07.55-PM-1024x444.png" alt="" title="Screen shot 2010-10-04 at 9.07.55 PM" width="632" height="274" class="size-large wp-image-884" /></a><p class="wp-caption-text">it could be entered in spread sheet view, or generated as a file by php w/ mysql data</p></div>]]></content:encoded>
			<wfw:commentRss>http://nhaskins.com/post/creating-wordpress-posts-with-a-speadsheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>i how something so abstract looking beco&#8230;</title>
		<link>http://nhaskins.com/status/i-how-something-so-abstract-looking-beco/</link>
		<comments>http://nhaskins.com/status/i-how-something-so-abstract-looking-beco/#comments</comments>
		<pubDate>Mon, 04 Oct 2010 22:07:23 +0000</pubDate>
		<dc:creator>Nathan Haskins</dc:creator>
				<category><![CDATA[status]]></category>
		<category><![CDATA[cakeid]]></category>
		<category><![CDATA[idea]]></category>

		<guid isPermaLink="false">http://nhaskins.com/status/i-how-something-so-abstract-looking-beco/</guid>
		<description><![CDATA[i like how something so abstract looking becomes a presentation]]></description>
			<content:encoded><![CDATA[<p>i like how something so abstract looking becomes a presentation <a href="http://nhaskins.com/wp-content/uploads/2010/10/Screen-shot-2010-10-04-at-5.04.34-PM.png" rel="lightbox[883]"><img src="http://nhaskins.com/wp-content/uploads/2010/10/Screen-shot-2010-10-04-at-5.04.34-PM-1024x218.png" alt="" title="Screen shot 2010-10-04 at 5.04.34 PM" width="632" height="134" class="aligncenter size-large wp-image-882" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://nhaskins.com/status/i-how-something-so-abstract-looking-beco/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>float it, pin it, alpha fade it, windows&#8230;</title>
		<link>http://nhaskins.com/status/float-it-pin-it-alpha-fade-it-windows/</link>
		<comments>http://nhaskins.com/status/float-it-pin-it-alpha-fade-it-windows/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 02:44:54 +0000</pubDate>
		<dc:creator>Nathan Haskins</dc:creator>
				<category><![CDATA[status]]></category>
		<category><![CDATA[afloat]]></category>
		<category><![CDATA[idea]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://nhaskins.com/status/float-it-pin-it-alpha-fade-it-windows/</guid>
		<description><![CDATA[float it, pin it, alpha fade it, windows fun with Afloat http://infinite-labs.net/afloat/]]></description>
			<content:encoded><![CDATA[<p>float it, pin it, alpha fade it, windows fun with Afloat</p>
<p><a href="http://infinite-labs.net/afloat/" rel="nofollow">http://infinite-labs.net/afloat/</a></p>]]></content:encoded>
			<wfw:commentRss>http://nhaskins.com/status/float-it-pin-it-alpha-fade-it-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS on td and table elements is weird, i&#8230;</title>
		<link>http://nhaskins.com/status/css-on-td-and-table-elements-is-weird-i/</link>
		<comments>http://nhaskins.com/status/css-on-td-and-table-elements-is-weird-i/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 18:47:38 +0000</pubDate>
		<dc:creator>Nathan Haskins</dc:creator>
				<category><![CDATA[status]]></category>
		<category><![CDATA[idea]]></category>
		<category><![CDATA[table]]></category>

		<guid isPermaLink="false">http://nhaskins.com/status/css-on-td-and-table-elements-is-weird-i/</guid>
		<description><![CDATA[CSS on td and table elements is weird, it should be fixed in new versions]]></description>
			<content:encoded><![CDATA[<p>CSS on td and table elements is weird, it should be fixed in new versions</p>]]></content:encoded>
			<wfw:commentRss>http://nhaskins.com/status/css-on-td-and-table-elements-is-weird-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I just got owned by losing my global var&#8230;</title>
		<link>http://nhaskins.com/status/i-just-got-owned-by-losing-my-global-var/</link>
		<comments>http://nhaskins.com/status/i-just-got-owned-by-losing-my-global-var/#comments</comments>
		<pubDate>Wed, 19 May 2010 16:14:45 +0000</pubDate>
		<dc:creator>Nathan Haskins</dc:creator>
				<category><![CDATA[status]]></category>
		<category><![CDATA[idea]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://nhaskins.com/status/i-just-got-owned-by-losing-my-global-var/</guid>
		<description><![CDATA[I just got owned by losing my global varible scope when working with include files in php. Had to take a chunk of code out of includes, and put it into a higher level file to get the scope back. I need to learn a work around for this because i hate dealing with messy [...]]]></description>
			<content:encoded><![CDATA[<p>I just got owned by losing my global varible scope when working with include files in php.  Had to take a chunk of code out of includes, and put it into a higher level file to get the scope back.  I need to learn a work around for this because i hate dealing with messy code.</p>]]></content:encoded>
			<wfw:commentRss>http://nhaskins.com/status/i-just-got-owned-by-losing-my-global-var/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wish i could flush the router&#8217;s dns tab&#8230;</title>
		<link>http://nhaskins.com/status/wish-i-could-flush-the-routers-dns-tab/</link>
		<comments>http://nhaskins.com/status/wish-i-could-flush-the-routers-dns-tab/#comments</comments>
		<pubDate>Tue, 11 May 2010 21:47:39 +0000</pubDate>
		<dc:creator>Nathan Haskins</dc:creator>
				<category><![CDATA[status]]></category>
		<category><![CDATA[idea]]></category>

		<guid isPermaLink="false">http://nhaskins.com/status/wish-i-could-flush-the-routers-dns-tab/</guid>
		<description><![CDATA[wish i could flush the router&#8217;s dns table&#8230; tedious waiting..btw good time to mention that dscacheutil -flushcache Will flush the DNS records of your mac (os x). However, if your still stuck getting DNs information from the server or router&#8230; your kinda out of luck unless you can refresh that as well. Im without access [...]]]></description>
			<content:encoded><![CDATA[<p>wish i could flush the router&#8217;s dns table&#8230; tedious waiting..btw good time to mention that</p>
<pre><code>dscacheutil -flushcache</code></pre>
<p>Will flush the DNS records of your mac (os x).  However, if your still stuck getting DNs information from the server or router&#8230; your kinda out of luck unless you can refresh that as well.  Im without access to such things.</p>
<p>*you know i could also be dealing with a ISPs proxy DNS.  Maybe that has cached the entry and has not updated yet.</p>]]></content:encoded>
			<wfw:commentRss>http://nhaskins.com/status/wish-i-could-flush-the-routers-dns-tab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>D.R.Y. out those useful PHP scripts</title>
		<link>http://nhaskins.com/post/d-r-y-out-those-useful-php-scripts/</link>
		<comments>http://nhaskins.com/post/d-r-y-out-those-useful-php-scripts/#comments</comments>
		<pubDate>Tue, 11 May 2010 13:33:39 +0000</pubDate>
		<dc:creator>Nathan Haskins</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[idea]]></category>
		<category><![CDATA[include()]]></category>
		<category><![CDATA[open_dir()]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[scandir()]]></category>

		<guid isPermaLink="false">http://nhaskins.com/post/d-r-y-out-those-useful-php-scripts/</guid>
		<description><![CDATA[D.R.Y. &#8211; &#8216;Don&#8217;t repeat yourself&#8217; I have a few PHP scripts that come in handy on a lot of different sites. The issue I ran into was that if i needed to make an update to one of these useful scripts, I&#8217;d have to go find all instances of that script, and update them across [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.amazon.com/gp/product/020161622X/ref=pd_lpo_k2_dp_sr_1?pf_rd_p=486539851&amp;pf_rd_s=lpo-top-stripe-1&amp;pf_rd_t=201&amp;pf_rd_i=0974514012&amp;pf_rd_m=ATVPDKIKX0DER&amp;pf_rd_r=0ZHMBPHWDTM42C4BEBAN">D.R.Y. &#8211; &#8216;Don&#8217;t repeat yourself&#8217; </a></p>
<p>I have a few PHP scripts that come in handy on a lot of different sites.  The issue I ran into was that if i needed to make an update to one of these useful scripts, I&#8217;d have to go find all instances of that script, and update them across many domains.</p>
<p>There&#8217;s ways of doing this with ninja SED/grep styles.  But a better way may to be make a folder just below the domains directory, and include files from that directory as needed.</p>
<p>In the example below im stepping backwards from the public html directory into my scripts directory.</p>
<pre><code>include('../../../phpIncludes/test.php');</code></pre>
<p>Thats about the extent of it, and im sure this can be cleaned up a bit.  I was using the scandir() function to find my way to the proper path by echoing out the files of the current directory.</p>
<p>I was also reading open_dir() can cause issues with this technique, and if open_dir() is active it can php scripts from editing lower than the domains&#8217;s root.  open_dir() is a good safety net, but is also prevents some tricks and techniques that just need to happen. A good example is in WordPress sites (as of 2.9) the Media library will throw errors with open_dir() enabled.</p>]]></content:encoded>
			<wfw:commentRss>http://nhaskins.com/post/d-r-y-out-those-useful-php-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>http://fluidapp.com/ this app looks usef&#8230;</title>
		<link>http://nhaskins.com/status/httpfluidapp-com-this-app-looks-usef/</link>
		<comments>http://nhaskins.com/status/httpfluidapp-com-this-app-looks-usef/#comments</comments>
		<pubDate>Sat, 08 May 2010 21:53:17 +0000</pubDate>
		<dc:creator>Nathan Haskins</dc:creator>
				<category><![CDATA[status]]></category>
		<category><![CDATA[idea]]></category>

		<guid isPermaLink="false">http://nhaskins.com/status/httpfluidapp-com-this-app-looks-usef/</guid>
		<description><![CDATA[http://fluidapp.com/ this app looks useful but I don&#8217;t know for what quite yet&#8230;it create a native os x app from a web page that can be further customized.]]></description>
			<content:encoded><![CDATA[<p><a href="http://fluidapp.com/" rel="nofollow">http://fluidapp.com/</a> this app looks useful but I don&#8217;t know for what quite yet&#8230;it create a native os x app from a web page that can be further customized.</p>]]></content:encoded>
			<wfw:commentRss>http://nhaskins.com/status/httpfluidapp-com-this-app-looks-usef/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>speed vs finesse</title>
		<link>http://nhaskins.com/post/speed-vs-finesse/</link>
		<comments>http://nhaskins.com/post/speed-vs-finesse/#comments</comments>
		<pubDate>Fri, 07 May 2010 01:36:26 +0000</pubDate>
		<dc:creator>Nathan Haskins</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[idea]]></category>

		<guid isPermaLink="false">http://nhaskins.com/post/speed-vs-finesse/</guid>
		<description><![CDATA[Finesse is the diamond you get from compressing a workflow down as tight as possible, and polishing its execution to perfection.]]></description>
			<content:encoded><![CDATA[<p>Finesse is the diamond you get from compressing a workflow down as tight as possible, and polishing its execution to perfection.</p>]]></content:encoded>
			<wfw:commentRss>http://nhaskins.com/post/speed-vs-finesse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress name alias generator</title>
		<link>http://nhaskins.com/post/wordpress-name-alias-generator/</link>
		<comments>http://nhaskins.com/post/wordpress-name-alias-generator/#comments</comments>
		<pubDate>Thu, 06 May 2010 13:52:05 +0000</pubDate>
		<dc:creator>Nathan Haskins</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[idea]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://nhaskins.com/post/wordpress-name-alias-generator/</guid>
		<description><![CDATA[I have a bunch of variations on my name out there on the web&#8230; neight, nate, nathan, nathan haskins, neight401&#8230; etc. My blog posts google seems to love indexing but they only catch &#8216;nathan haskins&#8217; as a name. Im conducting an experiment, I&#8217;m going to have it randomly pick one of my aliases at runtime [...]]]></description>
			<content:encoded><![CDATA[<p>I have a bunch of variations on my name out there on the web&#8230; neight, nate, nathan, nathan haskins, neight401&#8230; etc.  My blog posts google seems to love indexing but they only catch &#8216;nathan haskins&#8217; as a name.  </p>
<p>Im conducting an experiment, I&#8217;m going to have it randomly pick one of my aliases at runtime and insert it as the author name, lets see if the search engines show me some love.  </p>
<p>using the p2 theme..</p>
<p><strong>entry.php</strong> (~ line 16)</p>
<pre><code>printf(
  '&lt;a href="%1$s" title="%2$s"&gt;'.randomName().'&lt;/a&gt;',
   get_author_posts_url( p2_get_author_id() ),
   sprintf( __( 'Posts by %s', 'p2' ), p2_get_author_name() ),
  get_the_author()
  );
</code></pre>
<p><strong>function.php</strong></p>
<pre><code>function randomName(){

    $myName = array('Nathan Haskins', 'Neight Haskins', 'Nathan A Haskins', 'Nate Haskins', 'nhaskins', 'neight401');
    $randValue = rand(0, count($myName)-1);
    $output = $myName[$randValue];
    return $output;
}

</code></pre>
<p>*sidenote if I use markup=&#8221;none&#8221; in the code tags, it will prevent the anchor tags from turing into links&#8230; nice</p>
<p><strong>Update: 5/9/10</strong><br />
-The experiment is working, and I&#8217;m quicking ranking as #1 most of my aliases now hah!  The variation of &#8216;nate haskins&#8217; is going to be difficult to get&#8230;</p>
<p><strong>Update 5/10/10</strong><br />
google search results</p>
<p>&#8216;neight401&#8242; &#8211; #1 result<br />
&#8216;nathan haskins &#8216; &#8211; #1 result<br />
&#8216;nhaskins&#8217; &#8211; #2 result&#8230; getting beat out by some dude commenting on a mac forum.<br />
&#8216;nate haskins &#8216;  &#8211; still not found on the first page<br />
&#8216;neight&#8217; &#8211; still not found on the first page</p>]]></content:encoded>
			<wfw:commentRss>http://nhaskins.com/post/wordpress-name-alias-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

