<?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>szehau&#039;s weblog &#187; programming</title>
	<atom:link href="http://www.szehau.com/archives/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.szehau.com</link>
	<description>Life, Internet, Software, Gadgets, Programming and Investments</description>
	<lastBuildDate>Wed, 02 Jun 2010 16:24:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Monthly Repayment for Housing Loan</title>
		<link>http://www.szehau.com/archives/2009/07/monthly-repayment-for-housing-loan/</link>
		<comments>http://www.szehau.com/archives/2009/07/monthly-repayment-for-housing-loan/#comments</comments>
		<pubDate>Sun, 05 Jul 2009 17:23:21 +0000</pubDate>
		<dc:creator>szehau</dc:creator>
				<category><![CDATA[internet]]></category>
		<category><![CDATA[investment]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[loan]]></category>
		<category><![CDATA[property]]></category>

		<guid isPermaLink="false">http://www.szehau.com/?p=617</guid>
		<description><![CDATA[Every time when I reading newspaper or websites and come across advertisement about properties (e.g. houses or shops), I always think how much I will need to pay monthly if after I got a loan from bank. And also what if I put more down payments, what would be my monthly repayment? Will it be [...]]]></description>
			<content:encoded><![CDATA[<p>Every time when I reading newspaper or websites and come across advertisement about properties (e.g. houses or shops), I always think how much I will need to pay monthly if after I got a loan from bank. And also what if I put more down payments, what would be my monthly repayment? Will it be much different?</p>
<p><span id="more-617"></span></p>
<p><applet code="MortgagePaymentCalculator.CalculatorApplet" codebase="http://tools.snippetit.com/applet/" archive="MortgagePaymentCalculator.jar" width="320" height="240"></p>
<param name="property_price" value="200000" />
<param name="loan_terms" value="30" />
<param name="interest_rate" value="6.00" />
<param name="down_payment" value="10000" />
</applet></p>
<p>So I decide to write myself a simple program. It is based on fixed rate mortgage. This simple program gives me a brief idea on the monthly repayment I will need to make if I take a loan from bank. Simple key in the total property price, down payment, annual interest rate and terms of loan, then the program will calculate the monthly payment for you.</p>
<p>Your can put the little program at your website too. Simple get the code at <a title="Mortgage Payment Calculator" href="http://www.snippetit.com/2009/07/java-mortgage-payment-calculator/">Mortgage Payment Calculator</a>.</p>
<h2  class="related_post_title">Related Articles</h2><ul class="related_post"><li><a href="http://www.szehau.com/archives/2009/07/reit-real-estate-investment-trust/" title="REIT &#8211; Real Estate Investment Trust">REIT &#8211; Real Estate Investment Trust</a></li><li><a href="http://www.szehau.com/archives/2009/06/trade-online-with-cheaper-brokerage-rate-at-hlebroking/" title="Trade Online With Cheaper Brokerage Rate At HLeBroking">Trade Online With Cheaper Brokerage Rate At HLeBroking</a></li><li><a href="http://www.szehau.com/archives/2009/05/house-an-asset-or-liability/" title="House: An asset or liability?">House: An asset or liability?</a></li><li><a href="http://www.szehau.com/archives/2009/04/public-mutual-online-experience/" title="Public Mutual Online Experience">Public Mutual Online Experience</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.szehau.com/archives/2009/07/monthly-repayment-for-housing-loan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blogs Updates for February 2009</title>
		<link>http://www.szehau.com/archives/2009/05/blogs-updates-for-february-2009-2/</link>
		<comments>http://www.szehau.com/archives/2009/05/blogs-updates-for-february-2009-2/#comments</comments>
		<pubDate>Sun, 03 May 2009 06:22:31 +0000</pubDate>
		<dc:creator>szehau</dc:creator>
				<category><![CDATA[internet]]></category>
		<category><![CDATA[life log]]></category>
		<category><![CDATA[online revenue]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.szehau.com/?p=527</guid>
		<description><![CDATA[Below are the updates from my other blogs:

Iconfinder.net - New Logo New Features
Another free icon search engine - veryicon.com
System Architecture Analysis - Google Chrome vs Internet Explore 8
Wordpress Plugin - Blogtal Trackback
PHP: Short URL Algorithm Implementation
Java: Randomly sort values in a array (the generic way) in single pass
How Do You Know When Your Site Get [...]]]></description>
			<content:encoded><![CDATA[<p>Below are the updates from my other blogs:</p>
<ul>
<li><a title="Permanent Link to Iconfinder.net - New Logo New Features" rel="bookmark" href="http://www.snippetit.com/2009/04/iconfindernet-new-logo-new-features/">Iconfinder.net - New Logo New Features</a></li>
<li><a title="Permanent Link to Another free icon search engine - veryicon.com" rel="bookmark" href="http://www.snippetit.com/2009/04/another-free-icon-search-engine-veryiconcom/">Another free icon search engine - veryicon.com</a></li>
<li><a title="Permanent Link to System Architecture Analysis - Google Chrome vs Internet Explore 8" rel="bookmark" href="http://www.snippetit.com/2009/04/system-architecture-analysis-google-chrome-vs-internet-explore-8/">System Architecture Analysis - Google Chrome vs Internet Explore 8</a></li>
<li><a title="Permanent Link to Wordpress Plugin - Blogtal Trackback" rel="bookmark" href="http://www.snippetit.com/2009/04/wordpress-plugin-blogtal-trackback/">Wordpress Plugin - Blogtal Trackback</a></li>
<li><a title="Permanent Link to PHP: Short URL Algorithm Implementation" rel="bookmark" href="http://www.snippetit.com/2009/04/php-short-url-algorithm-implementation/">PHP: Short URL Algorithm Implementation</a></li>
<li><a title="Permanent Link to Java: Randomly sort values in a array (the generic way) in single pass" rel="bookmark" href="http://www.snippetit.com/2009/04/java-randomly-sort-values-in-a-array-the-generic-way-in-single-pasas/">Java: Randomly sort values in a array (the generic way) in single pass</a></li>
<li><a title="Permanent Link to How Do You Know When Your Site Get Indexed in Google Search Engine?" rel="bookmark" href="http://www.snippetit.com/2009/04/how-do-you-know-when-your-site-get-indexed-in-google-search-engine/">How Do You Know When Your Site Get Indexed in Google Search Engine?</a></li>
<li><a title="Permanent Link to Gmail: Inserting Images" rel="bookmark" href="http://www.snippetit.com/2009/04/gmail-inserting-images/">Gmail: Inserting Images</a></li>
<li><a title="Permanent Link to C#: Unix Time to .Net DateTime and Vice Versa" rel="bookmark" href="http://www.snippetit.com/2009/04/c-unix-time-to-net-datetime-and-vice-versa/">C#: Unix Time to .Net DateTime and Vice Versa</a></li>
<li><a title="Permanent Link to I Hate Spam Blogs" rel="bookmark" href="http://www.snippetit.com/2009/04/i-hate-spam-blogs/">I Hate Spam Blogs</a></li>
<li><a title="Permanent Link to How to Add Advertisement Code to Wordpress Theme’s Sidebar" rel="bookmark" href="http://www.snippetit.com/2009/04/how-to-add-advertisement-code-to-wordpress-themes-sidebar/">How to Add Advertisement Code to Wordpress Theme’s Sidebar</a></li>
<li><a title="Permanent Link to How to Monetize Your Youtube Video" rel="bookmark" href="http://www.snippetit.com/2009/04/how-to-monetize-your-youtube-video/">How to Monetize Your Youtube Video</a></li>
<li><a title="Permanent Link to Wordpress Plugin - Default Trackbacks" rel="bookmark" href="http://www.snippetit.com/2009/04/wordpress-plugin-default-trackbacks/">Wordpress Plugin - Default Trackbacks</a></li>
<li><a title="Permanent Link to How to Request Reconsideration for Inclusion in Google Search Results" rel="bookmark" href="http://www.snippetit.com/2009/04/how-to-request-reconsideration-for-inclusion-in-google-search-results/">How to Request Reconsideration for Inclusion in Google Search Results</a></li>
<li><a title="Permanent Link to PHP: session_start() - No such file or directory error" rel="bookmark" href="http://www.snippetit.com/2009/04/php-session_start-no-such-file-or-directory-error/">PHP: session_start() - No such file or directory error</a></li>
<li><a title="Permanent Link to PHP: Format integer into number of decimal places" rel="bookmark" href="http://www.snippetit.com/2009/04/php-format-integer-into-number-of-decimal-places/">PHP: Format integer into number of decimal places</a></li>
<li><a title="Permanent Link to HTC Touch Diamond2" rel="bookmark" href="http://www.allgadget.com/2009/04/htc-touch-diamond2/">HTC Touch Diamond2</a></li>
<li><a title="Permanent Link to Show Your iPhone Screen Live on Your Mac Desktop" rel="bookmark" href="http://www.allgadget.com/2009/04/show-your-iphone-screen-live-on-your-mac-desktop/">Show Your iPhone Screen Live on Your Mac Desktop</a></li>
<li><a title="Permanent Link to Dell’s Studio One 19" rel="bookmark" href="http://www.allgadget.com/2009/04/dell%e2%80%99s-studio-one-19/">Dell’s Studio One 19</a></li>
<li><a title="Permanent Link to Dell Adamo Laptop" rel="bookmark" href="http://www.allgadget.com/2009/04/dell-adamo-laptop/">Dell Adamo Laptop</a></li>
<li><a title="Permanent Link to Nikon D5000 DSLR" rel="bookmark" href="http://www.allgadget.com/2009/04/nikon-d5000-dslr/">Nikon D5000 DSLR</a></li>
<li><a title="Permanent Link to EagleTec USB Nano Flash Drive" rel="bookmark" href="http://www.allgadget.com/2009/04/eagletec-usb-nano-flash-drive/">EagleTec USB Nano Flash Drive</a></li>
<li><a title="Permanent Link to Windows 7" rel="bookmark" href="http://www.vistatalks.net/2009/04/windows-7/">Windows 7</a></li>
<li><a title="Permanent Link to Internet Explorer 8" rel="bookmark" href="http://www.vistatalks.net/2009/04/internet-explorer-8/">Internet Explorer 8</a></li>
<li><a title="Permanent Link to Merge multiple PDF files in single PDF file" rel="bookmark" href="http://www.vistatalks.net/2009/04/merge-multiple-pdf-files-in-single-pdf-file/">Merge multiple PDF files in single PDF file</a></li>
<li><a title="Permanent Link to TortoiseSVN - Graphical User Interface for Windows to (Sub)version Control" rel="bookmark" href="http://www.vistatalks.net/2009/04/tortoisesvn-graphical-user-interface-for-windows-to-subversion-control/">TortoiseSVN - Graphical User Interface for Windows to (Sub)version Control</a></li>
<li><a title="Permanent Link to A Feature in IE8 Browser That All Other Browser Should Have" rel="bookmark" href="http://www.vistatalks.net/2009/04/a-feature-in-ie8-browser-that-all-other-browser-should-have/">A Feature in IE8 Browser That All Other Browser Should Have</a></li>
<li><a title="Permanent Link to Windows Vista - List All Files in Current Directory and Sub-Directories" rel="bookmark" href="http://www.vistatalks.net/2009/04/windows-vista-list-all-files-in-current-directory-and-sub-directories/">Windows Vista - List All Files in Current Directory and Sub-Directories</a></li>
<li><a title="Permanent Link to How to launch Google Chrome with new browsing session?" rel="bookmark" href="http://www.vistatalks.net/2009/04/how-to-launch-google-chrome-with-new-browsing-session/">How to launch Google Chrome with new browsing session?</a></li>
<li><a title="Permanent Link to How to Backup Google Chrome User Data?" rel="bookmark" href="http://www.vistatalks.net/2009/04/how-to-backup-google-chrome-user-data/">How to Backup Google Chrome User Data?</a></li>
<li><a title="Permanent Link to Windows Vista Keyboard Shortcuts for Microsoft Keyboard" rel="bookmark" href="http://www.vistatalks.net/2009/04/windows-vista-keyboard-shortcuts-for-microsoft-keyboard/">Windows Vista Keyboard Shortcuts for Microsoft Keyboard</a></li>
<li><a title="Permanent Link to Download Youtube videos with single click using RealPlayer 11" rel="bookmark" href="http://www.vistatalks.net/2009/04/download-youtube-videos-with-single-click-using-realplayer-11/">Download Youtube videos with single click using RealPlayer 11</a></li>
<li><a title="Permanent Link to How to Add Shortcuts to Any Program on Your Desktop Context Menu" rel="bookmark" href="http://www.vistatalks.net/2009/04/how-to-add-shortcuts-to-any-program-on-your-desktop-context-menu/">How to Add Shortcuts to Any Program on Your Desktop Context Menu</a></li>
<li><a title="Permanent Link to How to uninstall IE8 in Windows Vista" rel="bookmark" href="http://www.vistatalks.net/2009/04/how-to-uninstall-ie8-in-windows-vista/">How to uninstall IE8 in Windows Vista</a></li>
</ul>
<p>It seem's a lot but it is actually not much for one month :)</p>
<h2  class="related_post_title">Most Commented Posts</h2><ul class="related_post"><li><a href="http://www.szehau.com/archives/2005/07/default-trackbacks/" title="Default Trackbacks">Default Trackbacks</a></li><li><a href="http://www.szehau.com/archives/2005/11/snow-wolf-lake/" title="Snow Wolf Lake">Snow Wolf Lake</a></li><li><a href="http://www.szehau.com/archives/2008/04/working-holiday-at-new-zealand-the-journey-begun/" title="Working Holiday at New Zealand &#8211; The journey begun">Working Holiday at New Zealand &#8211; The journey begun</a></li><li><a href="http://www.szehau.com/archives/2006/07/enable-htaccess-and-url-rewriting-in-apache-for-windows/" title="Enable .htaccess and url rewriting in Apache for Windows">Enable .htaccess and url rewriting in Apache for Windows</a></li><li><a href="http://www.szehau.com/archives/2005/09/snow-wolf-lake-in-malaysia/" title="Snow Wolf Lake in Malaysia">Snow Wolf Lake in Malaysia</a></li><li><a href="http://www.szehau.com/archives/2008/08/working-at-rakaia/" title="Working at Rakaia">Working at Rakaia</a></li><li><a href="http://www.szehau.com/archives/2006/02/get-banned-by-pps/" title="Get banned by PPS">Get banned by PPS</a></li><li><a href="http://www.szehau.com/archives/2005/07/google-adsense-cheque/" title="Google Adsense Cheque">Google Adsense Cheque</a></li><li><a href="http://www.szehau.com/archives/2005/12/wordpress-20-upgraded-successfully/" title="Wordpress 2.0 upgraded successfully">Wordpress 2.0 upgraded successfully</a></li><li><a href="http://www.szehau.com/archives/2006/01/recent-wordpress-posts-in-sidebar/" title="Recent Wordpress Posts in Sidebar">Recent Wordpress Posts in Sidebar</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.szehau.com/archives/2009/05/blogs-updates-for-february-2009-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress Plugin &#8211; Default Trackbacks &#8211; Reborn</title>
		<link>http://www.szehau.com/archives/2009/04/wordpress-plugin-default-trackbacks-reborn/</link>
		<comments>http://www.szehau.com/archives/2009/04/wordpress-plugin-default-trackbacks-reborn/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 05:31:56 +0000</pubDate>
		<dc:creator>szehau</dc:creator>
				<category><![CDATA[internet]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[trackback]]></category>
		<category><![CDATA[wordpress plugin]]></category>

		<guid isPermaLink="false">http://www.szehau.com/?p=514</guid>
		<description><![CDATA[Finally Default Trackbacks is reborn. It is the newer version of my old Default Trackbacks Wordpress plugin that I wrote 4 years ago.

The main changes in the new plugin is that now you can save trackback URLs in Worpdress administration page instead of text file and also improvement in prevention of sending double trackbacks to [...]]]></description>
			<content:encoded><![CDATA[<p>Finally <a href="http://www.snippetit.com/2009/04/wordpress-plugin-default-trackbacks/">Default Trackbacks</a> is reborn. It is the newer version of my <a href="http://www.szehau.com/archives/2005/07/default-trackbacks/">old Default Trackbacks</a> Wordpress plugin that I wrote 4 years ago.<br />
<span id="more-514"></span></p>
<p>The main changes in the new plugin is that now you can save trackback URLs in Worpdress administration page instead of text file and also improvement in prevention of sending double trackbacks to the same URL.</p>
<p>You can download the new plugin <a href="http://www.snippetit.com/2009/04/wordpress-plugin-default-trackbacks/">here</a> or <a href="http://wordpress.org/extend/plugins/default-trackbacks/">Wordpress Plugin</a> website or alternately download directly from your Wordpress admin page by searching the keywords “default trackbacks”.</p>
<h2  class="related_post_title">Related Articles</h2><ul class="related_post"><li><a href="http://www.szehau.com/archives/2009/04/wordpress-plugin-submission-approved/" title="Wordpress Plugin Submission &#8211; Approved">Wordpress Plugin Submission &#8211; Approved</a></li><li><a href="http://www.szehau.com/archives/2009/04/a-wordpress-plugin-for-blogtal/" title="A Wordpress Plugin for Blogtal">A Wordpress Plugin for Blogtal</a></li><li><a href="http://www.szehau.com/archives/2009/04/pps-unbanned-my-blog/" title="PPS Unbanned My Blog">PPS Unbanned My Blog</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.szehau.com/archives/2009/04/wordpress-plugin-default-trackbacks-reborn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PPS Unbanned My Blog</title>
		<link>http://www.szehau.com/archives/2009/04/pps-unbanned-my-blog/</link>
		<comments>http://www.szehau.com/archives/2009/04/pps-unbanned-my-blog/#comments</comments>
		<pubDate>Sat, 18 Apr 2009 08:18:41 +0000</pubDate>
		<dc:creator>szehau</dc:creator>
				<category><![CDATA[internet]]></category>
		<category><![CDATA[life log]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[blog portal]]></category>
		<category><![CDATA[blogtal]]></category>
		<category><![CDATA[ping]]></category>
		<category><![CDATA[PPS]]></category>
		<category><![CDATA[trackback]]></category>

		<guid isPermaLink="false">http://www.szehau.com/?p=504</guid>
		<description><![CDATA[After 3 years, finally PPS has unbanned my blog. 3 years ago the owner of PPS banned my blog due to the reason my blog was sending multiple pings to PPS at the same time. As I had explained in my previous post, that was not my fault. Due the behaviour of web, you can get [...]]]></description>
			<content:encoded><![CDATA[<p>After 3 years, finally PPS has unbanned my blog. 3 years ago the owner of <a href="http://www.petalingstreet.org" target="_blank">PPS</a> <a href="http://www.szehau.com/archives/2006/02/get-banned-by-pps/">banned my blog</a> due to the reason my blog was sending multiple pings to PPS at the same time. As I had explained in my previous post, that was not my fault. Due the behaviour of web, you can get duplicate pings at anytime.</p>
<p><a href="http://www.liewcf.com/blog/archives/2009/03/project-petaling-street-sold/" target="_blank">Now PPS has a new owner</a>. Hopefully the <a href="http://www.liewcf.com/blog/archives/2009/03/project-petaling-street-sold/">new PPS</a> and the new owner will have better handling on duplicate pings and also better ping mechanism. Now anyone who know the PPS public ping URL can actually send anonymous pings to PPS.</p>
<p>I have a <a title="Blog Portal" href="http://www.blogtal.com/">blog porta</a>l project which handles duplicate trackbacks pretty well and until now I still haven't encountered any serious bugs or problem. I'm now working and testing on my old <a href="http://www.szehau.com/archives/2005/07/default-trackbacks/">default trackbacks plugin</a> to make it more user friendly in Wordpress enviroment and also to enhance the plugin to prevent sending multiple trackback for a post.</p>
<h2  class="related_post_title">Related Articles</h2><ul class="related_post"><li><a href="http://www.szehau.com/archives/2009/04/a-wordpress-plugin-for-blogtal/" title="A Wordpress Plugin for Blogtal">A Wordpress Plugin for Blogtal</a></li><li><a href="http://www.szehau.com/archives/2009/04/wordpress-plugin-default-trackbacks-reborn/" title="Wordpress Plugin &#8211; Default Trackbacks &#8211; Reborn">Wordpress Plugin &#8211; Default Trackbacks &#8211; Reborn</a></li><li><a href="http://www.szehau.com/archives/2009/04/wordpress-plugin-submission-approved/" title="Wordpress Plugin Submission &#8211; Approved">Wordpress Plugin Submission &#8211; Approved</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.szehau.com/archives/2009/04/pps-unbanned-my-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Wordpress Plugin for Blogtal</title>
		<link>http://www.szehau.com/archives/2009/04/a-wordpress-plugin-for-blogtal/</link>
		<comments>http://www.szehau.com/archives/2009/04/a-wordpress-plugin-for-blogtal/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 18:37:42 +0000</pubDate>
		<dc:creator>szehau</dc:creator>
				<category><![CDATA[internet]]></category>
		<category><![CDATA[life log]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[blogtal]]></category>
		<category><![CDATA[trackback]]></category>
		<category><![CDATA[wordpress plugin]]></category>

		<guid isPermaLink="false">http://www.szehau.com/?p=466</guid>
		<description><![CDATA[Finally have some free time to do something for my websites. I have just wrote a Wordpress plugin for Blogtal. It is a plugin to send trackback of a newly published post in Wordpress to www.blogtal.com. I called the plugin "Blogtal Trackback".

Unlike the older version of my plugin, Default Trackback, Blogtal Trackback will not send [...]]]></description>
			<content:encoded><![CDATA[<p>Finally have some free time to do something for my websites. I have just wrote a Wordpress plugin for <a href="http://www.blogtal.com/">Blogtal</a>. It is a plugin to send trackback of a newly published post in Wordpress to www.blogtal.com. I called the plugin "<a href="http://www.snippetit.com/2009/04/wordpress-plugin-blogtal-trackback/">Blogtal Trackback</a>".</p>
<p><span id="more-466"></span></p>
<p>Unlike the older version of my plugin, <a href="http://www.szehau.com/archives/2005/07/default-trackbacks/">Default Trackback</a>, Blogtal Trackback will not send trackback to Blogtal when you are saving a published post. You also can configure the trackback settings inside Wordpress' admin page.</p>
<p>For those who has registered with Blogtal, using Wordpress as their blog platform and still using manual trackback at www.blogtal.com or not sending trackback at all, you can try installing this plugin.</p>
<p>If you have any comment/question about the plugin, please do not hesitate to leave a message <a href="http://www.snippetit.com/2009/04/wordpress-plugin-blogtal-trackback/#respond">here</a>.</p>
<h2  class="related_post_title">Related Articles</h2><ul class="related_post"><li><a href="http://www.szehau.com/archives/2009/04/wordpress-plugin-default-trackbacks-reborn/" title="Wordpress Plugin &#8211; Default Trackbacks &#8211; Reborn">Wordpress Plugin &#8211; Default Trackbacks &#8211; Reborn</a></li><li><a href="http://www.szehau.com/archives/2009/04/pps-unbanned-my-blog/" title="PPS Unbanned My Blog">PPS Unbanned My Blog</a></li><li><a href="http://www.szehau.com/archives/2009/04/wordpress-plugin-submission-approved/" title="Wordpress Plugin Submission &#8211; Approved">Wordpress Plugin Submission &#8211; Approved</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.szehau.com/archives/2009/04/a-wordpress-plugin-for-blogtal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to map a long URL to a shorter one?</title>
		<link>http://www.szehau.com/archives/2008/10/how-to-map-a-long-url-to-a-shorted-one/</link>
		<comments>http://www.szehau.com/archives/2008/10/how-to-map-a-long-url-to-a-shorted-one/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 03:59:38 +0000</pubDate>
		<dc:creator>szehau</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[short URL]]></category>
		<category><![CDATA[tiny URL]]></category>

		<guid isPermaLink="false">http://www.szehau.com/archives/2008/10/how-to-map-a-long-url-to-a-shorted-one/</guid>
		<description><![CDATA[I have just wrote an article about mapping a long URL with a shorted URL. It works like tinyurl.com but this is my own implementation. There is no source code available and it is simple an idea how I will do it.

http://www.snippetit.com/2008/10/implement-your-own-short-url/
Have a look!
Most Commented PostsDefault TrackbacksSnow Wolf LakeWorking Holiday at New Zealand &#8211; The [...]]]></description>
			<content:encoded><![CDATA[<p>I have just wrote an article about mapping a long URL with a shorted URL. It works like tinyurl.com but this is my own implementation. There is no source code available and it is simple an idea how I will do it.</p>
<p><span id="more-359"></span>
<p><a title="http://www.snippetit.com/2008/10/implement-your-own-short-url/" href="http://www.snippetit.com/2008/10/implement-your-own-short-url/">http://www.snippetit.com/2008/10/implement-your-own-short-url/</a></p>
<p>Have a look!</p>
<h2  class="related_post_title">Most Commented Posts</h2><ul class="related_post"><li><a href="http://www.szehau.com/archives/2005/07/default-trackbacks/" title="Default Trackbacks">Default Trackbacks</a></li><li><a href="http://www.szehau.com/archives/2005/11/snow-wolf-lake/" title="Snow Wolf Lake">Snow Wolf Lake</a></li><li><a href="http://www.szehau.com/archives/2008/04/working-holiday-at-new-zealand-the-journey-begun/" title="Working Holiday at New Zealand &#8211; The journey begun">Working Holiday at New Zealand &#8211; The journey begun</a></li><li><a href="http://www.szehau.com/archives/2006/07/enable-htaccess-and-url-rewriting-in-apache-for-windows/" title="Enable .htaccess and url rewriting in Apache for Windows">Enable .htaccess and url rewriting in Apache for Windows</a></li><li><a href="http://www.szehau.com/archives/2005/09/snow-wolf-lake-in-malaysia/" title="Snow Wolf Lake in Malaysia">Snow Wolf Lake in Malaysia</a></li><li><a href="http://www.szehau.com/archives/2008/08/working-at-rakaia/" title="Working at Rakaia">Working at Rakaia</a></li><li><a href="http://www.szehau.com/archives/2006/02/get-banned-by-pps/" title="Get banned by PPS">Get banned by PPS</a></li><li><a href="http://www.szehau.com/archives/2005/07/google-adsense-cheque/" title="Google Adsense Cheque">Google Adsense Cheque</a></li><li><a href="http://www.szehau.com/archives/2005/12/wordpress-20-upgraded-successfully/" title="Wordpress 2.0 upgraded successfully">Wordpress 2.0 upgraded successfully</a></li><li><a href="http://www.szehau.com/archives/2006/01/recent-wordpress-posts-in-sidebar/" title="Recent Wordpress Posts in Sidebar">Recent Wordpress Posts in Sidebar</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.szehau.com/archives/2008/10/how-to-map-a-long-url-to-a-shorted-one/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New theme on the blog</title>
		<link>http://www.szehau.com/archives/2008/03/new-theme-on-the-blog/</link>
		<comments>http://www.szehau.com/archives/2008/03/new-theme-on-the-blog/#comments</comments>
		<pubDate>Fri, 28 Mar 2008 18:02:22 +0000</pubDate>
		<dc:creator>szehau</dc:creator>
				<category><![CDATA[internet]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[adsense]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[search engine]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[widget]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.szehau.com/archives/2008/03/new-theme-on-the-blog/</guid>
		<description><![CDATA[I have just created a new theme for szehau.com as it is running in these site now. The is widget-able theme. I think I will be using this for my blogs in future. If you see a blog with theme similar to this one, it may be my blog :)

Summarily, the theme has the following [...]]]></description>
			<content:encoded><![CDATA[<p>I have just created a new theme for szehau.com as it is running in these site now. The is widget-able theme. I think I will be using this for my blogs in future. If you see a blog with theme similar to this one, it may be my blog :)</p>
<p><span id="more-196"></span></p>
<p>Summarily, the theme has the following features:</p>
<ul>
<li>optimized for search engines (hopefully).</li>
<li>configurable Adsense codes at a separate PHP files so that you won't need to modify each PHP file everytime you do an update to the Adsense code (e.g. change layout and channel).</li>
<li>automated insertion of adsense code in the post. it detects the &gt;!--more&lt; code and replace it with Adsense code</li>
<li>widget-able. you are allowed to add any widget to the sidebar from the administrative page</li>
<li>a special page for Google Adsense search result</li>
</ul>
<p>Actually the coding work is pretty simple. I just need to modify the default theme came with Wordpress to apply my design. I hope my blog readers will find these theme is more pleasant to read :)</p>
<h2  class="related_post_title">Related Articles</h2><ul class="related_post"><li><a href="http://www.szehau.com/archives/2009/11/new-wordpress-theme-and-blog/" title="New Wordpress Theme and Blog">New Wordpress Theme and Blog</a></li><li><a href="http://www.szehau.com/archives/2008/04/wordpress-25/" title="Wordpress 2.5">Wordpress 2.5</a></li><li><a href="http://www.szehau.com/archives/2008/12/google-adsense-site-error/" title="Google Adsense Site Error">Google Adsense Site Error</a></li><li><a href="http://www.szehau.com/archives/2008/10/spam-links-at-googles-blog/" title="Spam links at Google&#8217;s blog">Spam links at Google&#8217;s blog</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.szehau.com/archives/2008/03/new-theme-on-the-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setup Multiple Virtual Host in Apache (Windows)</title>
		<link>http://www.szehau.com/archives/2007/08/setup-multiple-virtual-host-in-apache-windows/</link>
		<comments>http://www.szehau.com/archives/2007/08/setup-multiple-virtual-host-in-apache-windows/#comments</comments>
		<pubDate>Mon, 27 Aug 2007 12:52:33 +0000</pubDate>
		<dc:creator>szehau</dc:creator>
				<category><![CDATA[internet]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.szehau.com/archives/2007/08/setup-multiple-virtual-host-in-apache-windows/</guid>
		<description><![CDATA[Recently I need to maintain multiple websites' source code (PHP) at the same time at local host. Every time I need test another website, I need to modify the httpd.conf configuration file and restart the Apache server. After some researches on the internet, I manage to find a way to setup multiple virtual host.


Modify  [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I need to maintain multiple websites' source code (PHP) at the same time at local host. Every time I need test another website, I need to modify the httpd.conf configuration file and restart the Apache server. After some researches on the internet, I manage to find a way to setup multiple virtual host.</p>
<p><span id="more-192"></span></p>
<ul>
<li>Modify  httpd.conf to add in the following code after the "LoadModule xxx" lines:<code></code></li>
<li><code>NameVirtualHost 127.0.0.1<br />
&lt;VirtualHost 127.0.0.1&gt;<br />
DocumentRoot "C:\php\site1"<br />
ServerName site1<br />
&lt;/VirtualHost&gt;<br />
&lt;VirtualHost 127.0.0.1&gt;<br />
DocumentRoot "C:\php\site2"<br />
ServerName site2<br />
&lt;/VirtualHost&gt;</code></li>
<li>Where "C:\php\site1" and "C:\php\site2" is the path to files for virtual host "site1" and "site2" respectively.</li>
<li>Restart Apache Httpd service.</li>
<li>Edit the file in "C:\[Windows]\System32\drivers\etc\hosts and add in the following lines:</li>
<li><code>127.0.0.1     site2<br />
127.0.0.1     site1</code></li>
<li>Point your browser to "http://site1/" or "http://site2" and will be execute to both site1 and site2 code.</li>
</ul>
<p>Hope this bookmark help you too.</p>
<h2  class="related_post_title">Most Commented Posts</h2><ul class="related_post"><li><a href="http://www.szehau.com/archives/2005/07/default-trackbacks/" title="Default Trackbacks">Default Trackbacks</a></li><li><a href="http://www.szehau.com/archives/2005/11/snow-wolf-lake/" title="Snow Wolf Lake">Snow Wolf Lake</a></li><li><a href="http://www.szehau.com/archives/2008/04/working-holiday-at-new-zealand-the-journey-begun/" title="Working Holiday at New Zealand &#8211; The journey begun">Working Holiday at New Zealand &#8211; The journey begun</a></li><li><a href="http://www.szehau.com/archives/2006/07/enable-htaccess-and-url-rewriting-in-apache-for-windows/" title="Enable .htaccess and url rewriting in Apache for Windows">Enable .htaccess and url rewriting in Apache for Windows</a></li><li><a href="http://www.szehau.com/archives/2005/09/snow-wolf-lake-in-malaysia/" title="Snow Wolf Lake in Malaysia">Snow Wolf Lake in Malaysia</a></li><li><a href="http://www.szehau.com/archives/2008/08/working-at-rakaia/" title="Working at Rakaia">Working at Rakaia</a></li><li><a href="http://www.szehau.com/archives/2006/02/get-banned-by-pps/" title="Get banned by PPS">Get banned by PPS</a></li><li><a href="http://www.szehau.com/archives/2005/07/google-adsense-cheque/" title="Google Adsense Cheque">Google Adsense Cheque</a></li><li><a href="http://www.szehau.com/archives/2005/12/wordpress-20-upgraded-successfully/" title="Wordpress 2.0 upgraded successfully">Wordpress 2.0 upgraded successfully</a></li><li><a href="http://www.szehau.com/archives/2006/01/recent-wordpress-posts-in-sidebar/" title="Recent Wordpress Posts in Sidebar">Recent Wordpress Posts in Sidebar</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.szehau.com/archives/2007/08/setup-multiple-virtual-host-in-apache-windows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Install Apache Httpd in Windows Vista</title>
		<link>http://www.szehau.com/archives/2007/08/install-apache-httpd-in-windows-vista/</link>
		<comments>http://www.szehau.com/archives/2007/08/install-apache-httpd-in-windows-vista/#comments</comments>
		<pubDate>Sun, 26 Aug 2007 11:55:25 +0000</pubDate>
		<dc:creator>szehau</dc:creator>
				<category><![CDATA[internet]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.szehau.com/archives/2007/08/install-apache-httpd-in-windows-vista/</guid>
		<description><![CDATA[Just bought a Dell notebook installed with Windows Vista recently. I tried to install the Apache Httpd web server in Windows Vista but failed and keep getting "error" box every time the computer is started up.

Finally I found a way to install the latest Apache Httpd in my notebook:

Uninstall any previous Apache Httpd.
Turn off your [...]]]></description>
			<content:encoded><![CDATA[<p>Just bought a Dell notebook installed with Windows Vista recently. I tried to install the Apache Httpd web server in Windows Vista but failed and keep getting "error" box every time the computer is started up.</p>
<p><span id="more-191"></span></p>
<p>Finally I found a way to install the latest Apache Httpd in my notebook:</p>
<ol>
<li>Uninstall any previous Apache Httpd.</li>
<li>Turn off your firewall and User Account Control (UAC) in Control Panel.</li>
<li>Download the latest version of Apache Httpd from <a href="http://httpd.apache.org/" title="Apache Httpd" target="_blank">http://httpd.apache.org/</a>.</li>
<li>Click Start &gt; All Programs &gt; Accessories and right click on Command Prompt and choose "Run as Administrator".</li>
<li>Change to folder where you put the installation file.</li>
<li>Type "msiexec/i installation_filename" at the command prompt.</li>
<li>Run through the installation. Type in everything (even though you running as localhost) else you will not be able to start the apache service.</li>
<li>After the installation is completed, reboot your computer.</li>
<li>To remove the"error" box on Windows Vista startup, goto Start &gt; All Programs &gt; Startup and remove the Apache Httpd's link.</li>
<li>Browse to http://localhost and it should show "It's work" message.</li>
<li>Turn on back your firewall and User Account Control if you want.</li>
<li>Done.</li>
</ol>
<p>Hope this information will help you to save time on installing Apache Httpd in Windows Vista.</p>
<h2  class="related_post_title">Most Commented Posts</h2><ul class="related_post"><li><a href="http://www.szehau.com/archives/2005/07/default-trackbacks/" title="Default Trackbacks">Default Trackbacks</a></li><li><a href="http://www.szehau.com/archives/2005/11/snow-wolf-lake/" title="Snow Wolf Lake">Snow Wolf Lake</a></li><li><a href="http://www.szehau.com/archives/2008/04/working-holiday-at-new-zealand-the-journey-begun/" title="Working Holiday at New Zealand &#8211; The journey begun">Working Holiday at New Zealand &#8211; The journey begun</a></li><li><a href="http://www.szehau.com/archives/2006/07/enable-htaccess-and-url-rewriting-in-apache-for-windows/" title="Enable .htaccess and url rewriting in Apache for Windows">Enable .htaccess and url rewriting in Apache for Windows</a></li><li><a href="http://www.szehau.com/archives/2005/09/snow-wolf-lake-in-malaysia/" title="Snow Wolf Lake in Malaysia">Snow Wolf Lake in Malaysia</a></li><li><a href="http://www.szehau.com/archives/2008/08/working-at-rakaia/" title="Working at Rakaia">Working at Rakaia</a></li><li><a href="http://www.szehau.com/archives/2006/02/get-banned-by-pps/" title="Get banned by PPS">Get banned by PPS</a></li><li><a href="http://www.szehau.com/archives/2005/07/google-adsense-cheque/" title="Google Adsense Cheque">Google Adsense Cheque</a></li><li><a href="http://www.szehau.com/archives/2005/12/wordpress-20-upgraded-successfully/" title="Wordpress 2.0 upgraded successfully">Wordpress 2.0 upgraded successfully</a></li><li><a href="http://www.szehau.com/archives/2006/01/recent-wordpress-posts-in-sidebar/" title="Recent Wordpress Posts in Sidebar">Recent Wordpress Posts in Sidebar</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.szehau.com/archives/2007/08/install-apache-httpd-in-windows-vista/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enhanced WordPress DB class</title>
		<link>http://www.szehau.com/archives/2007/07/enhanced-wordpress-db-class/</link>
		<comments>http://www.szehau.com/archives/2007/07/enhanced-wordpress-db-class/#comments</comments>
		<pubDate>Sun, 08 Jul 2007 04:17:47 +0000</pubDate>
		<dc:creator>szehau</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.szehau.com/archives/2007/07/enhanced-wordpress-db-class/</guid>
		<description><![CDATA[I frequently see WordPress blogs encounter mysql connection lost or exceeded user connections limit error when I'm browsing their websites. This problem normally happens on a WordPress blog that hosts on a shared hosting, especially those busy server where too many users sit on the same server.

I have modified the WordPress's DB class to put [...]]]></description>
			<content:encoded><![CDATA[<p>I frequently see WordPress blogs encounter mysql connection lost or exceeded user connections limit error when I'm browsing their websites. This problem normally happens on a WordPress blog that hosts on a shared hosting, especially those busy server where too many users sit on the same server.</p>
<p><span id="more-186"></span></p>
<p>I have modified the WordPress's DB class to put in some enhancements to reduce the occurrence of the error.</p>
<ul>
<li>Retry to open mysql connection when the connection is failed to open at the first time.</li>
<li>Reopen the connection during failure (on connection lost error) when calling mysql_query() (for SELECT statements only).</li>
<li>Currently the code will retry for 5 times and interval for next retry is 200 milliseconds.</li>
</ul>
<p>To modify the number of retries and interval, you simply need to modify the following lines of code:<br />
<code><br />
$this-&gt;retry_max = 5; // Maximum retry 5 times<br />
$this-&gt;retry_interval = 200; // 200 miliseconds<br />
</code></p>
<p>I have installed this script on my blog and so far don't see any problem. If you are interested to have this code, you can download it from here:</p>
<p><a href="http://www.szehau.com/downloads/wp-db.zip" title="Enhanced WordPress DB class">Enhanced WordPress DB class</a></p>
<p>Do let me know if you found any bug in the code.</p>
<p><strong>Notes</strong>:</p>
<ul>
<li>Use this script at your own risk!</li>
<li>The WordPress DB class is from WordPress version 2.2.1. I'm not sure if it is compatible with the older versions.</li>
<li>Remember to backup your original source file.</li>
</ul>
<p>It is not recommended to tweak the total retry time to more than 5 seconds (current setting is 5 x 200ms = 1 second). If you still owest getting the connection lost or exceeded maximum user connections limit (User xxx already has more than 'max_user_connections' active connections) error, you might need to ask you web hosting company to change the connection limit or consider to host your website on a better server.</p>
<h2  class="related_post_title">Most Commented Posts</h2><ul class="related_post"><li><a href="http://www.szehau.com/archives/2005/07/default-trackbacks/" title="Default Trackbacks">Default Trackbacks</a></li><li><a href="http://www.szehau.com/archives/2005/11/snow-wolf-lake/" title="Snow Wolf Lake">Snow Wolf Lake</a></li><li><a href="http://www.szehau.com/archives/2008/04/working-holiday-at-new-zealand-the-journey-begun/" title="Working Holiday at New Zealand &#8211; The journey begun">Working Holiday at New Zealand &#8211; The journey begun</a></li><li><a href="http://www.szehau.com/archives/2006/07/enable-htaccess-and-url-rewriting-in-apache-for-windows/" title="Enable .htaccess and url rewriting in Apache for Windows">Enable .htaccess and url rewriting in Apache for Windows</a></li><li><a href="http://www.szehau.com/archives/2005/09/snow-wolf-lake-in-malaysia/" title="Snow Wolf Lake in Malaysia">Snow Wolf Lake in Malaysia</a></li><li><a href="http://www.szehau.com/archives/2008/08/working-at-rakaia/" title="Working at Rakaia">Working at Rakaia</a></li><li><a href="http://www.szehau.com/archives/2006/02/get-banned-by-pps/" title="Get banned by PPS">Get banned by PPS</a></li><li><a href="http://www.szehau.com/archives/2005/07/google-adsense-cheque/" title="Google Adsense Cheque">Google Adsense Cheque</a></li><li><a href="http://www.szehau.com/archives/2005/12/wordpress-20-upgraded-successfully/" title="Wordpress 2.0 upgraded successfully">Wordpress 2.0 upgraded successfully</a></li><li><a href="http://www.szehau.com/archives/2006/01/recent-wordpress-posts-in-sidebar/" title="Recent Wordpress Posts in Sidebar">Recent Wordpress Posts in Sidebar</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.szehau.com/archives/2007/07/enhanced-wordpress-db-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
