<?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>Ehsanul Haque &#187; org</title>
	<atom:link href="http://ehsan.bdwebwork.com/tag/org/feed/" rel="self" type="application/rss+xml" />
	<link>http://ehsan.bdwebwork.com</link>
	<description>Welcome to my personal site &#38; blog</description>
	<lastBuildDate>Wed, 07 Jul 2010 13:14:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Redirect with .htaccess file</title>
		<link>http://ehsan.bdwebwork.com/2008/05/15/redirect-with-htaccess-file/</link>
		<comments>http://ehsan.bdwebwork.com/2008/05/15/redirect-with-htaccess-file/#comments</comments>
		<pubDate>Thu, 15 May 2008 15:39:03 +0000</pubDate>
		<dc:creator>Ehsan</dc:creator>
				<category><![CDATA[Interest]]></category>
		<category><![CDATA[Playground]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[Grab]]></category>
		<category><![CDATA[org]]></category>
		<category><![CDATA[path]]></category>
		<category><![CDATA[PHPClasses]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[Redirect]]></category>
		<category><![CDATA[requirement]]></category>
		<category><![CDATA[string]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[trick]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://ehsan.bdwebwork.com/?p=72</guid>
		<description><![CDATA[Ever wanted to redirect users from one domain to other or one sub-domain to other without compromising the the file path or query string variables? I&#8217;ve come across the requirement when I published my WordPress blog. For testing, I initially &#8230; <a href="http://ehsan.bdwebwork.com/2008/05/15/redirect-with-htaccess-file/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to redirect users from one domain to other or one sub-domain to other without compromising the the file path or query string variables? I&#8217;ve come across the requirement when I published my WordPress blog.</p>
<p>For testing, I initially installed WordPress on a testing sub-domain, where I imported all the blog entries and added blog-roll links. After doing so, PHPClasses.org picked up my entries for Grab Yahoo, LinkMeIn and MySpace profile updater as track-back links. Later when I switched to my main sub-domain, I&#8217;d to find a way to keep the track-back links as is, and redirect users to the proper locations. The trick was done by .htaccess file.</p>
<p>After reading the <a title="Apache's documentation on mod_rewrite module" href="http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html" target="_blank">apache&#8217;s documentation on mod_rewrite module</a>, I&#8217;ve successfully implemented it. If you want people accessing http://sub1.yourdomain.com/2/12/some-post-of-yours/ to go to http://sub2.yourdomain.com/2/12/some-post-of-yours/ then in the root of sub1 (first sub-domain) create a .htaccess file and add the following lines:</p>
<pre name="code" class="php">RewriteEngine On
RewriteRule (.*) http://sub2.yourdomain.com/$1</pre>
<p>I have not read much and not sure if there&#8217;s any other option to do this more efficiently; but this trick has served my purpose.</p>
]]></content:encoded>
			<wfw:commentRss>http://ehsan.bdwebwork.com/2008/05/15/redirect-with-htaccess-file/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>LinkMeIn &#8211; my new class released</title>
		<link>http://ehsan.bdwebwork.com/2007/08/31/linkmein-my-new-class-released/</link>
		<comments>http://ehsan.bdwebwork.com/2007/08/31/linkmein-my-new-class-released/#comments</comments>
		<pubDate>Fri, 31 Aug 2007 11:32:54 +0000</pubDate>
		<dc:creator>Ehsan</dc:creator>
				<category><![CDATA[Interest]]></category>
		<category><![CDATA[Playground]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[Contact]]></category>
		<category><![CDATA[couple]]></category>
		<category><![CDATA[Grab]]></category>
		<category><![CDATA[LinkMeIn]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[MySpace]]></category>
		<category><![CDATA[org]]></category>
		<category><![CDATA[PHPClasses]]></category>
		<category><![CDATA[Profile]]></category>
		<category><![CDATA[Today]]></category>
		<category><![CDATA[Updater]]></category>
		<category><![CDATA[upload]]></category>
		<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://ehsan.bdwebwork.com/?p=61</guid>
		<description><![CDATA[Today my new class LinkMeIn was released on PHPClasses.org. I have developed this class about couple of months back but did not have enough time to sit and arrange the files to upload on PHPClasses.org. After Grab Yahoo and MySpace &#8230; <a href="http://ehsan.bdwebwork.com/2007/08/31/linkmein-my-new-class-released/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today my new class <a title="LinkMeIn on PHPClasses.org" href="http://ehaque.users.phpclasses.org/browse/package/4107.html">LinkMeIn</a> was released on <a title="PHPClasses.org" href="http://ehaque.users.phpclasses.org/">PHPClasses.org</a>. I have developed this class about couple of months back but did not have enough time to sit and arrange the files to upload on PHPClasses.org. After <a title="Grab Yahoo on PHPClasses.org" href="http://ehaque.users.phpclasses.org/browse/package/3127.html" target="_blank">Grab Yahoo</a> and <a title="MySpace Profile Updater on PHPClasses.org" href="http://ehaque.users.phpclasses.org/browse/package/3434.html" target="_blank">MySpace Profile Updater</a> classes this is my third class for same type. This class allows any registered LinkedIn.com user to enter their login information and get the contact list. The list is returned as an array or RSS 2.0 format.</p>
<p>I will update LinkMeIn class in future to add more functionalities to it. For the time being if you want to test it, please visit the <a title="LinkMeIn Demo Location" href="http://resource.bdwebwork.com/LinkMeIn/" target="_blank">LinkMeIn Demo location</a>. To report any bug please use <a title="LinkMeIn Support Forum on PHPClasses.org" href="http://ehaque.users.phpclasses.org/discuss/package/4107/" target="_blank">PHPClasses.org Support Forum</a> and if you want to contact me directly please go to <a title="Contact" href="http://ehsan.bdwebwork.com/contact">the Contact section</a>.</p>
<p>&#8211;<br />
<span style="font-weight: bold;">Thank you</span></p>
]]></content:encoded>
			<wfw:commentRss>http://ehsan.bdwebwork.com/2007/08/31/linkmein-my-new-class-released/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Patch for Grab Yahoo class released</title>
		<link>http://ehsan.bdwebwork.com/2007/08/20/patch-for-grab-yahoo-class-released/</link>
		<comments>http://ehsan.bdwebwork.com/2007/08/20/patch-for-grab-yahoo-class-released/#comments</comments>
		<pubDate>Mon, 20 Aug 2007 22:57:02 +0000</pubDate>
		<dc:creator>Ehsan</dc:creator>
				<category><![CDATA[Interest]]></category>
		<category><![CDATA[Playground]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[address]]></category>
		<category><![CDATA[board]]></category>
		<category><![CDATA[Book]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[crumb]]></category>
		<category><![CDATA[CSV]]></category>
		<category><![CDATA[discussion]]></category>
		<category><![CDATA[Grab]]></category>
		<category><![CDATA[Mr Mandy Singh]]></category>
		<category><![CDATA[org]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[Patch]]></category>
		<category><![CDATA[request]]></category>
		<category><![CDATA[value]]></category>
		<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://ehsan.bdwebwork.com/?p=59</guid>
		<description><![CDATA[Last week suddenly my Grab Yahoo class stopped working for Address Book section. After Mr Mandy Singh reported the bug on phpclasses.org discussion board I started digging to resolve the issue. When requesting the address book CSV from Yahoo a &#8230; <a href="http://ehsan.bdwebwork.com/2007/08/20/patch-for-grab-yahoo-class-released/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Last week suddenly my Grab Yahoo class stopped working for Address Book section. After Mr Mandy Singh reported the bug on <a title="PHPClasses.org Discussion Board" href="http://ehaque.users.phpclasses.org/discuss/package/3127/thread/3/" target="_blank">phpclasses.org discussion board</a> I started digging to resolve the issue.</p>
<p>When requesting the address book CSV from Yahoo a value for the key &#8220;crumb&#8221; is sent in the query string. Earlier Yahoo never checked for the validity of the variable but they have changed the way it is used. Now they check if the value for &#8220;crumb&#8221; is valid or not. As my script was using a predefined value and it has expired, Yahoo server could not validate. Yahoo was showing an error stating &#8220;Invalid or missing crumb&#8221;.</p>
<p>I modified my class so that it first loads the page from where request for the CSV is made. From the source of the page, it locates the latest value for crumb assigned by Yahoo and uses that value to send request for the address book CSV file. It is now working as expected. If you find any bug please report it on <a title="PHPClasses.org Discussion Board" href="http://ehaque.users.phpclasses.org/discuss/package/3127/" target="_blank">phpclasses.org discussion board</a>.</p>
<p><a title="Grab Yahoo class" href="http://ehaque.users.phpclasses.org/browse/package/3127.html" target="_blank">Please download the latest version of Grab Yahoo class (v. 1.2.1) here</a>.</p>
<p>&#8211;<br />
<span style="font-weight: bold;">Thank you.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://ehsan.bdwebwork.com/2007/08/20/patch-for-grab-yahoo-class-released/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>
