<?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"
	>

<channel>
	<title>ckunte.com &#187; Geekspeak</title>
	<atom:link href="http://ckunte.com/archives/category/geekspeak/feed" rel="self" type="application/rss+xml" />
	<link>http://ckunte.com</link>
	<description>Life, dreams, technology, perfection, rhythm and melody.</description>
	<pubDate>Mon, 01 Dec 2008 10:17:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
	<language>en</language>
			<item>
		<title>Best before</title>
		<link>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fbest-before&amp;seed_title=Best+before</link>
		<comments>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fbest-before&amp;seed_title=Best+before#comments</comments>
		<pubDate>Tue, 11 Nov 2008 11:41:04 +0000</pubDate>
		<dc:creator>Chyetanya Kunte</dc:creator>
		
		<category><![CDATA[Asides]]></category>

		<category><![CDATA[Server side]]></category>

		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://ckunte.com/archives/best-before</guid>
		<description><![CDATA[In a web of letting content mature over time and helping it gain search traction, Textpattern introduces a feature that allows you to set expiry dates on your posts&#8212;after which they&#8217;ll no longer be available. Very interesting indeed.
]]></description>
			<content:encoded><![CDATA[<p>In a web of letting content mature over time and helping it gain search traction, <a href="http://textpattern.com/weblog/327/so-youd-like-to-stick-a-best-before-label-on-those-articles">Textpattern introduces a feature</a> that allows you to set expiry dates on your posts&#8212;after which they&#8217;ll no longer be available. Very interesting indeed.</p>
]]></content:encoded>
			<wfw:commentRss>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fbest-before&amp;seed_title=Best+before/feed</wfw:commentRss>
		</item>
		<item>
		<title>Backup a webserver</title>
		<link>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fbackup-a-webserver&amp;seed_title=Backup+a+webserver</link>
		<comments>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fbackup-a-webserver&amp;seed_title=Backup+a+webserver#comments</comments>
		<pubDate>Mon, 04 Aug 2008 17:43:20 +0000</pubDate>
		<dc:creator>Chyetanya Kunte</dc:creator>
		
		<category><![CDATA[Asides]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Server side]]></category>

		<category><![CDATA[rsync]]></category>

		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://ckunte.com/?p=1964</guid>
		<description><![CDATA[Webmonkey: &#8220;Back up a web server.&#8221;
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.webmonkey.com/tutorial/Back_Up_a_Web_Server">Webmonkey</a>: &#8220;Back up a web server.&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fbackup-a-webserver&amp;seed_title=Backup+a+webserver/feed</wfw:commentRss>
		</item>
		<item>
		<title>Run WordPress locally on your Ubuntu powered computer</title>
		<link>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fwordpress-on-ubuntu&amp;seed_title=Run+WordPress+locally+on+your+Ubuntu+powered+computer</link>
		<comments>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fwordpress-on-ubuntu&amp;seed_title=Run+WordPress+locally+on+your+Ubuntu+powered+computer#comments</comments>
		<pubDate>Tue, 25 Mar 2008 17:02:07 +0000</pubDate>
		<dc:creator>Chyetanya Kunte</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Noteworthy]]></category>

		<category><![CDATA[Server side]]></category>

		<category><![CDATA[Web apps]]></category>

		<category><![CDATA[svn]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://ckunte.com/?p=1772</guid>
		<description><![CDATA[
Install Apache: sudo apt-get install apache2
Install PHP: sudo apt-get install php5 libapache2-mod-php5
Intall MySQL: sudo apt-get install mysql-server (The new MySQL now guides you to set a root password during this process&#8212;no need to run mysql -u root separately. It also now allows you to set a bind-address to your IP&#8212;instead of 127.0.0.1)
The folder /var/www is [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>Install Apache: <code>sudo apt-get install apache2</code></li>
<li>Install PHP: <code>sudo apt-get install php5 libapache2-mod-php5</code></li>
<li>Intall MySQL: <code>sudo apt-get install mysql-server</code> (The new MySQL now guides you to set a root password during this process&#8212;no need to run <code>mysql -u root</code> separately. It also now allows you to set a bind-address to your IP&#8212;instead of 127.0.0.1)</li>
<li>The folder <code>/var/www</code> is now the webserver root. Own it first: <code>chown -R <i>username</i><sup>1</sup> /var/www</code>. www folder is now writable.</li>
<li>Load up <code>http://localhost/phpmyadmin</code> and create database (prompts for MySQL root password.)</li>
<li>Navigate to <code>/var/www</code> and download <a href="http://wordpress.org/">WordPress</a>: <code>svn co http://svn.automattic.com/wordpress/tags/2.3.3/ .</code></li>
<li>Rename <code>wp-config-sample.php</code> to <code>wp-config.php</code> and edit it to enter database information. Optionally, increase PHP memory to, say, 96MB: <code>define('WP_MEMORY_LIMIT', '96MB');</code>. Enable caching, if you like&#8212;add this line: <code>define('WP_CACHE', true);</code> in it.</li>
</ul>
<p>Now I have a local web server running on my Ubuntu powered desktop&#8212;complete with a local version of my site, and proudly powered by <a href="http://wordpress.org/">WordPress</a>.</p>
<p><strong>Update:</strong> You&#8217;ll need to set <code>/var/www</code> folder writable by server: <code>sudo chmod -R 755 www</code>.</p>
<p><strong>Credits:</strong> Much of the <acronym title="Linux, Apache, MySQL and Perl/Python/PHP">LAMP</acronym> installation part was referred from <a href="http://howtoforge.com/ubuntu_lamp_for_newbies">this simple and excellent Howto Forge article</a>. I&#8217;ve skipped tasks that are now automated; and added those that weren&#8217;t covered in the referred article.
<ol class="footnotes">
<li id="footnote_0_1772" class="footnote">Here, <code><i>username</i></code> is your login name on the computer; typically <code><i>username@computer</i></code> that you see when you open a Terminal window.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fwordpress-on-ubuntu&amp;seed_title=Run+WordPress+locally+on+your+Ubuntu+powered+computer/feed</wfw:commentRss>
		</item>
		<item>
		<title>Using sftp over ssh, and tar</title>
		<link>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fsftp-tar&amp;seed_title=Using+sftp+over+ssh%2C+and+tar</link>
		<comments>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fsftp-tar&amp;seed_title=Using+sftp+over+ssh%2C+and+tar#comments</comments>
		<pubDate>Mon, 24 Mar 2008 12:08:36 +0000</pubDate>
		<dc:creator>Chyetanya Kunte</dc:creator>
		
		<category><![CDATA[Server side]]></category>

		<category><![CDATA[sftp]]></category>

		<category><![CDATA[ssh]]></category>

		<category><![CDATA[tar]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://ckunte.com/?p=1768</guid>
		<description><![CDATA[As a WordPress user, most stuff I add or update towards my site content&#8212;pictures, themes, plugins&#8212;typically gets stored in wp-content; so this is a mighty important folder when it comes to backing-up. Here&#8217;s how I backup wp-content (as an alternative to rsync):
I login to my site via ssh, and navigate to the root of my [...]]]></description>
			<content:encoded><![CDATA[<p>As a <a href="http://wordpress.org/">WordPress</a> user, most stuff I add or update towards my site content&#8212;pictures, themes, plugins&#8212;typically gets stored in <code>wp-content</code>; so this is a mighty important folder when it comes to backing-up. Here&#8217;s how I backup <code>wp-content</code> (as an alternative to <a href="http://ckunte.com/archives/site-backup-rsync">rsync</a>):</p>
<p>I login to my site via ssh, and navigate to the root of my WordPress installation, and run <code><a href="http://en.wikipedia.org/wiki/Tar_(file_format)">tar</a></code> to archive (zip) the entire <code>wp-content</code> folder:</p>
<p>$ <code>tar -zcvf allwpcontent.tar.gz wp-content/</code></p>
<p>This above creates a file named <code>allwpcontent.tar.gz</code>.</p>
<p>Now still over <a href="http://en.wikipedia.org/wiki/Secure_Shell">ssh</a>, I start <a href="http://en.wikipedia.org/wiki/SSH_file_transfer_protocol">sftp</a> and navigate to the root of my WordPress installation (again). From there, I download the zipped file:</p>
<p>sftp> <code>get allwpcontent.tar.gz</code></p>
<p>Downloading the entire <code>wp-content</code> by zipping (or tarring) first is so much quicker than downloading the entire folder&#8212;file by file; and easy too.</p>
]]></content:encoded>
			<wfw:commentRss>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fsftp-tar&amp;seed_title=Using+sftp+over+ssh%2C+and+tar/feed</wfw:commentRss>
		</item>
		<item>
		<title>Upgrading WordPress with svn</title>
		<link>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fupgrading-wordpress-with-svn&amp;seed_title=Upgrading+WordPress+with+svn</link>
		<comments>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fupgrading-wordpress-with-svn&amp;seed_title=Upgrading+WordPress+with+svn#comments</comments>
		<pubDate>Sun, 23 Mar 2008 17:18:03 +0000</pubDate>
		<dc:creator>Chyetanya Kunte</dc:creator>
		
		<category><![CDATA[Noteworthy]]></category>

		<category><![CDATA[Server side]]></category>

		<category><![CDATA[ssh]]></category>

		<category><![CDATA[svn]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://ckunte.com/?p=1766</guid>
		<description><![CDATA[
Pre-requisites: You&#8217;ll need secure shell access to your host, and your host should have enabled svn client.1
All bets are off if you don&#8217;t backup everything&#8212;every file, every customization, as well as your database&#8212;first. As an added insurance, go to the WordPress admin Dashboard &#8594; Manage &#8594; Export, and dump an XML export file. Also, deactivate [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://ckunte.com/wp-content/uploads/2008/10/updating-wordpress-xkcdstyle.png" alt="" title="updating-wordpress-xkcdstyle" width="500" height="309" class="alignnone size-full wp-image-2093 centered" /></p>
<p><strong>Pre-requisites:</strong> You&#8217;ll need <a href="http://en.wikipedia.org/wiki/Secure_Shell">secure shell</a> access to your host, and your host should have enabled <a href="http://subversion.tigris.org/">svn</a> client.<sup>1</sup></p>
<p>All bets are off if you don&#8217;t <strong>backup everything</strong>&#8212;every file, every customization, as well as your database&#8212;first. As an added insurance, go to the <a href="http://wordpress.org/">WordPress</a> admin <em>Dashboard &rarr; Manage &rarr; Export</em>, and dump an XML export file. Also, deactivate all plugins. I&#8217;m saying this because you won&#8217;t regret if things go wrong.</p>
<h4>Preparing for svn magic (the first time.)</h4>
<p>Login to your host like this<sup>2</sup>:</p>
<p>$ <code>ssh <em>userid</em>@<em>website.com</em></code></p>
<p>You&#8217;ll be prompted for the password. Key it in and press enter. If you were able to login, then you&#8217;d be in the root of your host. This will typically be like the following or something similar:</p>
<p><code>/home/<em>userid</em></code></p>
<p>Type <code>pwd</code> to know where you are. In most cases, you&#8217;ll see a path like the above. Navigate to the folder <code>public_html</code>:</p>
<p>$ <code>cd /home/<em>userid</em>/public_html</code></p>
<p>In some cases, instead of <code>public_html</code>, you&#8217;ll see <code>www</code> or <code>html</code> folder. Let us assume in this case, we have a folder called <code>public_html</code>. List the contents of the folder:</p>
<p>$ <code>ls -al</code></p>
<p>If you see your wordpress installed files and folders here, then this folder is the root of your wordpress installation.</p>
<p>(If you have it installed in a sub-folder like <code>blog</code>&#8212;for example, then further navigate to that folder: $ <code>cd /home/<em>userid</em>/public_html/blog</code>)</p>
<p>Copy entire contents of your WordPress installation root into a folder, say, backup&#8212;like this at the prompt:</p>
<p>$ <code>mkdir backup</code><br />
$ <code>cp -R wp* *.html *.txt *.php .htaccess backup/.</code></p>
<p>Now in WordPress installation root, run this to remove all the existing wordpress files and folders:</p>
<p>$ <code>rm -R wp* index.php xmlrpc.php readme.html license.txt</code></p>
<h4>Installing a new copy of WordPress using Subversion</h4>
<p>Now type this command and hit enter<sup>3</sup><sup>4</sup>:</p>
<p>$ <code>svn co http://svn.automattic.com/wordpress/tags/2.3.3/ .</code> </p>
<p>This command &#8220;checks out&#8221; the release 2.3.3 from WordPress stable repository on to your host.<sup>5</sup></p>
<p>Now, add all your custom plugins, themes from the <code>backup</code> folder into this checked out release&#8217;s <code>wp-content</code> folder. Copy back <code>wp-config.php</code> and <code>robots.txt</code> files from <code>backup</code> folder into the root of your wordpress installation. <em>Note: All this you&#8217;ll need to do only once ever.</em></p>
<h4 id="svn-up">Upgrading to the latest version</h4>
<p>To update your installation, run the following command:</p>
<p>$ <code>svn up</code></p>
<p>To switch to a newer release, say 2.5 for example&#8212;whenever it becomes available in the near future, you&#8217;ll only need to run this command&#8212;in the root of your wordpress installation&#8212;and your WordPress installation will be updated instantly:</p>
<p>$ <code>svn sw http://svn.automattic.com/wordpress/tags/2.5/</code></p>
<p>To complete the upgrade, run the following in browser&#8217;s address bar:</p>
<p><code>http://<em>yourblogaddress</em>/wp-admin/upgrade.php</code></p>
<p>Replace <code><em>yourblogaddress</em></code> with your actual site address, and your WordPress installation will be updated to the latest release. You may now enable all your plugins back again.</p>
<p>Once you have an svn based install, you&#8217;ll only need to <a href="http://ckunte.com/archives/upgrading-wordpress-with-svn#svn-up">the last two steps</a> to upgrade to future latest releases; and it upgrades in seconds!<sup>6</sup></p>
<p>There are other posts about installing upgrading WordPress via svn&#8212;you might want to refer to, notably these two:</p>
<ul>
<li><a href="http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion">Updating WordPress with Subversion</a>.</li>
<li><a href="http://redmonk.com/sogrady/2007/03/06/itreport_wordpress_updating/">Automated WordPress Updating</a>.</li>
</ul>
<p>svn rocks. Learn it. Use it. Love it.<sup>7</sup>
<ol class="footnotes">
<li id="footnote_0_1766" class="footnote">If you have shell access to your web host, you can check this by typing the following at the prompt and enter: <code>svn --help</code>. If it spits meaningful information, then you&#8217;re good to go. Dump those sad hosts that don&#8217;t provide you with these basic features.</li>
<li id="footnote_1_1766" class="footnote"><em>userid</em> and <em>password</em> would be same as those you&#8217;d use while using FTP; Replace <em>userid</em> and <em>website.com</em> with your actual userid and your website address.</li>
<li id="footnote_2_1766" class="footnote">The period at the end is mighty important, or else you&#8217;ll end up downloading all the files at a folder named 2.3.3. Presumably you wouldn&#8217;t want this.</li>
<li id="footnote_3_1766" class="footnote">If you prefer the latest &#8220;bleeding edge&#8221; version, then use the trunk address instead: <code>svn co http://svn.automattic.com/wordpress/trunk/ .</code></li>
<li id="footnote_4_1766" class="footnote">Think <code>co</code> as in checking out your shopping cart at a free counter. <code>up</code> and <code>sw</code> are like the store home-delivering you product improvements&#8212;again for free.</li>
<li id="footnote_5_1766" class="footnote">Notice that in this entire process, we have barely used three commands that are needed to upgrade your actual installation, while much of rest is first-time preparation, and a couple of precautionary measures. Once you get the process, you can see how dumb, and disturbingly simple this is in installing/upgrading WordPress!</li>
<li id="footnote_6_1766" class="footnote">With apologies to <a href="http://diveintomark.org/">Mark Pilgrim</a>.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fupgrading-wordpress-with-svn&amp;seed_title=Upgrading+WordPress+with+svn/feed</wfw:commentRss>
		</item>
		<item>
		<title>Site backup using rsync over ssh</title>
		<link>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fsite-backup-rsync&amp;seed_title=Site+backup+using+rsync+over+ssh</link>
		<comments>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fsite-backup-rsync&amp;seed_title=Site+backup+using+rsync+over+ssh#comments</comments>
		<pubDate>Wed, 30 Jan 2008 20:49:20 +0000</pubDate>
		<dc:creator>Chyetanya Kunte</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Server side]]></category>

		<category><![CDATA[backup]]></category>

		<category><![CDATA[restore]]></category>

		<category><![CDATA[rsync]]></category>

		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://ckunte.com/archives/site-backup-rsync</guid>
		<description><![CDATA[I use rsync over ssh to backup files&#8212;including my entire WordPress installation&#8212;from my site to my local machine (and back). Having these tools natively in Ubuntu makes it a lot easier&#8212;not to mention similar file paths on both local machine as well as on my webhost. Here&#8217;s how I do it. 
This to backup1 all [...]]]></description>
			<content:encoded><![CDATA[<p>I use <a href="http://samba.anu.edu.au/rsync/">rsync</a> over <a href="http://www.openssh.com/">ssh</a> to backup files&#8212;including my entire WordPress installation&#8212;from my site to my local machine (and back). Having these tools natively in Ubuntu makes it a lot easier&#8212;not to mention similar file paths on both local machine as well as on my webhost. Here&#8217;s how I do it. <span id="more-1727"></span></p>
<p>This to backup<sup>1</sup> all files from my site to my local machine:</p>
<p><code>rsync -avz -e ssh remoteuserid@mysite.com:<em>remotepath</em> <em>localpath</em></code></p>
<p>And from my local machine to my site:</p>
<p><code>rsync -avz -e ssh <em>localpath</em> remoteuserid@mysite.com:<em>remotepath</em></code></p>
<p><em>remotepath</em> would be something like this: <code>/home/remoteuserid/public_html</code>, and <em>localpath</em> would be like this: <code>/home/localuserid/backup/public_html</code>.</p>
<p>Damn it&#8217;s fast.
<ol class="footnotes">
<li id="footnote_0_1727" class="footnote">I don&#8217;t do a cron job of a file backup and restore&#8212;I get knots in my stomach. Call it personal preference, but I prefer it manual; and this is mostly because of my file-scatter, and the state of my files, which are usually in various levels of edit&#8212;at any given point of time.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fsite-backup-rsync&amp;seed_title=Site+backup+using+rsync+over+ssh/feed</wfw:commentRss>
		</item>
		<item>
		<title>Personalize db errors now with Wordpress 2.3.2</title>
		<link>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fpersonalize-db-errors-now-with-wordpress-232&amp;seed_title=Personalize+db+errors+now+with+Wordpress+2.3.2</link>
		<comments>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fpersonalize-db-errors-now-with-wordpress-232&amp;seed_title=Personalize+db+errors+now+with+Wordpress+2.3.2#comments</comments>
		<pubDate>Mon, 31 Dec 2007 03:04:15 +0000</pubDate>
		<dc:creator>Chyetanya Kunte</dc:creator>
		
		<category><![CDATA[Design]]></category>

		<category><![CDATA[Server side]]></category>

		<category><![CDATA[Weblog]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://ckunte.com/archives/personalize-db-errors-now-with-wordpress-232</guid>
		<description><![CDATA[Personalizing database down error for Wordpress powered sites was one of the suggestions I offered humbly to the Wordpress team back in August 2007. Happy to note that it&#8217;s now in place in the latest Wordpress update (version 2.3.2), as Ryan notes:
As a little bonus, [version] 2.3.2 allows you to define a custom DB error [...]]]></description>
			<content:encoded><![CDATA[<p>Personalizing database down error for Wordpress powered sites was one of the <a href="http://comox.textdrive.com/pipermail/wp-hackers/2007-August/013828.html">suggestions I offered</a> humbly to the Wordpress team back in August 2007. Happy to note that it&#8217;s now in place in the latest Wordpress update (version 2.3.2), as <a href="http://wordpress.org/development/2007/12/wordpress-232/">Ryan notes</a>:</p>
<blockquote cite="http://wordpress.org/development/2007/12/wordpress-232/" title="Ryan Boren: Wordpress 2.3.2"><p>As a little bonus, [version] 2.3.2 allows you to define a custom DB error page. Place your custom template at wp-content/db-error.php. If WP has a problem connecting to your database, this page will [be] displayed rather than the default error message.</p></blockquote>
<p>It is important to note that the custom db error page file is not under the theme folder, but rather in <code>wp-content</code> folder. Also, it is important to avoid using any template tag (in <code>db-error.php</code>)<sup>1</sup> that queries the database for stored information; because when the database is down, you cannot get a reply back from the database to show the queried info on the error page. Obvious, but if it wasn&#8217;t to you, then you know now.</p>
<p>As always, Wordpress team listens&#8212;that&#8217;s something I really like about them. It doesn&#8217;t matter who you are, your suggestions are always considered. That&#8217;s the strength of the community.</p>
<ol class="footnotes">
<li id="footnote_0_1701" class="footnote">I use plain html/php coded content in my <code>db-error.php</code> file.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fpersonalize-db-errors-now-with-wordpress-232&amp;seed_title=Personalize+db+errors+now+with+Wordpress+2.3.2/feed</wfw:commentRss>
		</item>
		<item>
		<title>Table tweak for a faster blog</title>
		<link>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Ftable-tweak-for-a-faster-blog&amp;seed_title=Table+tweak+for+a+faster+blog</link>
		<comments>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Ftable-tweak-for-a-faster-blog&amp;seed_title=Table+tweak+for+a+faster+blog#comments</comments>
		<pubDate>Tue, 24 Jul 2007 20:58:58 +0000</pubDate>
		<dc:creator>Chyetanya Kunte</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[Geekspeak]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://ckunte.com/archives/table-tweak-for-a-faster-blog</guid>
		<description><![CDATA[This is what happens when you&#8217;re busy shifting base&#8212;you lose track of useful signal. I was out of sync when Mr Wordpress slipped-in this gem last December. I found it while Googling for Matt&#8217;s notes from MySQL Camp at Google. 
While I have no access to MySQL conf on my host to incorporate all the [...]]]></description>
			<content:encoded><![CDATA[<p>This is what happens when you&#8217;re busy <a href="http://ckunte.com/archives/the-wish">shifting base</a>&#8212;you lose track of useful signal. I was out of sync when <a href="http://photomatt.net/">Mr Wordpress</a> slipped-in <a href="http://comox.textdrive.com/pipermail/wp-hackers/2006-December/009809.html">this gem</a> last December. I found it while Googling for Matt&#8217;s <a href="http://photomatt.net/2006/11/10/mysql-camp-google-notes/">notes from MySQL Camp at Google</a>. <span id="more-1550"></span></p>
<p>While I have no access to MySQL conf on my host to incorporate all the recommended changes, I could still speed this site up a bit just by setting most of the tables to InnoDB engine (with the exception of <code>wp_posts</code> table, which still needs to be set to MyISAM engine due to <a href="http://dev.mysql.com/tech-resources/articles/storage-engine/part_3.html">lack of <code>FULLTEXT</code> index features in InnoDB</a>). In fact, <code>wp_posts</code> table refuses to be set to InnoDB when you try this&#8212;at least on my host:</p>
<p><code>ALTER TABLE wp_posts ENGINE = INNODB;</code></p>
<p>(Remember to replace the default <code>wp_</code> table suffix to whatever you&#8217;re using; I don&#8217;t use the default by the way.)</p>
<p>Honestly, I would be happy to see MyISAM++ out soon and supported on my host<sup>1</sup>, now that InnoDB&#8212;as a technology&#8212;is exclusively Oracle&#8217;s baby.
<ol class="footnotes">
<li id="footnote_0_1550" class="footnote">MyISAM++ is prophesied to have InnoDB&#8217;s features and more.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Ftable-tweak-for-a-faster-blog&amp;seed_title=Table+tweak+for+a+faster+blog/feed</wfw:commentRss>
		</item>
		<item>
		<title>Site search autodiscovery</title>
		<link>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fsite-search-autodiscovery&amp;seed_title=Site+search+autodiscovery</link>
		<comments>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fsite-search-autodiscovery&amp;seed_title=Site+search+autodiscovery#comments</comments>
		<pubDate>Mon, 11 Jun 2007 21:48:51 +0000</pubDate>
		<dc:creator>Chyetanya Kunte</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[Browser]]></category>

		<category><![CDATA[Design]]></category>

		<category><![CDATA[Geekspeak]]></category>

		<category><![CDATA[Plugins]]></category>

		<category><![CDATA[opensearch]]></category>

		<guid isPermaLink="false">http://ckunte.com/archives/site-search-autodiscovery</guid>
		<description><![CDATA[I&#8217;m down with Conjunctivitis, and doing all the things I am forbidden to do&#8212;surfing the internet, watching TV, reading a book and if that wasn&#8217;t enough, updating some code. And I just finished implementing search auto-discovery on this site1.
Much like auto-discovering feeds2, an Opensearch-standard compliant browser now auto-discovers the availability of search on this site.

Try [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m down with <a href="http://en.wikipedia.org/wiki/Conjunctivitis">Conjunctivitis</a>, and doing all the things I am forbidden to do&#8212;surfing the internet, watching TV, reading a book and if that wasn&#8217;t enough, updating some code. And I just finished implementing search auto-discovery on this site<sup>1</sup>.</p>
<p>Much like auto-discovering feeds<sup>2</sup>, an <a href="http://www.opensearch.org/Home">Opensearch</a>-standard compliant browser now auto-discovers the availability of search on this site.</p>
<p><img class='centered' src='http://ckunte.com/wp-content/uploads/2007/10/ckuntexml.png' alt='Open search' /></p>
<p>Try loading this site in a supported<sup>3</sup> browser. You&#8217;ll either notice a subtle search icon highlighted in the default browser theme&#8212;suggesting that there&#8217;s something you can add to your list of search plugins or more visibly via a &#8220;+&#8221; sign, if you use a theme like <a href="https://addons.mozilla.org/en-US/firefox/addon/3479">Winstripe</a>. Pull the search menu down and you&#8217;ll notice this: Add &#8220;ckunte.com&#8221;.</p>
<p>Enabling this on any site is easy. You&#8217;ll need to add the following<sup>4</sup> in your site&#8217;s header part of XHTML code. I&#8217;m using my (this) site&#8217;s code for example:</p>
<p><code>&lt;link rel="search" type="application/opensearchdescription+xml" href="/ckuntecom.xml" title="ckunte.com" /&gt;</code></p>
<p>(I had <a href="http://ckunte.com/archives/firefox-search-plugin-update">previously explained</a> the construction of Opensearch XML file&#8212;<code>ckuntecom.xml</code>, which enables search auto-discovery.)</p>
<p>As a user, for sites that do not offer this feature, you can always use <a href="http://ckunte.com/archives/opensearchfox">OpensearchFox</a>. But if you&#8217;re a site owner, it is probably a good idea to provide this option to your regular readers and referrers.
<ol class="footnotes">
<li id="footnote_0_1497" class="footnote">I am beginning to test Sneha&#8217;s patience now.</li>
<li id="footnote_1_1497" class="footnote">Via the orange feed icon on the right end of the address or location bar.</li>
<li id="footnote_2_1497" class="footnote">Available in Opensearch supported browsers&#8212;Firefox and Internet Explorer 7.</li>
<li id="footnote_3_1497" class="footnote">Change file location, file name and title as applicable.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fsite-search-autodiscovery&amp;seed_title=Site+search+autodiscovery/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
