<?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; request</title>
	<atom:link href="http://ehsan.bdwebwork.com/tag/request/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>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>
