<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Make Cross-Domain AJAX Requests with xdRequest</title>
	<atom:link href="http://geeklad.com/make-cross-domain-ajax-requests-with-xdrequest/feed" rel="self" type="application/rss+xml" />
	<link>http://geeklad.com/make-cross-domain-ajax-requests-with-xdrequest</link>
	<description></description>
	<lastBuildDate>Fri, 12 Mar 2010 05:58:05 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: GeekLad</title>
		<link>http://geeklad.com/make-cross-domain-ajax-requests-with-xdrequest/comment-page-1#comment-1647</link>
		<dc:creator>GeekLad</dc:creator>
		<pubDate>Wed, 03 Feb 2010 23:42:17 +0000</pubDate>
		<guid isPermaLink="false">http://geeklad.com/?p=1843#comment-1647</guid>
		<description>In my demo app, you would have to click through and load enough pages for&lt;br&gt;your browser to trigger the limit.</description>
		<content:encoded><![CDATA[<p>In my demo app, you would have to click through and load enough pages for<br />your browser to trigger the limit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GeekLad</title>
		<link>http://geeklad.com/make-cross-domain-ajax-requests-with-xdrequest/comment-page-1#comment-1645</link>
		<dc:creator>GeekLad</dc:creator>
		<pubDate>Wed, 03 Feb 2010 23:41:42 +0000</pubDate>
		<guid isPermaLink="false">http://geeklad.com/?p=1843#comment-1645</guid>
		<description>The rate limit is on the client IP.  Since everything takes place in the&lt;br&gt;browser window (the browser makes the calls to YQL), it would be based on&lt;br&gt;the browser&#039;s IP address.</description>
		<content:encoded><![CDATA[<p>The rate limit is on the client IP.  Since everything takes place in the<br />browser window (the browser makes the calls to YQL), it would be based on<br />the browser&#39;s IP address.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://geeklad.com/make-cross-domain-ajax-requests-with-xdrequest/comment-page-1#comment-1646</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Wed, 03 Feb 2010 22:58:50 +0000</pubDate>
		<guid isPermaLink="false">http://geeklad.com/?p=1843#comment-1646</guid>
		<description>As an example, in your demo app you created - what would need to happen in an hour for it to exceed the limit. Maybe that makes more sense as to what I am trying to ask! Thanks again.</description>
		<content:encoded><![CDATA[<p>As an example, in your demo app you created &#8211; what would need to happen in an hour for it to exceed the limit. Maybe that makes more sense as to what I am trying to ask! Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://geeklad.com/make-cross-domain-ajax-requests-with-xdrequest/comment-page-1#comment-1644</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Wed, 03 Feb 2010 22:46:01 +0000</pubDate>
		<guid isPermaLink="false">http://geeklad.com/?p=1843#comment-1644</guid>
		<description>Hi - awesome script! I have one question though that I&#039;m not clear on. The rate limit per IP. let&#039;s say I put this script on my site, every time it is triggered in someone&#039;s browser, is that instance attributed to my site&#039;s IP or the users? Also - if this page is calling data from the same remote site (say &lt;a href=&quot;http://CNN.com&quot; rel=&quot;nofollow&quot;&gt;CNN.com&lt;/a&gt;), will &lt;a href=&quot;http://CNN.com&quot; rel=&quot;nofollow&quot;&gt;CNN.com&lt;/a&gt; be blocked to users of my site after 10000 page views? Of course only if this occurs in an hour. I&#039;m just trying to figure out exactly what IP they are talking about, the user, the site that host&#039;s the .js file, or the site that is being &quot;scraped&quot;?&lt;br&gt;&lt;br&gt;I hope I am making sense. Thanks again!</description>
		<content:encoded><![CDATA[<p>Hi &#8211; awesome script! I have one question though that I&#39;m not clear on. The rate limit per IP. let&#39;s say I put this script on my site, every time it is triggered in someone&#39;s browser, is that instance attributed to my site&#39;s IP or the users? Also &#8211; if this page is calling data from the same remote site (say <a href="http://CNN.com" rel="nofollow">CNN.com</a>), will <a href="http://CNN.com" rel="nofollow">CNN.com</a> be blocked to users of my site after 10000 page views? Of course only if this occurs in an hour. I&#39;m just trying to figure out exactly what IP they are talking about, the user, the site that host&#39;s the .js file, or the site that is being &#8220;scraped&#8221;?</p>
<p>I hope I am making sense. Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Hopkins</title>
		<link>http://geeklad.com/make-cross-domain-ajax-requests-with-xdrequest/comment-page-1#comment-1476</link>
		<dc:creator>David Hopkins</dc:creator>
		<pubDate>Mon, 16 Nov 2009 23:09:54 +0000</pubDate>
		<guid isPermaLink="false">http://geeklad.com/?p=1843#comment-1476</guid>
		<description>Thanks. No change though. I think the issue is with MooTools. I believe they have modified the Array object and I think that is causing the issue.&lt;br&gt;&lt;br&gt;I have posted a detailed report in the MooTools forum. If someone can find out what&#039;s wrong I will let you know.</description>
		<content:encoded><![CDATA[<p>Thanks. No change though. I think the issue is with MooTools. I believe they have modified the Array object and I think that is causing the issue.</p>
<p>I have posted a detailed report in the MooTools forum. If someone can find out what&#39;s wrong I will let you know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GeekLad</title>
		<link>http://geeklad.com/make-cross-domain-ajax-requests-with-xdrequest/comment-page-1#comment-1475</link>
		<dc:creator>GeekLad</dc:creator>
		<pubDate>Mon, 16 Nov 2009 22:57:46 +0000</pubDate>
		<guid isPermaLink="false">http://geeklad.com/?p=1843#comment-1475</guid>
		<description>Hmm, I wonder if the version I have in the download section is an older&lt;br&gt;(damaged version).  That for loop doesn&#039;t look as though it has been fixed&lt;br&gt;to work in Internet Exploder.  Are you using IE?  You may want to try&lt;br&gt;downloading the latest source in the trunk here:&lt;br&gt;&lt;a href=&quot;http://xdrequest.googlecode.com/svn/trunk/xdRequest.js&quot; rel=&quot;nofollow&quot;&gt;http://xdrequest.googlecode.com/svn/trunk/xdReq...&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Hmm, I wonder if the version I have in the download section is an older<br />(damaged version).  That for loop doesn&#39;t look as though it has been fixed<br />to work in Internet Exploder.  Are you using IE?  You may want to try<br />downloading the latest source in the trunk here:<br /><a href="http://xdrequest.googlecode.com/svn/trunk/xdRequest.js" rel="nofollow"></a><a href="http://xdrequest.googlecode.com/svn/trunk/xdReq.." rel="nofollow">http://xdrequest.googlecode.com/svn/trunk/xdReq..</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Hopkins</title>
		<link>http://geeklad.com/make-cross-domain-ajax-requests-with-xdrequest/comment-page-1#comment-1474</link>
		<dc:creator>David Hopkins</dc:creator>
		<pubDate>Mon, 16 Nov 2009 22:07:07 +0000</pubDate>
		<guid isPermaLink="false">http://geeklad.com/?p=1843#comment-1474</guid>
		<description>It&#039;s a conflict with that in Mootools and the following in xdR:&lt;br&gt;&lt;br&gt;for(cookie in cookiejar) {&lt;br&gt;	if(cookiejar[cookie].match(url, this.secure())) {&lt;br&gt;		outputCookies.push(cookiejar[cookie]);&lt;br&gt;	}&lt;br&gt;}&lt;br&gt;&lt;br&gt;Namely this bit:&lt;br&gt;&lt;br&gt;cookiejar[cookie].match(...&lt;br&gt;&lt;br&gt;It&#039;s saying that cookiejar[cookie] is an object when I guess it should be a string. However, if I bypass this, it just breaks.&lt;br&gt;&lt;br&gt;I think it could be to do with some Mootools meddligns with the natives of JS, probably the array since that is what is conflicting in Moo. However, I am very rusty with JS. Maybe its time to moove on :&#124;</description>
		<content:encoded><![CDATA[<p>It&#39;s a conflict with that in Mootools and the following in xdR:</p>
<p>for(cookie in cookiejar) {<br />	if(cookiejar[cookie].match(url, this.secure())) {<br />		outputCookies.push(cookiejar[cookie]);<br />	}<br />}</p>
<p>Namely this bit:</p>
<p>cookiejar[cookie].match(&#8230;</p>
<p>It&#39;s saying that cookiejar[cookie] is an object when I guess it should be a string. However, if I bypass this, it just breaks.</p>
<p>I think it could be to do with some Mootools meddligns with the natives of JS, probably the array since that is what is conflicting in Moo. However, I am very rusty with JS. Maybe its time to moove on <img src='http://geeklad.com/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GeekLad</title>
		<link>http://geeklad.com/make-cross-domain-ajax-requests-with-xdrequest/comment-page-1#comment-1473</link>
		<dc:creator>GeekLad</dc:creator>
		<pubDate>Mon, 16 Nov 2009 21:41:24 +0000</pubDate>
		<guid isPermaLink="false">http://geeklad.com/?p=1843#comment-1473</guid>
		<description>Hmm, that&#039;s odd.  I&#039;m not very familiar with Mootools.  I&#039;m not sure why&lt;br&gt;xdRequest would cause Mootools to break.</description>
		<content:encoded><![CDATA[<p>Hmm, that&#39;s odd.  I&#39;m not very familiar with Mootools.  I&#39;m not sure why<br />xdRequest would cause Mootools to break.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Hopkins</title>
		<link>http://geeklad.com/make-cross-domain-ajax-requests-with-xdrequest/comment-page-1#comment-1472</link>
		<dc:creator>David Hopkins</dc:creator>
		<pubDate>Mon, 16 Nov 2009 21:25:42 +0000</pubDate>
		<guid isPermaLink="false">http://geeklad.com/?p=1843#comment-1472</guid>
		<description>I found out why it doesn&#039;t work in conjunction with Mootools. There is a line:&lt;br&gt;&lt;br&gt;var natives = {&#039;Array&#039;: Array, &#039;Date&#039;: Date, &#039;Function&#039;: Function, &#039;Number&#039;: Number, &#039;RegExp&#039;: RegExp, &#039;String&#039;: String};&lt;br&gt;&lt;br&gt;Which is on line 96 for me. For some reason xdRequest won&#039;t run unless you remove the [&#039;Array&#039;: Array] part of that object. I&#039;m not sure exactly why this is an issue though.</description>
		<content:encoded><![CDATA[<p>I found out why it doesn&#39;t work in conjunction with Mootools. There is a line:</p>
<p>var natives = {&#39;Array&#39;: Array, &#39;Date&#39;: Date, &#39;Function&#39;: Function, &#39;Number&#39;: Number, &#39;RegExp&#39;: RegExp, &#39;String&#39;: String};</p>
<p>Which is on line 96 for me. For some reason xdRequest won&#39;t run unless you remove the [&#39;Array&#39;: Array] part of that object. I&#39;m not sure exactly why this is an issue though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Hopkins</title>
		<link>http://geeklad.com/make-cross-domain-ajax-requests-with-xdrequest/comment-page-1#comment-1471</link>
		<dc:creator>David Hopkins</dc:creator>
		<pubDate>Mon, 16 Nov 2009 21:07:22 +0000</pubDate>
		<guid isPermaLink="false">http://geeklad.com/?p=1843#comment-1471</guid>
		<description>Hi,&lt;br&gt;&lt;br&gt;Excellent project. Been looking for something like this for a while. I am having problems using this in conjunction with other JS files though, namely MooTools and not getting any error output.&lt;br&gt;&lt;br&gt;I think it may be some variable conflict. More project specific var and func names may help this issue.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Excellent project. Been looking for something like this for a while. I am having problems using this in conjunction with other JS files though, namely MooTools and not getting any error output.</p>
<p>I think it may be some variable conflict. More project specific var and func names may help this issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GeekLad</title>
		<link>http://geeklad.com/make-cross-domain-ajax-requests-with-xdrequest/comment-page-1#comment-1402</link>
		<dc:creator>GeekLad</dc:creator>
		<pubDate>Sun, 25 Oct 2009 13:32:07 +0000</pubDate>
		<guid isPermaLink="false">http://geeklad.com/?p=1843#comment-1402</guid>
		<description>The YQL servers will see the IP of the client.  The remote site will see the&lt;br&gt;IP of the YQL servers.  YQL also does pass along some headers that include&lt;br&gt;information about the client (for example, a header called X-Forwarded-For&lt;br&gt;that contains the IP address of the client).&lt;br&gt;&lt;br&gt;Because of the security measures enforced by browsers, the only way you can&lt;br&gt;make remote requests 100% within a client is with services that provide an&lt;br&gt;API that provide JASONP responses.  Otherwise, you have to use some sort of&lt;br&gt;proxy that will fetch the data for you and provide a JSONP response, as YQL&lt;br&gt;does.  I think YQL is the best solution I&#039;ve seen out there for doing this.</description>
		<content:encoded><![CDATA[<p>The YQL servers will see the IP of the client.  The remote site will see the<br />IP of the YQL servers.  YQL also does pass along some headers that include<br />information about the client (for example, a header called X-Forwarded-For<br />that contains the IP address of the client).</p>
<p>Because of the security measures enforced by browsers, the only way you can<br />make remote requests 100% within a client is with services that provide an<br />API that provide JASONP responses.  Otherwise, you have to use some sort of<br />proxy that will fetch the data for you and provide a JSONP response, as YQL<br />does.  I think YQL is the best solution I&#39;ve seen out there for doing this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Gigiano</title>
		<link>http://geeklad.com/make-cross-domain-ajax-requests-with-xdrequest/comment-page-1#comment-1401</link>
		<dc:creator>Kevin Gigiano</dc:creator>
		<pubDate>Sat, 24 Oct 2009 22:57:27 +0000</pubDate>
		<guid isPermaLink="false">http://geeklad.com/?p=1843#comment-1401</guid>
		<description>I see your point.&lt;br&gt;Correct me if I&#039;m wrong, but the requests made to YQL from the client, when visiting a site using your code.&lt;br&gt;YQL servers are going to see the IP of someone visiting a site, not the IP of the site itself?&lt;br&gt;&lt;br&gt;I see your point on the opt out as well.  All the more reason to skip Yahoo entirely.&lt;br&gt;Do you think there is a way to make remote requests completely on the client side.&lt;br&gt;If you could figure that out, say hello web 3.0!</description>
		<content:encoded><![CDATA[<p>I see your point.<br />Correct me if I&#39;m wrong, but the requests made to YQL from the client, when visiting a site using your code.<br />YQL servers are going to see the IP of someone visiting a site, not the IP of the site itself?</p>
<p>I see your point on the opt out as well.  All the more reason to skip Yahoo entirely.<br />Do you think there is a way to make remote requests completely on the client side.<br />If you could figure that out, say hello web 3.0!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GeekLad</title>
		<link>http://geeklad.com/make-cross-domain-ajax-requests-with-xdrequest/comment-page-1#comment-1393</link>
		<dc:creator>GeekLad</dc:creator>
		<pubDate>Sat, 24 Oct 2009 22:43:35 +0000</pubDate>
		<guid isPermaLink="false">http://geeklad.com/?p=1843#comment-1393</guid>
		<description>Thanks for the kind words.  Please be aware that the possibility of getting&lt;br&gt;blacklisted still exists.  The requests are made via dynamically inserted&lt;br&gt;scripts to the YQL servers.  YQL servers make the requests to the remote&lt;br&gt;pages and then send the data back to the client, so it is possible that some&lt;br&gt;servers may blacklist the YQL servers.  YQL also provides an opt-out option&lt;br&gt;for content providers: &lt;a href=&quot;http://developer.yahoo.com/yql/provider/&quot; rel=&quot;nofollow&quot;&gt;http://developer.yahoo.com/yql/provider/&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Thanks for the kind words.  Please be aware that the possibility of getting<br />blacklisted still exists.  The requests are made via dynamically inserted<br />scripts to the YQL servers.  YQL servers make the requests to the remote<br />pages and then send the data back to the client, so it is possible that some<br />servers may blacklist the YQL servers.  YQL also provides an opt-out option<br />for content providers: <a href="http://developer.yahoo.com/yql/provider/" rel="nofollow">http://developer.yahoo.com/yql/provider/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Gigiano</title>
		<link>http://geeklad.com/make-cross-domain-ajax-requests-with-xdrequest/comment-page-1#comment-1392</link>
		<dc:creator>Kevin Gigiano</dc:creator>
		<pubDate>Sat, 24 Oct 2009 19:45:01 +0000</pubDate>
		<guid isPermaLink="false">http://geeklad.com/?p=1843#comment-1392</guid>
		<description>Awesome job!&lt;br&gt;&lt;br&gt;About a year ago I tried to find a solution to do cross domain requests and was disappointed to find nothing worked.&lt;br&gt;I understand the security concerns.  In certain circumstances, it makes sense not to allow a clients browser to make requests outside the domain of whatever site they happen to be.  I can see how a DoS attack could be accomplished to&lt;br&gt;&lt;br&gt;As a developer, not allowing cross domain scripting sucks.  If I want to build a kick ass site that pulls data from multiple locations (many websites), I have to make my server(s) do all the work.  At first this seems ok, but if I want that site to scale horizontally on a massive scale, I need lots of $$$ or a way to easily monetize the site (which isn&#039;t always obvious at first).  Plus, those sites I use for data are eventually going to get pissed and ban the IP of my server(s).&lt;br&gt;&lt;br&gt;Massive low cost scaling can only be accomplished if the client is able to do some of the work.  Plus, I don&#039;t have to worry about any of my servers getting blacklisted because all remote data request are handled by the client and appear as normal traffic.&lt;br&gt;Your cross domain scripting solution is a major accomplishment, possibly an evolution of the web itself.&lt;br&gt;&lt;br&gt;I applaud and thank you for your work!&lt;br&gt;You rock!&lt;br&gt;&lt;br&gt;Kevin</description>
		<content:encoded><![CDATA[<p>Awesome job!</p>
<p>About a year ago I tried to find a solution to do cross domain requests and was disappointed to find nothing worked.<br />I understand the security concerns.  In certain circumstances, it makes sense not to allow a clients browser to make requests outside the domain of whatever site they happen to be.  I can see how a DoS attack could be accomplished to</p>
<p>As a developer, not allowing cross domain scripting sucks.  If I want to build a kick ass site that pulls data from multiple locations (many websites), I have to make my server(s) do all the work.  At first this seems ok, but if I want that site to scale horizontally on a massive scale, I need lots of $$$ or a way to easily monetize the site (which isn&#39;t always obvious at first).  Plus, those sites I use for data are eventually going to get pissed and ban the IP of my server(s).</p>
<p>Massive low cost scaling can only be accomplished if the client is able to do some of the work.  Plus, I don&#39;t have to worry about any of my servers getting blacklisted because all remote data request are handled by the client and appear as normal traffic.<br />Your cross domain scripting solution is a major accomplishment, possibly an evolution of the web itself.</p>
<p>I applaud and thank you for your work!<br />You rock!</p>
<p>Kevin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GeekLad</title>
		<link>http://geeklad.com/make-cross-domain-ajax-requests-with-xdrequest/comment-page-1#comment-1387</link>
		<dc:creator>GeekLad</dc:creator>
		<pubDate>Wed, 21 Oct 2009 15:17:37 +0000</pubDate>
		<guid isPermaLink="false">http://geeklad.com/?p=1843#comment-1387</guid>
		<description>I&#039;d be more than glad to add you to the project.  Welcome aboard!  :-D</description>
		<content:encoded><![CDATA[<p>I&#39;d be more than glad to add you to the project.  Welcome aboard!  <img src='http://geeklad.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Davide Zanotti</title>
		<link>http://geeklad.com/make-cross-domain-ajax-requests-with-xdrequest/comment-page-1#comment-1386</link>
		<dc:creator>Davide Zanotti</dc:creator>
		<pubDate>Wed, 21 Oct 2009 15:11:53 +0000</pubDate>
		<guid isPermaLink="false">http://geeklad.com/?p=1843#comment-1386</guid>
		<description>This project rocks! I would like to contribute, I can refactor the code and make &lt;br&gt;some simplifications to use it in a more clear and practice way, like: &lt;br&gt;var req = new xdRequest({&lt;br&gt;			method: &quot;get&quot;,&lt;br&gt;			url: &quot;http://www.remotesite.com&quot;,&lt;br&gt;			callback: function(data) {&lt;br&gt;				// handle data&lt;br&gt;			},&lt;br&gt;			headers: [&lt;br&gt;				{name: &quot;headername1&quot;, value: &quot;headervalue1&quot;},&lt;br&gt;				{name: &quot;headername2&quot;, value: &quot;headervalue2&quot;}&lt;br&gt;			]&lt;br&gt;		});&lt;br&gt;		&lt;br&gt;		req.execute(); &lt;br&gt;&lt;br&gt;...let me know!</description>
		<content:encoded><![CDATA[<p>This project rocks! I would like to contribute, I can refactor the code and make <br />some simplifications to use it in a more clear and practice way, like: <br />var req = new xdRequest({<br />			method: &#8220;get&#8221;,<br />			url: &#8220;http://www.remotesite.com&#8221;,<br />			callback: function(data) {<br />				// handle data<br />			},<br />			headers: [<br />				{name: "headername1", value: "headervalue1"},<br />				{name: "headername2", value: "headervalue2"}<br />			]<br />		});</p>
<p>		req.execute(); </p>
<p>&#8230;let me know!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
