<?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>technoholic</title>
	<atom:link href="http://www.technoholic.ca/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.technoholic.ca</link>
	<description>one man&#039;s obsession with creating the interwebs</description>
	<lastBuildDate>Sun, 22 Dec 2013 00:29:44 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>New Ghost.js inspired WordPress theme</title>
		<link>http://www.technoholic.ca/new-ghost-inspired-wordpress-theme/</link>
		<comments>http://www.technoholic.ca/new-ghost-inspired-wordpress-theme/#comments</comments>
		<pubDate>Mon, 16 Dec 2013 00:39:04 +0000</pubDate>
		<dc:creator><![CDATA[Peter]]></dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.technoholic.ca/?p=282</guid>
		<description><![CDATA[Recently, I've been inspired by the Ghost blogging platform, which I think has a really clean and elegant default theme, so this WordPress theme borrows from some of the ideas that I liked from that theme.]]></description>
				<content:encoded><![CDATA[<p><span style="line-height: 1.5em;">I wanted to rebuild the theme for this site, make it a little bit more modern, so I decided to fork the Bones starter theme, and start working on a nice new minimal design. I&#8217;ve decided to put the project up on GitHub for the sake of using GitHub. You can check it out on </span><a style="line-height: 1.5em;" title="GitHub page" href="https://github.com/petethedude/technoholic.ca" target="_blank">GitHub</a><span style="line-height: 1.5em;"> if you want to see some of the code, or fork it for yourself. It&#8217;s still very much a work in progress, but I&#8217;ll be pushing the changes up there as I go.</span></p>
<p>Recently, I&#8217;ve been inspired by the Ghost blogging platform, which I think has a really clean and elegant default theme, so this WordPress theme borrows from some of the ideas that I liked from that theme.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.technoholic.ca/new-ghost-inspired-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Improving your jQuery code</title>
		<link>http://www.technoholic.ca/improving-your-jquery-code/</link>
		<comments>http://www.technoholic.ca/improving-your-jquery-code/#comments</comments>
		<pubDate>Sun, 17 Nov 2013 00:32:21 +0000</pubDate>
		<dc:creator><![CDATA[Peter]]></dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.technoholic.ca/?p=255</guid>
		<description><![CDATA[Recently, I&#8217;ve been trying to improve my jQuery code, and get a better handle on writing JavaScript in general. In terms of jQuery in particular, I came across this post today, which although a couple years old now, provides some great tips that I think a lot of people could benefit from reading. There are...  <a class="excerpt-read-more" href="http://www.technoholic.ca/improving-your-jquery-code/" title="ReadImproving your jQuery code">Read more &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>Recently, I&#8217;ve been trying to improve my jQuery code, and get a better handle on writing JavaScript in general. In terms of jQuery in particular, I came across <a href="http://24ways.org/2011/your-jquery-now-with-less-suck/" target="_blank">this post</a> today, which although a couple years old now, provides some great tips that I think a lot of people could benefit from reading. There are a few great examples of writing better performing DOM manipulation in there.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.technoholic.ca%2Fimproving-your-jquery-code%2F&amp;title=Improving%20your%20jQuery%20code" id="wpa2a_2">Share</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.technoholic.ca/improving-your-jquery-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal 6 page.tpl.php template based on path</title>
		<link>http://www.technoholic.ca/drupal-6-page-tpl-php-template-based-on-path/</link>
		<comments>http://www.technoholic.ca/drupal-6-page-tpl-php-template-based-on-path/#comments</comments>
		<pubDate>Sat, 05 Nov 2011 17:28:28 +0000</pubDate>
		<dc:creator><![CDATA[Peter]]></dc:creator>
				<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://www.technoholic.ca/?p=245</guid>
		<description><![CDATA[Use custom page.tpl.php files based on the URL path alias of your pages to create custom template files. Add the following code to your theme&#8217;s template.php file. function phptemplate_engine_preprocess_page(&#38;$variables) { $alias = drupal_get_path_alias($_GET['q']); if ($alias != $_GET['q']) { $template_filename = 'page'; foreach (explode('/', $alias) as $path_part) { $template_filename = $template_filename . '-' . $path_part; $variables['template_files'][]...  <a class="excerpt-read-more" href="http://www.technoholic.ca/drupal-6-page-tpl-php-template-based-on-path/" title="ReadDrupal 6 page.tpl.php template based on path">Read more &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>Use custom page.tpl.php files based on the URL path alias of your pages to create custom template files. Add the following code to your theme&#8217;s template.php file.</p>
<p><code>function phptemplate_engine_preprocess_page(&amp;$variables) {<br />
$alias = drupal_get_path_alias($_GET['q']);<br />
if ($alias != $_GET['q']) {<br />
$template_filename = 'page';<br />
foreach (explode('/', $alias) as $path_part) {<br />
$template_filename = $template_filename . '-' . $path_part;<br />
$variables['template_files'][] = $template_filename;<br />
}<br />
}<br />
}<br />
</code></p>
<p>Create a copy of page.tpl.php and rename it to page-YOURPATH.tpl.php and begin to make your own custom edits specific to that path. Now, if you&#8217;ve got a www.yoursite.com/blog path, then Drupal will pick up page-blog.tpl.php as the template for that page. The above code is for Drupal 6. You may need to clear Drupal&#8217;s cache after you&#8217;ve done this for it to take effect.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.technoholic.ca%2Fdrupal-6-page-tpl-php-template-based-on-path%2F&amp;title=Drupal%206%20page.tpl.php%20template%20based%20on%20path" id="wpa2a_4">Share</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.technoholic.ca/drupal-6-page-tpl-php-template-based-on-path/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>jQuery Shine animation effect</title>
		<link>http://www.technoholic.ca/jquery-shine-animation-effect/</link>
		<comments>http://www.technoholic.ca/jquery-shine-animation-effect/#comments</comments>
		<pubDate>Sat, 13 Nov 2010 18:16:39 +0000</pubDate>
		<dc:creator><![CDATA[Peter]]></dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.technoholic.ca/?p=207</guid>
		<description><![CDATA[I&#8217;ve been diving deeper into jQuery lately, because a few clients have been requesting Flash-like functionality for their websites, and I&#8217;ve been avoiding Flash since before Steve Jobs made it cool to do so. I have to say, there is more and more that jQuery can do that Flash used to only do. I recently...  <a class="excerpt-read-more" href="http://www.technoholic.ca/jquery-shine-animation-effect/" title="ReadjQuery Shine animation effect">Read more &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been diving deeper into jQuery lately, because a few clients have been requesting Flash-like functionality for their websites, and I&#8217;ve been avoiding Flash since before Steve Jobs made it cool to do so. I have to say, there is more and more that jQuery can do that Flash used to only do. I recently came across one great example of this while researching button effects for a personal project (release coming soon). Addy from AddyOsmani.com posted this great article about a shine effect using jQuery called <a href="http://addyosmani.com/blog/shinetime/" target="_blank">&#8220;ShineTime – A Kick-Ass New jQuery &amp; CSS3 Gallery With Animated Shine Effects.&#8221;</a> The best part of the effect is that it&#8217;s so simple to implement and if you&#8217;re at all comfortable with jQuery and CSS, the method used with background-position opens up a world of possibility with other effects other than shine, which at least I wasn&#8217;t aware of. Check out <a href="http://www.addyosmani.com/resources/shinetime" target="_blank">his demo</a> to see the effect in action.</p>
<p>The entire thing really boils down to a few lines of jQuery Javascript code and some CSS. When a event happens, such as a hover or a page load, a shine PNG image is changed from a background position of off the screen to one that crosses to the other side off the screen. With a little modification, I made the effect display a few seconds after the page loads using setTimeout, rather than when you hover over an element, which produced a great little embellishment for a button or a logo when a visitors comes to the site. It&#8217;s a great little effect that you used to only be able to do with Flash.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.technoholic.ca%2Fjquery-shine-animation-effect%2F&amp;title=jQuery%20Shine%20animation%20effect" id="wpa2a_6">Share</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.technoholic.ca/jquery-shine-animation-effect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Partial Fix to your iGoogle for iPhone problems</title>
		<link>http://www.technoholic.ca/partial-fix-to-your-igoogle-for-iphone-problems/</link>
		<comments>http://www.technoholic.ca/partial-fix-to-your-igoogle-for-iphone-problems/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 21:29:20 +0000</pubDate>
		<dc:creator><![CDATA[Peter]]></dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.technoholic.ca/?p=187</guid>
		<description><![CDATA[Evidently, I&#8217;m not the only person totally pissed off about Google&#8217;s move to get rid of the iPhone version of iGoogle. From the looks of things, Google has no intention of turning back the clock on this one. I guess there still hasn&#8217;t been enough public outcry. I have, however, found a partial fix to...  <a class="excerpt-read-more" href="http://www.technoholic.ca/partial-fix-to-your-igoogle-for-iphone-problems/" title="ReadPartial Fix to your iGoogle for iPhone problems">Read more &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>Evidently, I&#8217;m not the only person totally pissed off about Google&#8217;s move to get rid of the iPhone version of iGoogle. From the looks of things, Google has no intention of turning back the clock on this one. I guess there still hasn&#8217;t been enough public outcry. I have, however, found a partial fix to your iGoogle for iPhone problem.</p>
<p>In mobileSafari, go to the following address:<br />
<strong>www.google.com/ig/i?source=mofe</strong></p>
<p>That should allow you to load the proper iPhone optimized version of iGoogle. The only problem is that all my descriptions come up with &#8220;Information is temporarily unavailable.&#8221; I&#8217;m not sure if it&#8217;s going to stay that way, or if you&#8217;ll have different results, but at least this is better than using the standard mobile version of iGoogle.</p>
<p>Hope that helps someone out there.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.technoholic.ca%2Fpartial-fix-to-your-igoogle-for-iphone-problems%2F&amp;title=Partial%20Fix%20to%20your%20iGoogle%20for%20iPhone%20problems" id="wpa2a_8">Share</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.technoholic.ca/partial-fix-to-your-igoogle-for-iphone-problems/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>iGoogle for iPhone is gone: Google, you suck</title>
		<link>http://www.technoholic.ca/igoogle-for-iphone-is-gone-google-you-suck/</link>
		<comments>http://www.technoholic.ca/igoogle-for-iphone-is-gone-google-you-suck/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 09:25:56 +0000</pubDate>
		<dc:creator><![CDATA[Peter]]></dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.technoholic.ca/?p=182</guid>
		<description><![CDATA[Well, it seems that what I thought was a revision to iGoogle for the iPhone was in fact just Google redirecting everyone to the standard iGoogle mobile version, dropping the iPhone version completely. I also don&#8217;t seem to be the only person completely pissed off about it and swearing Google&#8217;s name. I found the following...  <a class="excerpt-read-more" href="http://www.technoholic.ca/igoogle-for-iphone-is-gone-google-you-suck/" title="ReadiGoogle for iPhone is gone: Google, you suck">Read more &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>Well, it seems that what <a href="http://www.technoholic.ca/google-releases-revised-iphone-version-of-igoogle/">I thought was a revision to iGoogle for the iPhone</a> was in fact just Google redirecting everyone to the standard iGoogle mobile version, dropping the iPhone version completely. I also don&#8217;t seem to be the only person completely pissed off about it and swearing Google&#8217;s name.</p>
<p>I found the following explanation from a Google employee on the <a href="http://www.google.com/support/forum/p/Web+Search/thread?tid=6ff62ce418848f69&amp;hl=en" target="_blank">Google support pages</a>, which had a lot of angry people sounding off:</p>
<blockquote><p>Hey everyone, I have an update for you. We&#8217;ve decided to direct iPhone users to the standard mobile iGoogle page. We&#8217;ve found that people hit iGoogle from lots of different phones &#8212; we want to ensure you&#8217;ll all see the same version.</p>
<p>Most or all of your existing content should translate over to the standard mobile version. The only exception would be any gadgets that aren&#8217;t compatible with most mobile browsers.</p></blockquote>
<p>Honestly, Google, if you&#8217;re listening, this was the stupidest decision I&#8217;ve seen you make yet. Your iPhone support had been so great and suddenly you fuck all of us iPhone users without even any notice. Not only am I pissed off because we&#8217;re losing some great functionality that I used on a daily basis, but also because it tarnishes my view of Google, which up until now, I believed could do no wrong. Well, you did wrong Google. You really fucked it up on this one. As I was discussing with someone on Twitter, more people need to get angry about this and they need to create some visible public outcry.</p>
<p>If you&#8217;re as pissed off as I am about this majorly bone-headed move my Google that basically tells us iPhone users that we don&#8217;t matter anymore, then go over to <a href="http://www.google.com/support/forum/p/Web+Search/thread?tid=6ff62ce418848f69&amp;hl=en" target="_blank">this discussion and tell Google how upset you are</a>.</p>
<p>P.S. Google, your new favicon also sucks!</p>
<p><strong>UPDATE: I found a partial fix, <a href="http://www.technoholic.ca/partial-fix-to-your-igoogle-for-iphone-problems/" target="_self">check it out</a>.</strong></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.technoholic.ca%2Figoogle-for-iphone-is-gone-google-you-suck%2F&amp;title=iGoogle%20for%20iPhone%20is%20gone%3A%20Google%2C%20you%20suck" id="wpa2a_10">Share</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.technoholic.ca/igoogle-for-iphone-is-gone-google-you-suck/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
