
<?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>Kolbu &#187; Website</title>
	<atom:link href="http://www.kolbu.com/category/website/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kolbu.com</link>
	<description>Computers, Gadgets and Beyond!</description>
	<lastBuildDate>Tue, 30 Jun 2009 13:25:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Upgrading to WordPress 2.5</title>
		<link>http://www.kolbu.com/2008/03/28/upgrading-to-wordpress-25/</link>
		<comments>http://www.kolbu.com/2008/03/28/upgrading-to-wordpress-25/#comments</comments>
		<pubDate>Fri, 28 Mar 2008 00:02:32 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Website]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.kolbu.com/?p=59</guid>
		<description><![CDATA[Moving this site from WordPress 2.3.3 to 2.5RC2 was largely uneventful. But I recommend waiting until there is a properly scripted upgrade path before you try unless you&#8217;re comfortable with MySQL restores and the occational PHP hacking to get a particular theme or plugin to work properly. Things have certainly changed under the hood, and [...]<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>Moving this site from WordPress 2.3.3 to 2.5RC2 was largely uneventful. But I recommend waiting until there is a properly scripted upgrade path before you try unless you&#8217;re comfortable with MySQL restores and the occational PHP hacking to get a particular theme or plugin to work properly. Things have certainly changed under the hood, and quite a few addons need to be rewritten. Some of these rewrites are in the pipeline, so check out the WordPress codex for status.</p>
<p>Since I was fiddling with the site anyway, I decided to go for a new theme as well. It required some code changes to work properly, for example a simple thing as showing comments on pages was missing. Easily added. I also fiddled with the look&#038;feel, so it&#8217;s not really a clean Prosumer theme anymore. Not enough changes to warrant a rebadge and release though. Not entirely happy about the colour scheme either, so here today gone tomorrow. Leave a comment if you can recommend a great theme that not too many others use.</p>
<p>Found some cool new plugins while updating. Like the Democracy Polls widget on the left, just below the ahem one click is enough Income widget.</p>
<p>Another thing I found out about WordPress in the upgrade process was that there are quite a number of hard coded references to your web site url in the database. Not just the single config entry you&#8217;d expect. So if you want to fire up a copy of the site under another name to see how 2.5 worked without destroying your primary site, you need to dump the database, do a search &#038; replace on the dump and then restore to the new location.</p>
<p>The logo image is an umodified photo taken at low shutter speed in a tunnel, just cropped to show the interesting part. </p>
<p>a</p>
<!-- Social Bookmarking Reloaded BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.kolbu.com/2008/03/28/upgrading-to-wordpress-25/&amp;title=Upgrading+to+WordPress+2.5" title="Add 'Upgrading to WordPress 2.5' to Del.icio.us"><img src="http://www.kolbu.com/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add 'Upgrading to WordPress 2.5' to Del.icio.us" alt="Add 'Upgrading to WordPress 2.5' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.kolbu.com/2008/03/28/upgrading-to-wordpress-25/&amp;title=Upgrading+to+WordPress+2.5" title="Add 'Upgrading to WordPress 2.5' to digg"><img src="http://www.kolbu.com/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add 'Upgrading to WordPress 2.5' to digg" alt="Add 'Upgrading to WordPress 2.5' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.kolbu.com/2008/03/28/upgrading-to-wordpress-25/" title="Add 'Upgrading to WordPress 2.5' to Technorati"><img src="http://www.kolbu.com/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add 'Upgrading to WordPress 2.5' to Technorati" alt="Add 'Upgrading to WordPress 2.5' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://www.kolbu.com/2008/03/28/upgrading-to-wordpress-25/&amp;t=Upgrading+to+WordPress+2.5" title="Add 'Upgrading to WordPress 2.5' to Yahoo My Web"><img src="http://www.kolbu.com/wp-content/plugins/social-bookmarking-reloaded/yahoo_myweb.png" title="Add 'Upgrading to WordPress 2.5' to Yahoo My Web" alt="Add 'Upgrading to WordPress 2.5' to Yahoo My Web" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://www.kolbu.com/2008/03/28/upgrading-to-wordpress-25/&amp;title=Upgrading+to+WordPress+2.5" title="Add 'Upgrading to WordPress 2.5' to Stumble Upon"><img src="http://www.kolbu.com/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png" title="Add 'Upgrading to WordPress 2.5' to Stumble Upon" alt="Add 'Upgrading to WordPress 2.5' to Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.kolbu.com/2008/03/28/upgrading-to-wordpress-25/&amp;title=Upgrading+to+WordPress+2.5" title="Add 'Upgrading to WordPress 2.5' to Google Bookmarks"><img src="http://www.kolbu.com/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add 'Upgrading to WordPress 2.5' to Google Bookmarks" alt="Add 'Upgrading to WordPress 2.5' to Google Bookmarks" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="https://favorites.live.com/quickadd.aspx?url=http://www.kolbu.com/2008/03/28/upgrading-to-wordpress-25/&amp;title=Upgrading+to+WordPress+2.5" title="Add 'Upgrading to WordPress 2.5' to Live-MSN"><img src="http://www.kolbu.com/wp-content/plugins/social-bookmarking-reloaded/live.png" title="Add 'Upgrading to WordPress 2.5' to Live-MSN" alt="Add 'Upgrading to WordPress 2.5' to Live-MSN" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?title=Upgrading+to+WordPress+2.5&amp;url=http://www.kolbu.com/2008/03/28/upgrading-to-wordpress-25/" title="Add 'Upgrading to WordPress 2.5' to SlashDot"><img src="http://www.kolbu.com/wp-content/plugins/social-bookmarking-reloaded/slashdot.png" title="Add 'Upgrading to WordPress 2.5' to SlashDot" alt="Add 'Upgrading to WordPress 2.5' to SlashDot" /></a></div>
<!-- Social Bookmarking Reloaded END -->]]></content:encoded>
			<wfw:commentRss>http://www.kolbu.com/2008/03/28/upgrading-to-wordpress-25/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Converting from Google AdSense for Content to the new AdSense Units</title>
		<link>http://www.kolbu.com/2008/03/05/converting-from-google-adsense-for-content-to-the-new-adsense-units/</link>
		<comments>http://www.kolbu.com/2008/03/05/converting-from-google-adsense-for-content-to-the-new-adsense-units/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 23:41:48 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Website]]></category>
		<category><![CDATA[adsense]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[unit]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.kolbu.com/2008/03/05/converting-from-google-adsense-for-content-to-the-new-adsense-units/</guid>
		<description><![CDATA[The old style Google AdSense for Content HTML code had a lot of information about the look and feel of an ad. Half a dozen colour values for background, foreground, links, text etc along with ad size, ad type and of course your ad code and perhaps channel code. Bit of a mess trying to [...]<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>The old style Google AdSense for Content HTML code had a lot of information about the look and feel of an ad. Half a dozen colour values for background, foreground, links, text etc along with ad size, ad type and of course your ad code and perhaps channel code. Bit of a mess trying to keep track of everything, even with helpful addons like Adsense Manager (which sucks after v2.5). So Google has moved more of the fiddly bits into their AdSense administrative interface and the new thing is called an AdSense Unit. Old style HTML code:</p>
<p><span id="more-54"></span>
<p>&nbsp;</p>
<p>google_ad_client = &quot;pub-55555555555555555&quot;;<br />google_ad_width = 728;<br />google_ad_height = 90;<br />google_ad_format = &quot;728x90_as&quot;;<br />google_ad_type = &quot;image&quot;;<br />google_ad_channel = &quot;555555555555&quot;;<br />google_color_border = &quot;FFFFFF&quot;;<br />google_color_bg = &quot;FFFFFF&quot;;<br />google_color_link = &quot;7CC135&quot;;<br />google_color_text = &quot;000000&quot;;<br />google_color_url = &quot;&quot;;</p>
<p>compared to the new:</p>
<p>google_ad_client = &quot;pub-5555555555555555&quot;;<br />google_ad_slot = &quot;55555555555&quot;;<br />google_ad_width = 160;<br />google_ad_height = 600;<br />
<!-- Begin Google Adsense code -->
<script type="text/javascript"><!--
google_ad_client = "pub-9429526759374788";
/* com-inline */
google_ad_slot = "4262045366";
google_ad_channel = "5239289444";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- End Google Adsense code -->
<br />The other parts of the puzzle, including the Google javascript call, remain the same. As you can see, bare bones is your ad code, a new thing called an ad slot and a width and height. The latter two to speed up page rendering, as the javascript code can tell the browser how much space it will consume before loading the actual ad.</p>
<p>Now, if you have a lot of these old style ads that you would like to convert then Google provides a conversion tool. And you want to convert, as the Google interface for keeping track of ad types and their look and feel is a step up from doing it by hand or by third party tool. and it only takes a minute per ad to convert, ish. </p>
<p>To convert, go to your AdSense page and select AdSense Setup followed by Manage Ads. Around the top you will see a link intuitively called <strong>import your old AdSense code</strong>. Hit that, and you will be greeted with a page containing a big text area and a small one. Now copy the HTML code (well, javascript-code) from an old ad into the big area and write a useful name for that ad into the small area and hit the button. You do not need to copy anything other than the javascript variables, they are what differentiates one ad from another. </p>
<p>Note that if the <strong>copy HTML code</strong> part above was greek to you then run through <a href="https://www.google.com/adsense/support/bin/answer.py?answer=44511&amp;topic=1165">Google&#8217;s explanation</a> before you continue.</p>
<p>Now for the stupid part which Google really should fix. If there is an error in the HMTL you paste in you will get the very unfriendly error <strong>The snippet is invalid</strong>. With absolutely no explanation on what is wrong. And the useless part is that this syntax checker is actually more strict than the one Google uses in real life so the code in question may show a completely valid advert on your web page but still be rejected by this tool. Now, the most common problem here is that quite a few tools that autogenerate AdSense ads, including Adsense Manager for WordPress, will forget to print some of the values. See the example above, where the last variable google_color_url has an empty string as value? This works fine in real life, especially since it&#8217;s an image only ad in the first place. But the converter will see this as a problem and give you the error mentioned above. So if you are absolutely sure you have pasted in the correct code and still get an error then make sure all the variables actually have proper values. Changing &quot;&quot; to &quot;000000&quot; <br />in this case and the code passes the test and you have a new unit.&nbsp;</p>
<p>Now you can just use the new and improved style on your web pages, and if you want to change the look and feel of an ad then you can do so through the Google AdSense interface. </p>
<p>&nbsp;Is it worth it? Not really just for the current functionality, but you never know when the old style stops being supported or when only new style ads get a new and flashy feature that mesmerizes the ad clicking crowd. So get on the band wagon now, it&#8217;s not difficult.</p>
<p>&nbsp;</p>
<p>a</p>
<!-- Social Bookmarking Reloaded BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.kolbu.com/2008/03/05/converting-from-google-adsense-for-content-to-the-new-adsense-units/&amp;title=Converting+from+Google+AdSense+for+Content+to+the+new+AdSense+Units" title="Add 'Converting from Google AdSense for Content to the new AdSense Units' to Del.icio.us"><img src="http://www.kolbu.com/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add 'Converting from Google AdSense for Content to the new AdSense Units' to Del.icio.us" alt="Add 'Converting from Google AdSense for Content to the new AdSense Units' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.kolbu.com/2008/03/05/converting-from-google-adsense-for-content-to-the-new-adsense-units/&amp;title=Converting+from+Google+AdSense+for+Content+to+the+new+AdSense+Units" title="Add 'Converting from Google AdSense for Content to the new AdSense Units' to digg"><img src="http://www.kolbu.com/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add 'Converting from Google AdSense for Content to the new AdSense Units' to digg" alt="Add 'Converting from Google AdSense for Content to the new AdSense Units' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.kolbu.com/2008/03/05/converting-from-google-adsense-for-content-to-the-new-adsense-units/" title="Add 'Converting from Google AdSense for Content to the new AdSense Units' to Technorati"><img src="http://www.kolbu.com/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add 'Converting from Google AdSense for Content to the new AdSense Units' to Technorati" alt="Add 'Converting from Google AdSense for Content to the new AdSense Units' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://www.kolbu.com/2008/03/05/converting-from-google-adsense-for-content-to-the-new-adsense-units/&amp;t=Converting+from+Google+AdSense+for+Content+to+the+new+AdSense+Units" title="Add 'Converting from Google AdSense for Content to the new AdSense Units' to Yahoo My Web"><img src="http://www.kolbu.com/wp-content/plugins/social-bookmarking-reloaded/yahoo_myweb.png" title="Add 'Converting from Google AdSense for Content to the new AdSense Units' to Yahoo My Web" alt="Add 'Converting from Google AdSense for Content to the new AdSense Units' to Yahoo My Web" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://www.kolbu.com/2008/03/05/converting-from-google-adsense-for-content-to-the-new-adsense-units/&amp;title=Converting+from+Google+AdSense+for+Content+to+the+new+AdSense+Units" title="Add 'Converting from Google AdSense for Content to the new AdSense Units' to Stumble Upon"><img src="http://www.kolbu.com/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png" title="Add 'Converting from Google AdSense for Content to the new AdSense Units' to Stumble Upon" alt="Add 'Converting from Google AdSense for Content to the new AdSense Units' to Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.kolbu.com/2008/03/05/converting-from-google-adsense-for-content-to-the-new-adsense-units/&amp;title=Converting+from+Google+AdSense+for+Content+to+the+new+AdSense+Units" title="Add 'Converting from Google AdSense for Content to the new AdSense Units' to Google Bookmarks"><img src="http://www.kolbu.com/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add 'Converting from Google AdSense for Content to the new AdSense Units' to Google Bookmarks" alt="Add 'Converting from Google AdSense for Content to the new AdSense Units' to Google Bookmarks" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="https://favorites.live.com/quickadd.aspx?url=http://www.kolbu.com/2008/03/05/converting-from-google-adsense-for-content-to-the-new-adsense-units/&amp;title=Converting+from+Google+AdSense+for+Content+to+the+new+AdSense+Units" title="Add 'Converting from Google AdSense for Content to the new AdSense Units' to Live-MSN"><img src="http://www.kolbu.com/wp-content/plugins/social-bookmarking-reloaded/live.png" title="Add 'Converting from Google AdSense for Content to the new AdSense Units' to Live-MSN" alt="Add 'Converting from Google AdSense for Content to the new AdSense Units' to Live-MSN" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?title=Converting+from+Google+AdSense+for+Content+to+the+new+AdSense+Units&amp;url=http://www.kolbu.com/2008/03/05/converting-from-google-adsense-for-content-to-the-new-adsense-units/" title="Add 'Converting from Google AdSense for Content to the new AdSense Units' to SlashDot"><img src="http://www.kolbu.com/wp-content/plugins/social-bookmarking-reloaded/slashdot.png" title="Add 'Converting from Google AdSense for Content to the new AdSense Units' to SlashDot" alt="Add 'Converting from Google AdSense for Content to the new AdSense Units' to SlashDot" /></a></div>
<!-- Social Bookmarking Reloaded END -->]]></content:encoded>
			<wfw:commentRss>http://www.kolbu.com/2008/03/05/converting-from-google-adsense-for-content-to-the-new-adsense-units/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
