<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>SilentGap</title><link>http://www.silentgap.com</link><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/SilentGap" /><description>tj's playground</description><language>en</language><lastBuildDate>Wed, 27 Jan 2010 14:27:47 PST</lastBuildDate><generator>http://wordpress.org/?v=2.9.1</generator><sy:updatePeriod xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">hourly</sy:updatePeriod><sy:updateFrequency xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">1</sy:updateFrequency><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/SilentGap" /><feedburner:info uri="silentgap" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><feedburner:emailServiceId>SilentGap</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item><title>Copying a file from a remote *nix computer to my local machine</title><link>http://feedproxy.google.com/~r/SilentGap/~3/TIH4OnZ2GlM/</link><category>Code</category><category>Web Development</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim of SilentGap</dc:creator><pubDate>Wed, 27 Jan 2010 14:25:37 PST</pubDate><guid isPermaLink="false">http://www.silentgap.com/?p=739</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Secure File Copy or &#8220;scp&#8221; is one of those handy tool&#8217;s I use from time to time when ssh&#8217;d into another server or computer. It&#8217;s also one of those I don&#8217;t use enough to remember and always have to look up. So, I figured I might as well put it out there in a location I know I can remember (besides Google).</p>
<p>Ok, so on my &#8220;terminal&#8221; window (I&#8217;m on a mac, but pretty sure it&#8217;s the same for any other *nix machine, with maybe just a few variances in syntax), I type the following:</p>
<p><span id="more-739"></span></p>
<pre>scp username@remote.server.net:archives/somefile_012710.tar.bz2 ~/Desktop/</pre>
<p>Also, I&#8217;ve never tried it yet, but supposedly, if I ssh into the remote server with the -A flag (??? correct me if I&#8217;m wrong, please), it will copy my private secure key on my machine into my session. This would be useful, so that if i want to skip my local machine &#038; copy a file directly to a second remote server, it would let me.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SilentGap?a=TIH4OnZ2GlM:DKCCV9AiRNI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SilentGap?d=yIl2AUoC8zA" border="0"></img></a>
</div>]]></content:encoded><description>Secure File Copy or &amp;#8220;scp&amp;#8221; is one of those handy tool&amp;#8217;s I use from time to time when ssh&amp;#8217;d into another server or computer. It&amp;#8217;s also one of those I don&amp;#8217;t use enough to remember and always have to look up. So, I figured I might as well put it out there in a location [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.silentgap.com/development/2010/copying-a-file-from-a-remote-nix-computer-to-my-local-machine/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><feedburner:origLink>http://www.silentgap.com/development/2010/copying-a-file-from-a-remote-nix-computer-to-my-local-machine/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=copying-a-file-from-a-remote-nix-computer-to-my-local-machine</feedburner:origLink></item><item><title>Listing out Database Table Names</title><link>http://feedproxy.google.com/~r/SilentGap/~3/ImgKj1OLTfU/</link><category>Code</category><category>Web Development</category><category>WordPress</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim of SilentGap</dc:creator><pubDate>Mon, 28 Dec 2009 13:01:20 PST</pubDate><guid isPermaLink="false">http://www.silentgap.com/?p=732</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Ok, for WordPress &amp; WPMU, let me preface this post with saying standard WordPress tables can be found by using the $wpdb object (paste the below code and you might be surprised on what&#8217;s available to you).</p>
<pre>echo "&lt;pre&gt;"; print_r($wpdb); echo "&lt;/pre&gt;";</pre>
<p>But, let&#8217;s say the plugin you&#8217;re working with in WordPress isn&#8217;t in the $wpdb object &amp; you still need to grab a list of non-standard tables, I&#8217;ve been using the below code to grab the information I need.<span id="more-732"></span></p>
<pre>class BlogTables {
	function selectNames() {
		global $wpdb;

		$prefix	        = "qdf_"; // other non $table_prefix prefixes
		$sql		= "SHOW TABLES LIKE '".$prefix."%'";
		$avail_tables 	= $wpdb-&gt;get_results($sql);

		foreach ($avail_tables as $tables) {
			foreach($tables as $key =&gt; $table){
				$blog_tables[] = $table;
			}
		}
		return $blog_tables;
	}
}
</pre>
<p>You can grab the dirty output from the above code with</p>
<pre>$tables_avail = new BlogTables;
$tables_avail-&gt;selectNames();
</pre>
<p>From there, you should be able to use it for whatever it is you need to use it for. If you have a better way of doing things, I&#8217;d be interested in knowing.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SilentGap?a=ImgKj1OLTfU:LFVmvKnGPS4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SilentGap?d=yIl2AUoC8zA" border="0"></img></a>
</div>]]></content:encoded><description>Ok, for WordPress &amp;#38; WPMU, let me preface this post with saying standard WordPress tables can be found by using the $wpdb object (paste the below code and you might be surprised on what&amp;#8217;s available to you).
echo "&amp;#60;pre&amp;#62;"; print_r($wpdb); echo "&amp;#60;/pre&amp;#62;";
But, let&amp;#8217;s say the plugin you&amp;#8217;re working with in WordPress isn&amp;#8217;t in the $wpdb object [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.silentgap.com/development/2009/listing-out-database-table-names/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><feedburner:origLink>http://www.silentgap.com/development/2009/listing-out-database-table-names/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=listing-out-database-table-names</feedburner:origLink></item><item><title>Plugin: WP-CMS Post Control</title><link>http://feedproxy.google.com/~r/SilentGap/~3/3K4i76i5ipo/</link><category>Plugins</category><category>Web Development</category><category>WordPress</category><category>Pages</category><category>Posts</category><category>WordPress Settings</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim of SilentGap</dc:creator><pubDate>Mon, 21 Dec 2009 11:22:40 PST</pubDate><guid isPermaLink="false">http://www.silentgap.com/?p=713</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>One plugin that comes in real handy for a lot of the campaigns we work on is called <a title="WP-CMS Post Control" href="http://wordpress.org/extend/plugins/wp-cms-post-control/" target="_blank">WP-CMS Post Control</a>. It&#8217;s not a power house plugin that changes a core functionality of WordPress, but one that makes working with WordPress defaults a little less annoying.</p>
<p>For us, the two most common settings we change are found right under the General Settings sub-heading; uploader type and post/page autosave. For many of you that work with WordPress day in &amp; day out, you can imagine how handy this may be, but for others who don&#8217;t know, I&#8217;ll explain a little further.<span id="more-713"></span></p>
<p><img class="size-full wp-image-716 alignnone" title="WP-CMS Post Control Settings Page" src="http://www.silentgap.com/wp-content/uploads/2009/12/wpcms_post_control.jpg" alt="WP-CMS Post Control Settings Page" width="472" height="157" /></p>
<p>The first one, Uploader type, will allow you to change from a flash uploader (for items such as images, pdf&#8217;s, etc) to the default browser uploader. Now, for many, this would actually be a step backwards, but in our case, where our server config is just specialized enough so that the flash uploader doesn&#8217;t work correctly, it&#8217;s a very nice feature. One that&#8217;s solved a lot of headaches for us &amp; has simplified image uploading.</p>
<p>The second one, Post/Page autosave, is also a very handy feature. Often times, when working with multiple authors, editors and admins (esp. in WordPress MU systems), users will click on the wrong post, but stay on the edit page/post page long enough for the autosave to engage. This causes a red banner across the top of the page to alert the next user that they&#8217;re working in an auto-save version &amp; often times results in a post/page version conflict, often times being escalated to a top level admin to resolve (meaning me).</p>
<p>Now, both of these cases come in handy for our situation, but isn&#8217;t necessarily for every one or every development shop.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SilentGap?a=3K4i76i5ipo:1acmFX4Aft8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SilentGap?d=yIl2AUoC8zA" border="0"></img></a>
</div>]]></content:encoded><description>One plugin that comes in real handy for a lot of the campaigns we work on is called WP-CMS Post Control. It&amp;#8217;s not a power house plugin that changes a core functionality of WordPress, but one that makes working with WordPress defaults a little less annoying.
For us, the two most common settings we change are [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.silentgap.com/development/2009/plugin-wp-cms-post-control/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><feedburner:origLink>http://www.silentgap.com/development/2009/plugin-wp-cms-post-control/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=plugin-wp-cms-post-control</feedburner:origLink></item><item><title>Enabling, Disabling the WordPress debug setting</title><link>http://feedproxy.google.com/~r/SilentGap/~3/RizKMiO1PWs/</link><category>SilentGap</category><category>Web Development</category><category>Debug</category><category>Disable Debugging</category><category>Enable Debugging</category><category>PHP Error's</category><category>Turn on php error debugging</category><category>WordPress</category><category>WordPress MU</category><category>WordPress PHP Error</category><category>wp-config.php</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim of SilentGap</dc:creator><pubDate>Fri, 18 Dec 2009 07:49:38 PST</pubDate><guid isPermaLink="false">http://www.silentgap.com/?p=677</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>This is a handy feature that took a little while to figure out, but&#8217;s nice when WordPress is throwing you a blank page and you can&#8217;t figure out why.</p>
<p>To enable WordPress debugging on either MU or the standard version open up the wp-config.php file.<span id="more-677"></span></p>
<p>Add the code around line 100 (actually, this part doesn&#8217;t matter, but just a suggestion to keep wp-config.php organized):</p>
<pre>// Turn Debugging On
define('WP_DEBUG',true);</pre>
<p>To turn off debugging, just comment out the define line or change it to false (should work, never tried changing it to false yet).</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Keywords: WordPress, WordPress MU, Enable Debugging, Disable Debugging, Debug, WordPress PHP Error, PHP Error&#8217;s, PHP Errors, Turn on php error debugging</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SilentGap?a=RizKMiO1PWs:HKyR3gxz4NA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SilentGap?d=yIl2AUoC8zA" border="0"></img></a>
</div>]]></content:encoded><description>This is a handy feature that took a little while to figure out, but&amp;#8217;s nice when WordPress is throwing you a blank page and you can&amp;#8217;t figure out why.
To enable WordPress debugging on either MU or the standard version open up the wp-config.php file.
Add the code around line 100 (actually, this part doesn&amp;#8217;t matter, but [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.silentgap.com/silentgap/2009/enabling-disabling-the-wordpress-debug-setting/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><feedburner:origLink>http://www.silentgap.com/silentgap/2009/enabling-disabling-the-wordpress-debug-setting/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=enabling-disabling-the-wordpress-debug-setting</feedburner:origLink></item><item><title>Renewable Power Source: Windmill</title><link>http://feedproxy.google.com/~r/SilentGap/~3/4vx8YuI1QXw/</link><category>SilentGap</category><category>Technology</category><category>experiment</category><category>The Life of Tim</category><category>video</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim of SilentGap</dc:creator><pubDate>Wed, 24 Jun 2009 04:54:56 PDT</pubDate><guid isPermaLink="false">http://www.silentgap.com/?p=588</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Ok, as you may know, I&#8217;ve been really interested in my shed project this year. One thing that&#8217;s been on my mind (well, at least I&#8217;ve been thinking about it) is electricity, more specifically, how do I get electricity out to my shed. I do have a 220 outlet already routed outside from an old hot tub (<a title="In the Hot Tub - SNL" href="http://www.youtube.com/watch?v=Jdjv5ZwQcdQ" target="_blank">cue SNL&#8217;s hot tub skit &#8211; classic</a>), installed by the previous owner. But where&#8217;s the fun in that, for me that involves more digging, which isn&#8217;t exactly what I would call a good time.</p>
<p><span id="more-588"></span></p>
<p>So, then I was thinking, why not just build my own windmill to charge a few batteries and power my lights off of that. The pro&#8217;s &#8211; the wind is free and it should give me enough to power a couple lights. The con&#8217;s &#8211; the cost in buying the batteries &amp; the generator (which I&#8217;m going to have to part with no matter what &#8211; the generator that is).</p>
<p>Then I saw a cool episode on Make (http://makezine.tv) on how they built a windmill. Pretty impressive if you ask me, especially given the fact that a 20 mph wind should be able to generate enough electricity for me to charge a nice pair of batteries &#8211; Video below</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/1vnyYWV78zk&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/1vnyYWV78zk&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SilentGap?a=4vx8YuI1QXw:D6s8kSKrang:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SilentGap?d=yIl2AUoC8zA" border="0"></img></a>
</div>]]></content:encoded><description>Ok, as you may know, I&amp;#8217;ve been really interested in my shed project this year. One thing that&amp;#8217;s been on my mind (well, at least I&amp;#8217;ve been thinking about it) is electricity, more specifically, how do I get electricity out to my shed. I do have a 220 outlet already routed outside from an old [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.silentgap.com/silentgap/2009/renewable-power-source-windmill/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">1</slash:comments><feedburner:origLink>http://www.silentgap.com/silentgap/2009/renewable-power-source-windmill/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=renewable-power-source-windmill</feedburner:origLink></item><item><title>Mustache</title><link>http://feedproxy.google.com/~r/SilentGap/~3/Wpxr_6xjE2U/</link><category>SilentGap</category><category>Facial Hair</category><category>The Life of Tim</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim of SilentGap</dc:creator><pubDate>Fri, 19 Jun 2009 07:42:54 PDT</pubDate><guid isPermaLink="false">http://www.silentgap.com/?p=575</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Ok, my brother (supplier (for coffee, that is)(twitter user @todewitt)) stopped by work and dropped off, from a vending machine, a fake mustache (SaWeeeet!!!!). So, it&#8217;s friday at work and I decided that it would be a good day to sport it around the office. Here are a few pic&#8217;s of activities i participated in &#8211; but with the mustache!!!<br />
<span id="more-575"></span> <img class="alignnone size-full wp-image-578" title="Photo 71" src="http://www.silentgap.com/wp-content/uploads/2009/06/Photo-711.jpg" alt="Photo 71" width="512" height="384" /><br />
The shear excitement of having a full mustache &#8211; although it kinda looks like a blond Hitler stach &#8211; oh well. (Note: Nate in the back, totally awestruck and jealous about my new mustache)</p>
<p><img class="alignnone size-full wp-image-579" title="Photo 75" src="http://www.silentgap.com/wp-content/uploads/2009/06/Photo-75.jpg" alt="Photo 75" width="512" height="384" /><br />
My mustache tickling my nose (Note: Nate in the back, looking on ebay where he can get his own fake mustache)</p>
<p><img class="alignnone size-full wp-image-577" title="Photo 74" src="http://www.silentgap.com/wp-content/uploads/2009/06/Photo-74.jpg" alt="Photo 74" width="512" height="384" /><br />
Me, drinking coffee, with my new fake mustache in my Rush Limbaugh mug &#8211; speaking of which, Jimmy Fallon did an awesome Rush Limbaugh karaoke the other night -http://www.latenightwithjimmyfallon.com/blogs/2009/06/rush-limbaugh-karaoke/</p>
<p><img class="alignnone size-full wp-image-586" title="Photo 79" src="http://www.silentgap.com/wp-content/uploads/2009/06/Photo-79.jpg" alt="Photo 79" width="512" height="384" /><br />
On a confrence call w/ a client in San Francisco</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SilentGap?a=Wpxr_6xjE2U:Bw02jf_IFHQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SilentGap?d=yIl2AUoC8zA" border="0"></img></a>
</div>]]></content:encoded><description>Ok, my brother (supplier (for coffee, that is)(twitter user @todewitt)) stopped by work and dropped off, from a vending machine, a fake mustache (SaWeeeet!!!!). So, it&amp;#8217;s friday at work and I decided that it would be a good day to sport it around the office. Here are a few pic&amp;#8217;s of activities i participated in [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.silentgap.com/silentgap/2009/mustache/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">5</slash:comments><feedburner:origLink>http://www.silentgap.com/silentgap/2009/mustache/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=mustache</feedburner:origLink></item><item><title>Whaaaatt, that made it through QA ?!?!?!?!?!?!</title><link>http://feedproxy.google.com/~r/SilentGap/~3/5RdwZGA5gxo/</link><category>SilentGap</category><category>Web Development</category><category>client</category><category>css</category><category>life cycle</category><category>QA</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim of SilentGap</dc:creator><pubDate>Thu, 07 May 2009 00:47:45 PDT</pubDate><guid isPermaLink="false">http://www.silentgap.com/?p=553</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>This last month has seemed to be themed &#8220;Whaaaatt, that made it through QA?!?!?!?!&#8221; And by QA I mean Quality Assurance. Currently at work, I&#8217;m writing up a bunch of verbal QA scripts, later to be ran through either by a QA tester and/or handled automatically through some scripts.<span id="more-553"></span></p>
<p>As much as it hasn&#8217;t been fun to go through this process, it has taught me the importance of making sure all your &#8220;T&#8217;s&#8221; are crossed and &#8220;i&#8217;s&#8221; are dotted. I&#8217;ve heard from multiple developers at various firms that say &#8220;Develop in Firefox, and when the site is completed, debug your IE(6)&#8221;. The problem is, as true as that is for CSS and formatting your site, it&#8217;s becoming increasingly difficult (and will continue to be as the web develops and IE6 stays the same) to hold that philosophy when it comes to functionality (and I believe a lot of the developers that made that statement would or will start to agree in the next few years, if not already).</p>
<p>What we&#8217;re finding as an overall trend is that a lot of data is being pulled through the web through client side scripting, as opposed to server side. While libraries like jquery and mootools have done a tremendous job at making IE6 (Internet Explorer 6) work, I still find a lot of quirky things I have to work around in development. And although, most of it still comes back to CSS preferences, I still waste a tremendous amount of time at the end of the project going through and trying to figure out why IE6 doesn&#8217;t like a particular div, span or more recently &lt;body&gt; tag (dealing w/ graybox &#8211; which could be it&#8217;s own post in bashing how they decided to structure their iframes), than I would had I just debugged IE along the way.</p>
<p>The other benifit would be as a particular site enters into our clients QA process and the client is chomping at the bit to get their hands on the site, we&#8217;ve had and have taken time to make sure IE (and really, all the major browsers) have going through multipule QA tests, over a period of time. The payoff is that if you&#8217;ve only been given 10 days for developement, by doing QA along the way, you also have 10 days of QA. Now we can&#8217;t really fit 20 days of work into 10 days (although at Blend we seem to do this on a regular basis), but knowing when and how a particular issue arrose is extremely valuable when it comes to debugging, esp when it comes to IE (which doesn&#8217;t have firebug (it does have a development tool bar, but I find many times it is less helpful than just adding a 1px solid red border to the &lt;div&gt;&#8217;s of a particular section I&#8217;m working on.</p>
<p>All in all, QA is and has been knocking on my door, and I cannot strees how important it is for those developers out there to go through some sort of QA process. It&#8217;s ok to do your QA at the end (and I still recommend for some projects, esp larger, longer deadline ones), but if you&#8217;re in the type of business where your deadline typically doesn&#8217;t allow for the nessesary QA time, doing QA all throughout the development life cycle may prove benifical to you.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SilentGap?a=5RdwZGA5gxo:LSHMR53Wv20:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SilentGap?d=yIl2AUoC8zA" border="0"></img></a>
</div>]]></content:encoded><description>This last month has seemed to be themed &amp;#8220;Whaaaatt, that made it through QA?!?!?!?!&amp;#8221; And by QA I mean Quality Assurance. Currently at work, I&amp;#8217;m writing up a bunch of verbal QA scripts, later to be ran through either by a QA tester and/or handled automatically through some scripts.
As much as it hasn&amp;#8217;t been fun [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.silentgap.com/silentgap/2009/whaaaatt-that-made-it-through-qa/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">1</slash:comments><feedburner:origLink>http://www.silentgap.com/silentgap/2009/whaaaatt-that-made-it-through-qa/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=whaaaatt-that-made-it-through-qa</feedburner:origLink></item><item><title>Changing your WordPress feed to show 2 (two) or more categories</title><link>http://feedproxy.google.com/~r/SilentGap/~3/BzOUV_ysZ50/</link><category>Technology</category><category>Web Development</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim of SilentGap</dc:creator><pubDate>Tue, 14 Apr 2009 09:52:21 PDT</pubDate><guid isPermaLink="false">http://www.silentgap.com/?p=540</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Ok, I&#8217;ve run into this problem a few times and keep forgetting what the solution is, so here&#8217;s a good reference post for myself and the rest of you wondering.</p>
<p>Let&#8217;s say you have in your WordPress install 5 or more categories, but to the general public, there&#8217;s only two categories you want to show (such as the case with http://www.midmarketinnovators.com/). In this blog there&#8217;s multipule categories, some of them for a public post / Q&amp;A section and the other for the author blog posts and still, some more for the sidebar featured products section. Well, to the general public, they don&#8217;t need to see the Featured Products or the Q&amp;A section in the general feed, but rather just the blog posts, from the various authors partisipating. So let&#8217;s say they post to the category ID&#8217;s 22 &amp; 23, well in your link tag in the header place the following tag.</p>
<pre>&lt;link rel="alternate" type="application/rss+xml"</pre>
<pre>title="&lt;?php bloginfo('name'); ?&gt; RSS Feed"</pre>
<pre>href="&lt;?php bloginfo('rss2_url'); ?&gt;?cat=22,23" /&gt;</pre>
<p>Which outputs in html as</p>
<pre>&lt;link rel="alternate" type="application/rss+xml"</pre>
<pre>title="Mid Market Innovators RSS Feed"</pre>
<pre>href="http://www.midmarketinnovators.com/feed/?cat=22,23" /&gt;</pre>
<p>In the case of Mid Market Innovators, the feed was placed into a feedburner plugin, which redirects the http://www.midmarketinnovators.com/feed to the feedburner link. But, this should still work if you&#8217;re not using feedburner. If you run into any troubles, post a comment.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SilentGap?a=BzOUV_ysZ50:My7b9LWHNEk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SilentGap?d=yIl2AUoC8zA" border="0"></img></a>
</div>]]></content:encoded><description>Ok, I&amp;#8217;ve run into this problem a few times and keep forgetting what the solution is, so here&amp;#8217;s a good reference post for myself and the rest of you wondering.
Let&amp;#8217;s say you have in your WordPress install 5 or more categories, but to the general public, there&amp;#8217;s only two categories you want to show (such [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.silentgap.com/development/2009/changing-your-wordpress-feed-to-show-2-two-or-more-categories/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><feedburner:origLink>http://www.silentgap.com/development/2009/changing-your-wordpress-feed-to-show-2-two-or-more-categories/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=changing-your-wordpress-feed-to-show-2-two-or-more-categories</feedburner:origLink></item><item><title>Display only One Single View Post in WordPress</title><link>http://feedproxy.google.com/~r/SilentGap/~3/inNvmjEwmfQ/</link><category>SilentGap</category><category>Web Development</category><category>Code</category><category>WordPress</category><category>wp_query</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim of SilentGap</dc:creator><pubDate>Mon, 02 Feb 2009 15:55:32 PST</pubDate><guid isPermaLink="false">http://www.silentgap.com/?p=511</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Hey everyone,</p>
<p>I&#8217;ve come across a problem when building out a template where we need to display one post one the home page, but it needs to be a single view (so that it displays comments on that post) but cannot impact the query that shows a list of blog posts below. So, here&#8217;s a solution:<span id="more-511"></span></p>
<pre>&lt;?php $wp_query-&gt;is_single = true; ?&gt;

    &lt;?php $post_count = 0; ?&gt;

    &lt;?php if (have_posts()) : while (have_posts()) : the_post(); ?&gt;    

        &lt;?php if ($post_count == 0) : ?&gt;

            &lt;?php the_content(''); ?&gt;

        &lt;?php $post_count++; ?&gt;

    &lt;?php endif; ?&gt;

&lt;?php endwhile; endif; ?&gt;</pre>
<p>Below is a wireframe pic</p>
<p><img class="alignnone" title="Post Wireframe - Display only One Single View Post in WordPress" src="http://www.silentgap.com/images/post_wireframe.gif" alt="" width="543" height="440" /></p>
<p>Hope that helps &#8211; let me know if you have any questions.</p>
<p>Amendment:</p>
<p>I left something out, in order to display the rest of the posts I had to output an additional query. Something like the below code should work:</p>
<pre>&lt;?php $additional_posts - new WP_Query('cat=1'); ?&gt;</pre>
<pre>&lt;?php if ($additional_posts-&gt;posts) : ?&gt;</pre>
<pre>&lt;?php while ($additional_posts-&gt;have_posts()) : $additional_posts-&gt;the_post();  ?&gt;</pre>
<pre>&lt;?php the_content(); ?&gt;</pre>
<pre>&lt;?php endwhile; endif; ?&gt;</pre>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SilentGap?a=inNvmjEwmfQ:Mr1O1ZfHTwA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SilentGap?d=yIl2AUoC8zA" border="0"></img></a>
</div>]]></content:encoded><description>Hey everyone,
I&amp;#8217;ve come across a problem when building out a template where we need to display one post one the home page, but it needs to be a single view (so that it displays comments on that post) but cannot impact the query that shows a list of blog posts below. So, here&amp;#8217;s a solution:
&amp;#60;?php [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.silentgap.com/silentgap/2009/display-only-one-single-view-post-in-wordpress/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">1</slash:comments><feedburner:origLink>http://www.silentgap.com/silentgap/2009/display-only-one-single-view-post-in-wordpress/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=display-only-one-single-view-post-in-wordpress</feedburner:origLink></item><item><title>Windows Virus for Mac</title><link>http://feedproxy.google.com/~r/SilentGap/~3/N5x62cQssso/</link><category>SilentGap</category><category>Web Development</category><category>actions</category><category>Browsers</category><category>Code</category><category>FYI</category><category>HTML</category><category>Internet</category><category>JavaScript</category><category>Mac</category><category>Scripts</category><category>Web</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim of SilentGap</dc:creator><pubDate>Tue, 23 Dec 2008 12:56:00 PST</pubDate><guid isPermaLink="false">http://sg.silentgap.org/2008/12/windows-virus-for-mac/</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Ok, for all of you that like to laugh, here&#8217;s a new scam (or an old one, repackaged). As many of you know, I&#8217;m all mac now, at home and at work. I also set up Google Alerts for my work and church (and a few other things too). Well, spammers (or a new breed) are now setting up plain sites that have business names in it, there&#8217;s no text, just a really long title, with all of the business names.<span id="more-56"></span></p>
<p>What happens is that Google, will crawl through the web, looking for the key words that you set up. Well these spammers sites have these same key words, so when Google crawls the spammers site, Google flags it as an alert and sends the spammers website url/address to your email, saying it&#8217;s found a site that&#8217;s met your criteria.</p>
<p>Well, when you click on the link, it brings you to the spammers site, which then will do anything from collect stats to redirect you to another site that looks like it&#8217;s scanning your harddrive. Below are a few screen shots of what happens when it scans your harddrive (even though it&#8217;s not really scanning).</p>
<p><a href="http://3.bp.blogspot.com/_hlwJzRpwaKQ/SVFSSQ1CvEI/AAAAAAAABIc/2HEpKRZtwVI/s1600-h/windows_virus_mac.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5283094311590870082" style="cursor: pointer; width: 400px; height: 319px;" src="http://3.bp.blogspot.com/_hlwJzRpwaKQ/SVFSSQ1CvEI/AAAAAAAABIc/2HEpKRZtwVI/s400/windows_virus_mac.jpg" border="0" alt="" /></a></p>
<p>The below pic is what happens after you click on the window. It asks you to install this virus scan (even though it&#8217;s a virus) &#8211; It&#8217;s an exe file, so on a mac (which doesn&#8217;t know what to do with an exe file), it doesn&#8217;t do anything. Notice my little Mac symbol in the upper left corner.</p>
<p><a href="http://1.bp.blogspot.com/_hlwJzRpwaKQ/SVFSSXnEKkI/AAAAAAAABIk/WwoRcgKd46U/s1600-h/widows_virus_mac2.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5283094313411291714" style="cursor: pointer; width: 400px; height: 320px;" src="http://1.bp.blogspot.com/_hlwJzRpwaKQ/SVFSSXnEKkI/AAAAAAAABIk/WwoRcgKd46U/s400/widows_virus_mac2.jpg" border="0" alt="" /></a></p>
<p>The sad this is that many fall for this &#8211; don&#8217;t you be one of them!</p>
<p>Tim Schoffelman of <a href="http://silentgap.com/">SilentGap</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SilentGap?a=N5x62cQssso:VoJWirxtoMA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SilentGap?d=yIl2AUoC8zA" border="0"></img></a>
</div>]]></content:encoded><description>Ok, for all of you that like to laugh, here&amp;#8217;s a new scam (or an old one, repackaged). As many of you know, I&amp;#8217;m all mac now, at home and at work. I also set up Google Alerts for my work and church (and a few other things too). Well, spammers (or a new breed) [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.silentgap.com/silentgap/2008/windows-virus-for-mac/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><feedburner:origLink>http://www.silentgap.com/silentgap/2008/windows-virus-for-mac/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=windows-virus-for-mac</feedburner:origLink></item></channel></rss>
