<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Pieces of .NET, C#, CF, SQL, PHP, Java, Wordpress...</title>
	<atom:link href="http://tanwer.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://tanwer.wordpress.com</link>
	<description>Trying to remember aloud what works in Technology world</description>
	<lastBuildDate>Thu, 05 Jan 2012 07:22:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='tanwer.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Pieces of .NET, C#, CF, SQL, PHP, Java, Wordpress...</title>
		<link>http://tanwer.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://tanwer.wordpress.com/osd.xml" title="Pieces of .NET, C#, CF, SQL, PHP, Java, Wordpress..." />
	<atom:link rel='hub' href='http://tanwer.wordpress.com/?pushpress=hub'/>
		<item>
		<title>InReview &#8211; Premium WordPress Theme</title>
		<link>http://tanwer.wordpress.com/2011/05/24/inreview-premium-wordpress-theme/</link>
		<comments>http://tanwer.wordpress.com/2011/05/24/inreview-premium-wordpress-theme/#comments</comments>
		<pubDate>Tue, 24 May 2011 10:04:46 +0000</pubDate>
		<dc:creator>Talha Anwer</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://tanwer.wordpress.com/?p=191</guid>
		<description><![CDATA[Found a good inspiring WordPress theme today in the post 30 Premium Professional WordPress Themes. InReview, by elegantthemes.com,  is an ideal starting platform for WordPress sites based on reviewing any kind of content, products and website. I think I can get some inspiration from the theme for my own Design Gallery. If you are interested [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tanwer.wordpress.com&amp;blog=6154347&amp;post=191&amp;subd=tanwer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Found a good inspiring WordPress theme today in the post <a title="InReview + 30 Premium WordPress Themes" href="http://www.designerterminal.com/recources/wordpress/themes/professional-wordpress-themes.html" target="_blank">30 Premium Professional WordPress Themes. </a></p>
<p><a href="http://tanwer.files.wordpress.com/2011/05/inreview.jpg"><img class="alignnone size-full wp-image-193" title="InReview" src="http://tanwer.files.wordpress.com/2011/05/inreview.jpg?w=630" alt=""   /></a></p>
<p>InReview, by elegantthemes.com,  is an ideal starting platform for WordPress sites based on reviewing any kind of content, products and website. I think I can get some inspiration from the theme for my own <a title="Design Gallery | CSSexpression.com" href="http://cssexpression.com/gallery/" target="_blank">Design Gallery</a>. If you are interested in the WordPress theme used on cssexpression.com, please fill the contact form there.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tanwer.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tanwer.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tanwer.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tanwer.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tanwer.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tanwer.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tanwer.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tanwer.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tanwer.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tanwer.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tanwer.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tanwer.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tanwer.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tanwer.wordpress.com/191/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tanwer.wordpress.com&amp;blog=6154347&amp;post=191&amp;subd=tanwer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tanwer.wordpress.com/2011/05/24/inreview-premium-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Talha Anwer</media:title>
		</media:content>

		<media:content url="http://tanwer.files.wordpress.com/2011/05/inreview.jpg" medium="image">
			<media:title type="html">InReview</media:title>
		</media:content>
	</item>
		<item>
		<title>Reduce Firefox Load Time on Windows XP, Vista &amp; 7</title>
		<link>http://tanwer.wordpress.com/2011/01/20/firefox-load-time-reduce-windows-xp-vista-7/</link>
		<comments>http://tanwer.wordpress.com/2011/01/20/firefox-load-time-reduce-windows-xp-vista-7/#comments</comments>
		<pubDate>Thu, 20 Jan 2011 09:52:37 +0000</pubDate>
		<dc:creator>Talha Anwer</dc:creator>
				<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://tanwer.wordpress.com/?p=183</guid>
		<description><![CDATA[As you keep adding addons to Firefox, it increases the time it takes to load Firefox. You can reduce this load time significantly by just doing the following quick fix: Right click on your Firefox icon and click the Properties sub menu, find the Compatibility tab, check &#8220;Run this program in compatibility mode for&#8221; and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tanwer.wordpress.com&amp;blog=6154347&amp;post=183&amp;subd=tanwer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As you keep adding addons to Firefox, it increases the time it takes to load Firefox. You can reduce this load time significantly by just doing the following quick fix:</p>
<div>
<p>Right click on your Firefox icon and click the Properties sub menu, find the Compatibility tab, check &#8220;Run this program in compatibility mode for&#8221;  and select &#8220;Windows 2000&#8243; from the drop down menu. If you are running Windows Vista/7 and have Firefox link pinned in the task bar, you can find Properties link in the following screen shot:</p>
<p><a href="http://tanwer.files.wordpress.com/2011/01/firefox-load-time-reduce.gif"><img class="alignnone size-full wp-image-184" title="firefox-load-time-reduce" src="http://tanwer.files.wordpress.com/2011/01/firefox-load-time-reduce.gif?w=630" alt="firefox-load-time-reduce"   /></a></p>
<p>It has worked for me for Firefox 3.6, if you find any problems, just go to the same Compatibility tab and unselect &#8220;Run this  program in compatibility mode for&#8221;.</p>
<p>Another option to reduce Firefox Load time is to compress the DLL/EXE files. I have not personally tried that trick which is explained in details on http://www.techsupportalert.com/how_to_make_firefox_faster.htm</p>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tanwer.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tanwer.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tanwer.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tanwer.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tanwer.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tanwer.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tanwer.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tanwer.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tanwer.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tanwer.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tanwer.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tanwer.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tanwer.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tanwer.wordpress.com/183/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tanwer.wordpress.com&amp;blog=6154347&amp;post=183&amp;subd=tanwer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tanwer.wordpress.com/2011/01/20/firefox-load-time-reduce-windows-xp-vista-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Talha Anwer</media:title>
		</media:content>

		<media:content url="http://tanwer.files.wordpress.com/2011/01/firefox-load-time-reduce.gif" medium="image">
			<media:title type="html">firefox-load-time-reduce</media:title>
		</media:content>
	</item>
		<item>
		<title>Add Files To WordPress SVN Repository</title>
		<link>http://tanwer.wordpress.com/2009/12/02/add-files-wordpress-svn-repository/</link>
		<comments>http://tanwer.wordpress.com/2009/12/02/add-files-wordpress-svn-repository/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 18:39:14 +0000</pubDate>
		<dc:creator>Talha Anwer</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://tanwer.wordpress.com/?p=156</guid>
		<description><![CDATA[If you have developed a wordpress plugin on Windows and want to host the files on WordPress.org, you need this step by step tutorial about how to commit files into WordPress SVN Repository on Windows using TortoiseSVN: Add Files To WordPress SVN Repository<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tanwer.wordpress.com&amp;blog=6154347&amp;post=156&amp;subd=tanwer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you have developed a wordpress plugin on Windows and want to host the files on <a href="http://wordpress.org" target="_blank">WordPress.org</a>, you need this step by step tutorial about how to commit files into WordPress SVN Repository on Windows using <a href="http://tortoisesvn.net/downloads" target="_blank">TortoiseSVN</a>:</p>
<p><strong><a href="http://www.digimantra.com/tutorials/wordpress/publish-wordpress-plugin-on-windows/" target="_blank">Add Files To WordPress SVN Repository</a></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tanwer.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tanwer.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tanwer.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tanwer.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tanwer.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tanwer.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tanwer.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tanwer.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tanwer.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tanwer.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tanwer.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tanwer.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tanwer.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tanwer.wordpress.com/156/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tanwer.wordpress.com&amp;blog=6154347&amp;post=156&amp;subd=tanwer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tanwer.wordpress.com/2009/12/02/add-files-wordpress-svn-repository/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Talha Anwer</media:title>
		</media:content>
	</item>
		<item>
		<title>wp_footer hook not working</title>
		<link>http://tanwer.wordpress.com/2009/11/24/wp_footer-hook-not-working/</link>
		<comments>http://tanwer.wordpress.com/2009/11/24/wp_footer-hook-not-working/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 17:54:54 +0000</pubDate>
		<dc:creator>Talha Anwer</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://tanwer.wordpress.com/?p=140</guid>
		<description><![CDATA[After I installed WordPress Plugin for Omniture Site Catalyst and activated it from WordPress Admin panel. It did not appear to insert the markup it was supposed to add just before the &#60;/body&#62; tag as it was using the following hook to do that: add_action(&#8216;wp_footer&#8217;, &#8216;omniture_tag&#8217;); After searching the internet for a solution, I figured [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tanwer.wordpress.com&amp;blog=6154347&amp;post=140&amp;subd=tanwer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After I installed <a href="http://blog.endpoint.com/2009/11/wordpress-plugin-for-omniture.html" target="_blank">WordPress Plugin for Omniture Site Catalyst</a> and activated it from WordPress Admin panel. It did not appear to insert the markup it was supposed to add just before the &lt;/body&gt; tag as it was using the following hook to do that:</p>
<p>add_action(&#8216;wp_footer&#8217;, &#8216;omniture_tag&#8217;);</p>
<p>After searching the internet for a solution, I figured that the theme I was using needed to have the following missing statement in the footer.php just before the &lt;/body&gt; tag to make it work:</p>
<p>&lt;?php wp_footer(); ?&gt;</p>
<p>Enjoy&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tanwer.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tanwer.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tanwer.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tanwer.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tanwer.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tanwer.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tanwer.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tanwer.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tanwer.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tanwer.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tanwer.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tanwer.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tanwer.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tanwer.wordpress.com/140/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tanwer.wordpress.com&amp;blog=6154347&amp;post=140&amp;subd=tanwer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tanwer.wordpress.com/2009/11/24/wp_footer-hook-not-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Talha Anwer</media:title>
		</media:content>
	</item>
		<item>
		<title>Protect your website from spam bots using ASP.NET CAPTCHA Library</title>
		<link>http://tanwer.wordpress.com/2009/11/23/protect-website-spam-bots-aspnet-captcha-library/</link>
		<comments>http://tanwer.wordpress.com/2009/11/23/protect-website-spam-bots-aspnet-captcha-library/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 12:30:25 +0000</pubDate>
		<dc:creator>Talha Anwer</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Captcha]]></category>
		<category><![CDATA[Spam]]></category>

		<guid isPermaLink="false">http://tanwer.wordpress.com/?p=138</guid>
		<description><![CDATA[reCAPTCHA ASP.NET Library gives you an easy way to integrate spam bot protection into your ASP.net website which is the most accessible CAPTCHA implementation due to listening option it provides for visually impaired people. Below is the link for the Server Control download and the sample code to implement it: ASP.NET CAPTCHA Library for reCAPTCHA [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tanwer.wordpress.com&amp;blog=6154347&amp;post=138&amp;subd=tanwer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>reCAPTCHA ASP.NET Library gives you an easy way to integrate spam bot protection into your ASP.net website which is the most accessible CAPTCHA implementation due to listening option it provides for visually impaired people. Below is the link for the Server Control download and the sample code to implement it:</p>
<p><a href="http://recaptcha.net/plugins/aspnet/" target="_blank">ASP.NET CAPTCHA Library for reCAPTCHA</a></p>
<p>On September 16, 2009, <a href="http://googleblog.blogspot.com/2009/09/teaching-computers-to-read-google.html" target="_blank">Google announced acquisition of reCAPTCHA</a> in a bid to digitize old time books and newspapers and support Google&#8217;s on going OCR research.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tanwer.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tanwer.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tanwer.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tanwer.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tanwer.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tanwer.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tanwer.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tanwer.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tanwer.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tanwer.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tanwer.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tanwer.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tanwer.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tanwer.wordpress.com/138/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tanwer.wordpress.com&amp;blog=6154347&amp;post=138&amp;subd=tanwer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tanwer.wordpress.com/2009/11/23/protect-website-spam-bots-aspnet-captcha-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Talha Anwer</media:title>
		</media:content>
	</item>
		<item>
		<title>Custom URL Rewriting in WordPress</title>
		<link>http://tanwer.wordpress.com/2009/11/11/custom-url-rewriting-wordpress/</link>
		<comments>http://tanwer.wordpress.com/2009/11/11/custom-url-rewriting-wordpress/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 17:35:47 +0000</pubDate>
		<dc:creator>Talha Anwer</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://tanwer.wordpress.com/?p=136</guid>
		<description><![CDATA[It looks like I will have to override url rewrites in WordPress soon and the following link appears to offer some useful info about implementing custom URL rewriting in WP: Custom URL rewrites in WordPress — A Getting Started Guide<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tanwer.wordpress.com&amp;blog=6154347&amp;post=136&amp;subd=tanwer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It looks like I will have to override url rewrites in WordPress soon and the following link appears to offer some useful info about implementing custom URL rewriting in WP:</p>
<p><a title="Custom URL rewrites in WordPress — A Getting Started Guide" href="http://matty.co.za/2009/11/custom-url-rewrites-in-wordpress/">Custom URL rewrites in WordPress — A Getting Started Guide</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tanwer.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tanwer.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tanwer.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tanwer.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tanwer.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tanwer.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tanwer.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tanwer.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tanwer.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tanwer.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tanwer.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tanwer.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tanwer.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tanwer.wordpress.com/136/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tanwer.wordpress.com&amp;blog=6154347&amp;post=136&amp;subd=tanwer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tanwer.wordpress.com/2009/11/11/custom-url-rewriting-wordpress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Talha Anwer</media:title>
		</media:content>
	</item>
		<item>
		<title>Disable automatic line breaks in WordPress</title>
		<link>http://tanwer.wordpress.com/2009/11/05/disable-automatic-line-breaks-wordpress/</link>
		<comments>http://tanwer.wordpress.com/2009/11/05/disable-automatic-line-breaks-wordpress/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 13:50:39 +0000</pubDate>
		<dc:creator>Talha Anwer</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Filters]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://tanwer.wordpress.com/?p=133</guid>
		<description><![CDATA[I found a simple hack to disable automatic line break (&#60;p&#62; and &#60;br&#62; tags inserted by WordPress wp_autop filter) filtering on all line breaks that was too annoying for my technical web development team busy transforming ColdFusion websites to WordPress Blogs. Here&#8217;s the solution: Comment the following line in /wp-includes/default-filters.php: add_filter($filter, &#8216;wpautop&#8217;)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tanwer.wordpress.com&amp;blog=6154347&amp;post=133&amp;subd=tanwer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I found a simple hack to disable automatic line break (&lt;p&gt; and &lt;br&gt; tags inserted by WordPress wp_autop filter) filtering on all line breaks that was too annoying for my technical web development team busy transforming ColdFusion websites to WordPress Blogs. Here&#8217;s the solution:</p>
<p>Comment the following line in /wp-includes/default-filters.php:<br />
<strong>add_filter($filter, &#8216;wpautop&#8217;)</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tanwer.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tanwer.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tanwer.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tanwer.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tanwer.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tanwer.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tanwer.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tanwer.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tanwer.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tanwer.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tanwer.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tanwer.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tanwer.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tanwer.wordpress.com/133/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tanwer.wordpress.com&amp;blog=6154347&amp;post=133&amp;subd=tanwer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tanwer.wordpress.com/2009/11/05/disable-automatic-line-breaks-wordpress/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Talha Anwer</media:title>
		</media:content>
	</item>
		<item>
		<title>How to remove index.cfm from url to make it Search Engine friendly</title>
		<link>http://tanwer.wordpress.com/2009/10/08/remove-index-cfm-url-search-engine-friendly/</link>
		<comments>http://tanwer.wordpress.com/2009/10/08/remove-index-cfm-url-search-engine-friendly/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 16:18:29 +0000</pubDate>
		<dc:creator>Talha Anwer</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Url Rewriting]]></category>

		<guid isPermaLink="false">http://tanwer.wordpress.com/?p=120</guid>
		<description><![CDATA[Create clean SEO-friendly URLs, avoid duplicate content using 301 redirects in ColdFusion<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tanwer.wordpress.com&amp;blog=6154347&amp;post=120&amp;subd=tanwer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>All ColdFusion websites run the risk of having two links for a single page when the file name is index.cfm. For example, http://www.example.com and http://www.example.com/index.cfm. Although ColdFusion provides elegant way of Permanent redirection from http://www.example.com/index.cfm to http://www.example.com, but there&#8217;s  no server side path variable that could tell you the exact URL  requested. Even CGI.PATH_INFO and CGI.SCRIPT_NAME provide the same path that includes /index.cfm.</p>
<h3>Solution</h3>
<h5>&lt;cfif cgi.CONTENT_LENGTH eq &#8220;&#8221;&gt;<br />
&lt;cfset redirect_url = &#8220;http://&#8221; &amp; CGI.SERVER_NAME &amp; left(CGI.SCRIPT_NAME, len(CGI.SCRIPT_NAME) &#8211; 10)&gt;<br />
&lt;cfheader statuscode=&#8221;301&#8243; statustext=&#8221;Moved permanently&#8221;&gt;<br />
&lt;cfheader name=&#8221;Location&#8221; value=&#8221;#redirect_url#&#8221;&gt;<br />
&lt;/cfif&gt;</h5>
<p>The above code works perfect for me although I don&#8217;t understand why Content_length is different for both URLs. I found the solution by cfdumping CGI variable using one url without index.cfm and another with index.cfm and observed that content-length was empty when url included index.cfm.</p>
<p>I hope it works for other ColdFusion folks as well.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tanwer.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tanwer.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tanwer.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tanwer.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tanwer.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tanwer.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tanwer.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tanwer.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tanwer.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tanwer.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tanwer.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tanwer.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tanwer.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tanwer.wordpress.com/120/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tanwer.wordpress.com&amp;blog=6154347&amp;post=120&amp;subd=tanwer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tanwer.wordpress.com/2009/10/08/remove-index-cfm-url-search-engine-friendly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Talha Anwer</media:title>
		</media:content>
	</item>
		<item>
		<title>Google Custom Search Web Services in ColdFusion</title>
		<link>http://tanwer.wordpress.com/2009/09/29/google-custom-search-web-services-coldfusion/</link>
		<comments>http://tanwer.wordpress.com/2009/09/29/google-custom-search-web-services-coldfusion/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 10:04:05 +0000</pubDate>
		<dc:creator>Talha Anwer</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Site Search]]></category>

		<guid isPermaLink="false">http://tanwer.wordpress.com/?p=102</guid>
		<description><![CDATA[Google Custom Search Engine lets website managers and developers easily integrate site search functionality into their websites with most of the required features. However, there are situations when you might have to control the display of search results (custom style guides), add more restrictions (search specific filetypes) or report meta data to web analytics software. I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tanwer.wordpress.com&amp;blog=6154347&amp;post=102&amp;subd=tanwer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.google.com/cse" target="_blank">Google Custom Search Engine</a> lets website managers and developers easily integrate site search functionality into their websites with most of the required features. However, there are situations when you might have to control the display of search results (custom style guides), add more restrictions (search specific filetypes) or report meta data to web analytics software. I have covered this topic in two posts. This post covers querying , extracting, parsing and looping through the search results while the next part includes posting information (not easily available using iframe approach) to web analytics.</p>
<h3>Calling Google Custom Search (CSE) Web Services</h3>
<h6 style="font-weight:normal;margin-top:5px;color:#336;">&lt;cfhttp result=&#8221;cseresult&#8221; url=&#8221;http://www.google.com/cse?cx=#googleAPIKey#&amp;client=google-csbe&amp;output=xml_no_dtd&amp;q=#q#&amp;start=#start#&amp;filter=0&#8243; method=&#8221;get&#8221; resolveurl=&#8221;yes&#8221; /&gt;</h6>
<p>In the above statement, googleAPIKey=key of the custom search engine; q=search query; start=Zero based paging index, use start=10 for page 2; filter=0= Don&#8217;t filter similar result, use 1 to filter results.</p>
<h3>Extracting Metadata and Results</h3>
<h6 style="font-weight:normal;margin-top:5px;color:#336;">&lt;cfscript&gt;<br />
resultsxml = XMLParse(cseresult.FileContent);<br />
RES = XMLSearch(resultsxml, &#8220;GSP/RES&#8221;);<br />
if (ArrayLen(RES) gt 0)<br />
{<br />
totalResults = XMLSearch(RES[1], &#8220;M&#8221;);<br />
searchResults = XMLSearch(RES[1], &#8220;R&#8221;);<br />
iTotalResults = totalResults[1].XmlText;<br />
iStartNumber = RES[1].XmlAttributes.SN;<br />
iEndNumber = RES[1].XmlAttributes.EN;<br />
}<br />
&lt;/cfscript&gt;</h6>
<p>All XPath queries in above code return Arrays of Structures. RES element in the xml contains all the results information. SN is the index of the first result on the page while EN is the index of the last result on a page. For example, if page 2 has 4 results, then SN=11 and EN=14 while START remains 10.</p>
<h3>Displaying Results and Pager</h3>
<h6 style="font-weight:normal;margin-top:5px;color:#336;">&lt;div id=&#8221;google-cse&#8221;&gt;<br />
&lt;cfif ArrayLen(RES) gt 0&gt;&lt;!&#8212; If more than zero results returned &#8212;&gt;<br />
&lt;!&#8212;Results Pager Header &#8212;&gt;<br />
&lt;cfoutput&gt;&lt;p&gt;Results &lt;b&gt;#iStartNumber#&lt;/b&gt; &#8211; &lt;b&gt;#iEndNumber#&lt;/b&gt; of about &lt;b&gt;#iTotalResults#&lt;/b&gt; for &lt;b&gt;#q#&lt;/b&gt;&lt;/p&gt;&lt;/cfoutput&gt;<br />
&lt;cfloop index=&#8221;i&#8221; from=&#8221;1&#8243; to=&#8221;#ArrayLen(searchResults)#&#8221;&gt;<br />
&lt;cfset current_result = searchResults[i]&gt;<br />
&lt;!&#8212;Unique Result &#8212;&gt;<br />
&lt;div&gt;<br />
&lt;h2&gt;&lt;a &lt;cfif isdefined(&#8216;current_result.XmlAttributes.MIME&#8217;) AND current_result.XmlAttributes.MIME eq &#8216;application/pdf&#8217;&gt;class=&#8221;mime_pdf&#8221;&lt;/cfif&gt; href=&#8221;&lt;cfoutput&gt;#current_result.U.XmlText#&lt;/cfoutput&gt;&#8221;&gt;&lt;cfoutput&gt;#current_result.T.XmlText#&lt;/cfoutput&gt;&lt;/a&gt;&lt;/h2&gt;<br />
&lt;p&gt;&lt;cfoutput&gt;#current_result.S.XmlText#&lt;/cfoutput&gt;&lt;/p&gt;<br />
&lt;p&gt;&lt;cfoutput&gt;#current_result.UE.XmlText#&lt;/cfoutput&gt;&lt;/p&gt;<br />
&lt;/div&gt;<br />
&lt;/cfloop&gt;<br />
&lt;cfif iTotalResults gt numresults&gt;<br />
&lt;cfset num_of_pages = Ceiling(iTotalResults/numresults) &gt;<br />
&lt;cfset current_page = (iStartNumber &#8211; 1) / numresults + 1 &gt;<br />
&lt;!&#8212;Pager Navigation &#8212;&gt;<br />
&lt;div id=&#8221;cse-pager&#8221;&gt;<br />
&lt;cfif current_page gt 1&gt;<br />
&lt;cfset startnew = (current_page-2)* numresults&gt;<br />
&lt;cfoutput&gt;&lt;a href=&#8221;#CGI.SCRIPT_NAME#?q=#q#&amp;start=#startnew#&#8221;&gt;Previous&lt;/a&gt;&lt;/cfoutput&gt;<br />
&lt;/cfif&gt;<br />
&lt;cfloop index=&#8221;i&#8221; from=&#8221;1&#8243; to=&#8221;#num_of_pages#&#8221;&gt;<br />
&lt;cfset startnew = (i-1)* numresults&gt;<br />
&lt;cfoutput&gt;&lt;a &lt;cfif current_page eq i &gt;class=&#8221;active&#8221; &lt;cfelse&gt;href=&#8221;#CGI.SCRIPT_NAME#?q=#q#&amp;start=#startnew#&#8221;&lt;/cfif&gt;&gt;#i#&lt;/a&gt;&lt;/cfoutput&gt;<br />
&lt;/cfloop&gt;<br />
&lt;cfif current_page lt num_of_pages&gt;<br />
&lt;cfset startnew = (current_page)* numresults&gt;<br />
&lt;cfoutput&gt;&lt;a href=&#8221;#CGI.SCRIPT_NAME#?q=#q#&amp;start=#startnew#&#8221;&gt;Next&lt;/a&gt;&lt;/cfoutput&gt;<br />
&lt;/cfif&gt;<br />
&lt;/div&gt;<br />
&lt;/cfif&gt;<br />
&lt;/cfif&gt;</h6>
<p>The above code will show specific icon for PDF files and a basic pager that includes all the links according to the number of results found.</p>
<h3>Complete Implementation (Code Listing)</h3>
<h6 style="font-weight:normal;margin-top:5px;color:#336;">&lt;div id=&#8221;middle_content&#8221;&gt;<br />
&lt;cfset numresults = 10&gt;<br />
&lt;cfset iTotalResults = 0&gt;<br />
&lt;cfif not IsDefined(&#8216;start&#8217;)&gt;<br />
&lt;cfset start = 0&gt;<br />
&lt;/cfif&gt;<br />
&lt;cfif not IsDefined(&#8216;q&#8217;)&gt;<br />
&lt;cfset q = &#8221;&gt;<br />
&lt;/cfif&gt;<br />
&lt;cfif q eq &#8221;&gt;<br />
&lt;p&gt;Please use the search box above to find the information you need.&lt;/p&gt;<br />
&lt;p&gt;Thank you&lt;/p&gt;<br />
&lt;cfelse&gt;<br />
&lt;cfhttp result=&#8221;cseresult&#8221; url=&#8221;<a href="http://www.google.com/cse?cx=#googleAPIKey#&amp;client=google-csbe&amp;output=xml_no_dtd&amp;q=#q#&amp;start=#start#&amp;filter=0">http://www.google.com/cse?cx=#googleAPIKey#&amp;client=google-csbe&amp;output=xml_no_dtd&amp;q=#q#&amp;start=#start#&amp;filter=0</a>&#8221; method=&#8221;get&#8221; resolveurl=&#8221;yes&#8221; /&gt;<br />
&lt;cfscript&gt;<br />
resultsxml = XMLParse(cseresult.FileContent);<br />
RES = XMLSearch(resultsxml, &#8220;GSP/RES&#8221;);<br />
if (ArrayLen(RES) gt 0)<br />
{<br />
totalResults = XMLSearch(RES[1], &#8220;M&#8221;);<br />
searchResults = XMLSearch(RES[1], &#8220;R&#8221;);<br />
iTotalResults = totalResults[1].XmlText;<br />
iStartNumber = RES[1].XmlAttributes.SN;<br />
iEndNumber = RES[1].XmlAttributes.EN;<br />
}<br />
&lt;/cfscript&gt;<br />
&lt;div id=&#8221;google-cse&#8221;&gt;<br />
&lt;cfif ArrayLen(RES) gt 0&gt;&lt;!&#8212; If more than zero results returned &#8212;&gt;<br />
&lt;!&#8212;Results Pager Header &#8212;&gt;<br />
&lt;cfoutput&gt;&lt;p&gt;Results &lt;b&gt;#iStartNumber#&lt;/b&gt; &#8211; &lt;b&gt;#iEndNumber#&lt;/b&gt; of about &lt;b&gt;#iTotalResults#&lt;/b&gt; for &lt;b&gt;#q#&lt;/b&gt;&lt;/p&gt;&lt;/cfoutput&gt;<br />
&lt;cfloop index=&#8221;i&#8221; from=&#8221;1&#8243; to=&#8221;#ArrayLen(searchResults)#&#8221;&gt;<br />
&lt;cfset current_result = searchResults[i]&gt;<br />
&lt;!&#8212;Unique Result &#8212;&gt;<br />
&lt;div&gt;<br />
&lt;h2&gt;&lt;a &lt;cfif isdefined(&#8216;current_result.XmlAttributes.MIME&#8217;) AND current_result.XmlAttributes.MIME eq &#8216;application/pdf&#8217;&gt;class=&#8221;mime_pdf&#8221;&lt;/cfif&gt; href=&#8221;&lt;cfoutput&gt;#current_result.U.XmlText#&lt;/cfoutput&gt;&#8221;&gt;&lt;cfoutput&gt;#current_result.T.XmlText#&lt;/cfoutput&gt;&lt;/a&gt;&lt;/h2&gt;<br />
&lt;p&gt;&lt;cfoutput&gt;#current_result.S.XmlText#&lt;/cfoutput&gt;&lt;/p&gt;<br />
&lt;p&gt;&lt;cfoutput&gt;#current_result.UE.XmlText#&lt;/cfoutput&gt;&lt;/p&gt;<br />
&lt;/div&gt;<br />
&lt;/cfloop&gt;<br />
&lt;cfif iTotalResults gt numresults&gt;<br />
&lt;cfset num_of_pages = Ceiling(iTotalResults/numresults) &gt;<br />
&lt;cfset current_page = (iStartNumber &#8211; 1) / numresults + 1 &gt;<br />
&lt;!&#8212;Pager Navigation &#8212;&gt;<br />
&lt;div id=&#8221;cse-pager&#8221;&gt;<br />
&lt;cfif current_page gt 1&gt;<br />
&lt;cfset startnew = (current_page-2)* numresults&gt;<br />
&lt;cfoutput&gt;&lt;a href=&#8221;#CGI.SCRIPT_NAME#?q=#q#&amp;start=#startnew#&#8221;&gt;Previous&lt;/a&gt;&lt;/cfoutput&gt;<br />
&lt;/cfif&gt;<br />
&lt;cfloop index=&#8221;i&#8221; from=&#8221;1&#8243; to=&#8221;#num_of_pages#&#8221;&gt;<br />
&lt;cfset startnew = (i-1)* numresults&gt;<br />
&lt;cfoutput&gt;&lt;a &lt;cfif current_page eq i &gt;class=&#8221;active&#8221; &lt;cfelse&gt;href=&#8221;#CGI.SCRIPT_NAME#?q=#q#&amp;start=#startnew#&#8221;&lt;/cfif&gt;&gt;#i#&lt;/a&gt;&lt;/cfoutput&gt;<br />
&lt;/cfloop&gt;<br />
&lt;cfif current_page lt num_of_pages&gt;<br />
&lt;cfset startnew = (current_page)* numresults&gt;<br />
&lt;cfoutput&gt;&lt;a href=&#8221;#CGI.SCRIPT_NAME#?q=#q#&amp;start=#startnew#&#8221;&gt;Next&lt;/a&gt;&lt;/cfoutput&gt;<br />
&lt;/cfif&gt;<br />
&lt;/div&gt;<br />
&lt;/cfif&gt;<br />
&lt;cfelse&gt;&lt;!&#8212; If no results returned &#8212;&gt;<br />
&lt;p&gt;Your search &#8211; &lt;b&gt;&lt;cfoutput&gt;#q#&lt;/cfoutput&gt;&lt;/b&gt; &#8211; did not match any documents.&lt;br /&gt;&lt;br /&gt;<br />
Suggestions:&lt;br /&gt;&lt;/p&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;Make sure all words are spelled correctly&lt;/li&gt;<br />
&lt;li&gt;Try different keywords&lt;/li&gt;<br />
&lt;li&gt;Try more general keywords&lt;/li&gt;<br />
&lt;li&gt;Try fewer keywords&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/cfif&gt;<br />
&lt;/div&gt;<br />
&lt;/cfif&gt;<br />
&lt;/div&gt;&lt;!&#8212;End of middle_content&#8212;&gt;</h6>
<p>Above code integrates everything and handles manages output when provided with empty search query or getting zero results from Google. To see the implementation of the above code, Take a look at <a href="http://www.oshacampus.com" target="_blank">OSHACampus.com</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tanwer.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tanwer.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tanwer.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tanwer.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tanwer.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tanwer.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tanwer.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tanwer.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tanwer.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tanwer.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tanwer.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tanwer.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tanwer.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tanwer.wordpress.com/102/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tanwer.wordpress.com&amp;blog=6154347&amp;post=102&amp;subd=tanwer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tanwer.wordpress.com/2009/09/29/google-custom-search-web-services-coldfusion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Talha Anwer</media:title>
		</media:content>
	</item>
		<item>
		<title>Browser Compatible AJAX Applications in JAVA</title>
		<link>http://tanwer.wordpress.com/2009/08/20/browser-compatible-ajax-applications-java/</link>
		<comments>http://tanwer.wordpress.com/2009/08/20/browser-compatible-ajax-applications-java/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 13:19:43 +0000</pubDate>
		<dc:creator>Talha Anwer</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Browser Compatibility]]></category>
		<category><![CDATA[JAVA]]></category>

		<guid isPermaLink="false">http://tanwer.wordpress.com/?p=96</guid>
		<description><![CDATA[Google Web Toolkit &#8211; GWT provides JAVA developers a framework to easily write, reuse, maintain and debug AJAX front end applications. GWT automatically generates optimized JavaScript that works across all major browsers by choosing the JavaScript purely targetted to the requesting browser, thus providing localization features as configured in the browsers. Using GWT allows debugging AJAX [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tanwer.wordpress.com&amp;blog=6154347&amp;post=96&amp;subd=tanwer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://code.google.com/webtoolkit/overview.html" target="_blank">Google Web Toolkit &#8211; GWT</a> provides JAVA developers a framework to easily write, reuse, maintain and debug AJAX front end applications. GWT automatically generates optimized JavaScript that works across all major browsers by choosing the JavaScript purely targetted to the requesting browser, thus providing localization features as configured in the browsers. Using GWT allows debugging AJAX applications using any JAVA debugger and the code will only compile to JavaScript when it&#8217;s instructed to do so. During development, the code changes can be viewed immediately without a need to recompile.</p>
<p>GWT, however, does not eliminate the need to learn JavaScript or CSS and even provides ways to insert hand written JavaScript based on the complexity of the situation.</p>
<p>Links:<br />
<a href="http://code.google.com/webtoolkit/download.html">http://code.google.com/webtoolkit/download.html</a><br />
<a href="http://qasimalikhawaja.wordpress.com/2008/03/29/putting-urself-into-gwt-googlewebtoolkit/">http://qasimalikhawaja.wordpress.com/2008/03/29/putting-urself-into-gwt-googlewebtoolkit/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tanwer.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tanwer.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tanwer.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tanwer.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tanwer.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tanwer.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tanwer.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tanwer.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tanwer.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tanwer.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tanwer.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tanwer.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tanwer.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tanwer.wordpress.com/96/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tanwer.wordpress.com&amp;blog=6154347&amp;post=96&amp;subd=tanwer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tanwer.wordpress.com/2009/08/20/browser-compatible-ajax-applications-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Talha Anwer</media:title>
		</media:content>
	</item>
	</channel>
</rss>
