<?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>UnearthedMedia</title>
	<atom:link href="http://unearthedmedia.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://unearthedmedia.com</link>
	<description>Business &#38; Technology</description>
	<lastBuildDate>Thu, 04 Feb 2010 17:41:43 +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>Singleton Theory with javascript and prototype</title>
		<link>http://unearthedmedia.com/2010/02/02/singleton-theory-with-javascript-and-prototype/</link>
		<comments>http://unearthedmedia.com/2010/02/02/singleton-theory-with-javascript-and-prototype/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 14:42:22 +0000</pubDate>
		<dc:creator>Kevin Harris</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[prototypejs]]></category>
		<category><![CDATA[dispatch]]></category>
		<category><![CDATA[event]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[jscript]]></category>
		<category><![CDATA[listener]]></category>
		<category><![CDATA[prototype]]></category>
		<category><![CDATA[prototype javascript]]></category>
		<category><![CDATA[singleton theory]]></category>

		<guid isPermaLink="false">http://unearthedmedia.com/?p=101</guid>
		<description><![CDATA[I was searching for a way in javascript to handle classes dispatching events and listening for events. Generally javascript only has event methods for elements and not objects. Then I stumbbled onto http://www.truerwords.net where he has developed some event classes to mix-in to your own objects that give them the ability to listen and dispatch [...]]]></description>
			<content:encoded><![CDATA[<p>I was searching for a way in javascript to handle classes dispatching events and listening for events. Generally javascript only has event methods for elements and not objects. Then I stumbbled onto<span id="more-101"></span> <a href="http://www.truerwords.net/articles/web-tech/custom_events.html" target="_blank">http://www.truerwords.net</a> where he has developed some event classes to mix-in to your own objects that give them the ability to listen and dispatch events.  You must be using the <a title="prototype javascript library" href="http://www.prototypejs.org/" target="_blank">prototype javascript library</a> for these to work as that is what they were wrote with as well. Its pretty straight forward to use. Basically you include the event  js file  <code>&lt;script src="js/Events/event_mixins.js"&gt;&lt;/script&gt;</code> after this you will setup your classes as such</p>
<pre>
<pre class="brush: javascript">
var classObj= Class.create();

Object.extend(classObj.prototype, {

     events: [&#039;communicationTab&#039;, &#039;generalTab&#039;, &#039;scheduleTab&#039;, &#039;billingTab&#039;, &#039;financialAidTab&#039;, &#039;repositoryTab&#039;, &#039;sendEmail&#039;],//events fire from this class

     initialize: function() {
          //add listeners for this object
          this.listenForEvent( classListeningForEventFrom, &#039;loadData&#039;, true );
     },
      //this makes the class able to dispatch events
      onLoadData: function(evt) {}
});

//this makes the class able to listen for events Object.extend( classObj.prototype, , Event.Listener );
Object.extend( classObj.prototype, , Event.Publisher );
//To dispatch an event from this class its rather simple. All events that this class can dispatch should be set in your events array (more about this later).
this.dispatchEvent(&#039;sendEmail&#039;, {emailTo:me@here.com});
</pre>
<p>the second parameter in the dispatchEvent is data you want to pass to the receiving listener.  For a class to be a listener you must put the listenForEvent on the object. This does not have to be in the constructor but if the class is always listening for these events I would recommend putting it. By default the listener class will try to call a method in the listening class the same name as the event being listened for except it adds &#8220;on&#8221; to the event. So if you listening for the event &#8220;loadData&#8221; then your method in the class should be &#8220;onLoadData&#8221;  This is a fantastic approach to the issue with javascript and events. I don&#8217;t know why other libraries don&#8217;t incorporate something like this for their events. If you want to have a global listener so you don&#8217;t have to specify a specific class that your class is listening for I highly recommend looking at the Event Broker he has wrote.</p>
<p><br/><br/><script type="text/javascript"><!--
google_ad_client = "pub-9330786219612313";
/* post ads at bottom */
google_ad_slot = "4246337469";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://unearthedmedia.com/2010/02/02/singleton-theory-with-javascript-and-prototype/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>quick survey for class</title>
		<link>http://unearthedmedia.com/2010/02/01/quick-survey-for-class/</link>
		<comments>http://unearthedmedia.com/2010/02/01/quick-survey-for-class/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 01:07:09 +0000</pubDate>
		<dc:creator>Kevin Harris</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[survey]]></category>

		<guid isPermaLink="false">http://unearthedmedia.com/?p=151</guid>
		<description><![CDATA[I am conducting a quick survey to help with a project for a class I am currently taking. If you would help me out and answer these 5 questions I would greatly appreciate it. http://bit.ly/bwQIeA




]]></description>
			<content:encoded><![CDATA[<p>I am conducting a quick survey to help with a project for a class I am currently taking. If you would help me out and answer these 5 questions I would greatly appreciate it. <a href="http://bit.ly/bwQIeA" target="_blank">http://bit.ly/bwQIeA</a><br />
</p>
]]></content:encoded>
			<wfw:commentRss>http://unearthedmedia.com/2010/02/01/quick-survey-for-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Including external powershell scripts</title>
		<link>http://unearthedmedia.com/2009/07/02/powershell_include_external_script/</link>
		<comments>http://unearthedmedia.com/2009/07/02/powershell_include_external_script/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 03:01:29 +0000</pubDate>
		<dc:creator>Kevin Harris</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[absolute path]]></category>
		<category><![CDATA[external file]]></category>
		<category><![CDATA[include]]></category>
		<category><![CDATA[including]]></category>
		<category><![CDATA[powershell scripts]]></category>
		<category><![CDATA[ps1]]></category>
		<category><![CDATA[relative paths]]></category>

		<guid isPermaLink="false">http://unearthedmedia.com/?p=144</guid>
		<description><![CDATA[I struggled getting this to work for quite some time. All the posts I found online made it way confusing so I am going to try to clarify it here. You include external powershell files like so...]]></description>
			<content:encoded><![CDATA[<p>I struggled getting this to work for quite some time. All the posts I found online made it way confusing so I am going to try to clarify it here. You include external powershell files like so<span id="more-144"></span></p>
<p><code>.  C:\mydir\powershellfile.ps1</code></p>
<p>easy enough. The period in the front is like your include statement in other languages and YES there is a space between the period and the C:\. If your include file is in the same directory you can do a relative path like so</p>
<p><code>. .\powershellfile.ps1 (.&lt;space&gt;.\powershellfile.ps1)</code></p>
<p><strong>notice the space! </strong>This is where I got lost. There must be a space between these periods. Do not if you want to autorun your powershell file relative paths usually want work. In order to do this you must create a .bat file that will execute your powershell file. When the .bat file does this the powershellfile is executing from the .bat location, or at least that is what I come to determine. So in order to get around this and make my life of managing these scripts easier I created a variable to hold the absolute path as such</p>
<p><code>$this_path = C:\mydir<br />
. $this_path\powershellfile.ps1 #this includes the file with a absolute path</code></p>
<p>so far this is working great for me and should make it much easier if I ever need to move the script.<br />
</p>
]]></content:encoded>
			<wfw:commentRss>http://unearthedmedia.com/2009/07/02/powershell_include_external_script/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dreamweaver CS3 throwing Spry.htm errors</title>
		<link>http://unearthedmedia.com/2009/04/23/dreamweaver-cs3-throwing-spryhtm-errors/</link>
		<comments>http://unearthedmedia.com/2009/04/23/dreamweaver-cs3-throwing-spryhtm-errors/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 13:41:04 +0000</pubDate>
		<dc:creator>Kevin Harris</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[cached version]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[php mysql]]></category>
		<category><![CDATA[pop-up]]></category>
		<category><![CDATA[spry]]></category>

		<guid isPermaLink="false">http://unearthedmedia.com/?p=135</guid>
		<description><![CDATA[Had an error every time I opened a file I would get multiply pop-ups about an error with Spry.HTML, SpryWidget.htm, and PHP_MySQL.htm. What was really confusing me was that I never use Spry an dreamweaver. The pop-ups really started getting annoying since they showed several times while working on a file. I finally broke down and took [...]]]></description>
			<content:encoded><![CDATA[<p>Had an error every time I opened a file I would get multiply pop-ups about an error with Spry.HTML, SpryWidget.htm, and PHP_MySQL.htm. What was really confusing me was that I never use Spry an dreamweaver. The pop-ups really started getting annoying since they showed several times while working on a file. I finally broke down and took the time to see where the problem was and how to fix it. The fix was<span id="more-135"></span> pretty simple. Dreamweaver must create a cached version of the configuration for the each user on the machine. So go to </p>
<p>C:\Documents and Settings\&lt;your user name&gt;\Application Data\Adobe\Dreamweaver 9</p>
<p>Here you will see a Configuration folder. Rename the folder to something else just incase you may need it again and then restart dreamweaver. Dreamweaver will recreate the configuration folder in your users application folder and you should not receive the errors anymore.</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://unearthedmedia.com/2009/04/23/dreamweaver-cs3-throwing-spryhtm-errors/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Typo3 4.2.6 Setting up Indexed Search</title>
		<link>http://unearthedmedia.com/2009/04/21/typo3-426-setting-up-indexed-search/</link>
		<comments>http://unearthedmedia.com/2009/04/21/typo3-426-setting-up-indexed-search/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 15:09:51 +0000</pubDate>
		<dc:creator>Kevin Harris</dc:creator>
				<category><![CDATA[Typo3]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[indexed search]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://unearthedmedia.com/?p=130</guid>
		<description><![CDATA[I have been struggling for awhile now to get the indexed search to display results on the frontend. I had the catching working on the pages but no results where ever being displayed. All the documentation I found was dated and shows their being a starting point option to select when you add the plug-in [...]]]></description>
			<content:encoded><![CDATA[<p>I have been struggling for awhile now to get the indexed search to display results on the frontend. I had the catching working on the pages but no results where ever being displayed. All the documentation I found was dated and shows their being a starting point option to select when you add the plug-in to the content of a page. That was removed back in 2006 according to the change log of the module. Finally <span id="more-130"></span></p>
<p>I found the typo script that you need to set to tell the indexed search where to look for search results. It was pretty simple after I figured this out. Place this code in the setup on the template of the page that has the indexed search plug-in.</p>
<p>plugin.tx_indexedsearch.search.rootPidList = 73,27,15,14 #change the numbers to the ids of where to begin searches at</p>
<p>Also wanted to make a note that the search will not search through system folders that are below site pages. You will need to specify those in the list of ids if you have sub-pages in the folders that need to be searched.</p>
<div id="attachment_131" class="wp-caption aligncenter" style="width: 626px"><img class="size-full wp-image-131" title="indexedsearch_setup" src="http://unearthedmedia.com/wp-content/uploads/2009/04/indexedsearch_setup.gif" alt="Typo3 indexed search setup" width="616" height="54" /><p class="wp-caption-text">Typo3 indexed search setup</p></div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://unearthedmedia.com/2009/04/21/typo3-426-setting-up-indexed-search/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Another Phone Application store From Nokia, Ovi Store</title>
		<link>http://unearthedmedia.com/2009/02/16/another-phone-application-store-from-nokia-ovi-store/</link>
		<comments>http://unearthedmedia.com/2009/02/16/another-phone-application-store-from-nokia-ovi-store/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 16:10:46 +0000</pubDate>
		<dc:creator>Kevin Harris</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[phone]]></category>

		<guid isPermaLink="false">http://unearthedmedia.com/?p=125</guid>
		<description><![CDATA[Another phone app store. According to techcrunch.com Nokia is opening its own app store much like the iphone&#8217;s app store. Wonder where this is going to go. Seems like you can only have so many apps for a phone. A phone has such limited screen space and processor speed, but of coarse that will increase with [...]]]></description>
			<content:encoded><![CDATA[<p>Another phone app store. According to <a href="http://www.techcrunch.com/2009/02/16/nokia-unveils-ovi-store-application-sales-to-debut-in-may/" target="_blank">techcrunch.com</a> Nokia is opening its own app store much like the iphone&#8217;s app store. Wonder where this is going to go. Seems like you can only have so many apps for a phone. A phone has such limited screen space and processor speed, <span id="more-125"></span>but of coarse that will increase with time. I am waiting for phones to start having built in projectors so you can project your screen onto a surface and use it. Even better yet that screen could be a touch screen like a smart board. Now how awsome would that be!</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://unearthedmedia.com/2009/02/16/another-phone-application-store-from-nokia-ovi-store/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>King Pharmaceuticals To Lay Off 72</title>
		<link>http://unearthedmedia.com/2009/02/02/king-pharmaceuticals-layoff72/</link>
		<comments>http://unearthedmedia.com/2009/02/02/king-pharmaceuticals-layoff72/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 15:36:33 +0000</pubDate>
		<dc:creator>Kevin Harris</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[bristol]]></category>
		<category><![CDATA[King Pharmaceuticals]]></category>
		<category><![CDATA[Skelaxin]]></category>
		<category><![CDATA[tn]]></category>

		<guid isPermaLink="false">http://unearthedmedia.com/?p=97</guid>
		<description><![CDATA[According to http://www.tricities.com King Pharmaceuticals is going to layoff 72 works because its Skelaxin had two of its three patents invalidated by a judge. Unfortunatly this is Kings top selling drug. If they lose the third patent then other drug companies would be free to develop generic versions of the drug. The layoffs won&#8217;t happen until  sometime between March 31 [...]]]></description>
			<content:encoded><![CDATA[<p>According to <a href="http://www.tricities.com/tri/news/local/article/king_pharmaceuticals_to_lay_off_72/19637/">http://www.tricities.com</a> King Pharmaceuticals is going to layoff 72 works because its <a title="skelaxin drug" href="http://www.drugs.com/skelaxin.html" target="_blank">Skelaxin</a> had two of its three patents invalidated by a judge. Unfortunatly this is Kings top selling drug. If they lose the third patent then other drug companies would be free to develop generic versions of the drug. The layoffs won&#8217;t happen until  sometime between March 31 and April 13.</p>
<p>This is a strong employee in Bristol, TN and we all hope they get this straightened out and back onto the right track shortly.</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://unearthedmedia.com/2009/02/02/king-pharmaceuticals-layoff72/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Analog TV conversion postponed again</title>
		<link>http://unearthedmedia.com/2009/01/27/analog-tv-conversion-postponed-again/</link>
		<comments>http://unearthedmedia.com/2009/01/27/analog-tv-conversion-postponed-again/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 12:10:31 +0000</pubDate>
		<dc:creator>Kevin Harris</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[analog]]></category>
		<category><![CDATA[bob and tom]]></category>
		<category><![CDATA[digital]]></category>
		<category><![CDATA[tv]]></category>

		<guid isPermaLink="false">http://unearthedmedia.com/?p=93</guid>
		<description><![CDATA[Heard on Bob and Tom this morning that the legislation pasted last night that yet again has delayed the switch from analog tv signels to digital. The conversion is now set to take place on June 12, 2009&#8230;we will see.

]]></description>
			<content:encoded><![CDATA[<p>Heard on Bob and Tom this morning that the legislation pasted last night that yet again has delayed the switch from analog tv signels to digital. The conversion is now set to take place on June 12, 2009&#8230;we will see.</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://unearthedmedia.com/2009/01/27/analog-tv-conversion-postponed-again/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Circuit City Going Going Gone</title>
		<link>http://unearthedmedia.com/2009/01/26/circuit-city-going-going-gone/</link>
		<comments>http://unearthedmedia.com/2009/01/26/circuit-city-going-going-gone/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 17:14:06 +0000</pubDate>
		<dc:creator>Kevin Harris</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Business]]></category>

		<guid isPermaLink="false">http://unearthedmedia.com/?p=86</guid>
		<description><![CDATA[
While I was out this past weekend in Johnson City, TN I noticed one of those poor individuals that had to stand at the corner of an intersection holding a going out of business sign. The business was Circuit City and they were selling everything at 30% off. Thats ok but I want to see [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-full wp-image-87" title="circuitcityclosing" src="http://unearthedmedia.com/wp-content/uploads/2009/01/circuitcityclosing.gif" alt="circuitcityclosing" width="667" height="314" /></p>
<p>While I was out this past weekend in Johnson City, TN I noticed one of those poor individuals that had to stand at the corner of an intersection holding a going out of business sign. The business was Circuit City and they were selling everything at 30% off. Thats ok but I want to see something like 70% off then I might go into the store. I can&#8217;t help but wonder how bad this is going to hurt the best buy store across the street. We will see if it effects their sales for the month.</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://unearthedmedia.com/2009/01/26/circuit-city-going-going-gone/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Analog TV signal cut off to be post-poned</title>
		<link>http://unearthedmedia.com/2009/01/24/analog-tv-signal-cut-off-to-be-post-poned/</link>
		<comments>http://unearthedmedia.com/2009/01/24/analog-tv-signal-cut-off-to-be-post-poned/#comments</comments>
		<pubDate>Sat, 24 Jan 2009 14:51:40 +0000</pubDate>
		<dc:creator>Kevin Harris</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[analog]]></category>
		<category><![CDATA[digital]]></category>
		<category><![CDATA[February 17]]></category>
		<category><![CDATA[television]]></category>
		<category><![CDATA[tv]]></category>

		<guid isPermaLink="false">http://unearthedmedia.com/?p=81</guid>
		<description><![CDATA[We have all heard about the analog tv signal going to be turned off on February 17. According to The Washington Post the senate is trying to pass a bill that will delay this until June 12th. Are you kidding me? How complicated is this process. Are there people out their that are really that dumb? I [...]]]></description>
			<content:encoded><![CDATA[<p>We have all heard about the analog tv signal going to be turned off on February 17. According to <a title="Analog signal cut off post poned" href="http://www.washingtonpost.com/wp-dyn/content/article/2009/01/23/AR2009012303608.html" target="_blank">The Washington Post</a> the senate is trying to pass a bill that will delay this<span id="more-81"></span> until June 12th. Are you kidding me? How complicated is this process. Are there people out their that are really that dumb? I guess there are senior citizens that don&#8217;t understand the situation and what they must or if it will even effect them. My grandparents were that way. I had to get the digital converter boxes and hook them up for them. It is a good thing though. I was blown away by the signal from the converter box. I actually think it looks better than my cable television that I have currently.</p>
<p>I can see the concern with leaving the elderly without a contact to the world by turning off their television, but at the same time the people that haven&#8217;t done something to take care of the problem by this point aren&#8217;t going to do it until they are forced to do so. I say cut it off and when that happens then people will do the necessary upgrades. yeah they may be with out television for a couple of days maybe even a week but in all trueth it would probably be the best thing for them.  What are your thoughts on the situation?</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://unearthedmedia.com/2009/01/24/analog-tv-signal-cut-off-to-be-post-poned/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
