<?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: Yahoo API search with JavaScript alone</title>
	<atom:link href="http://www.phpied.com/yahoo-api-search-with-javascript-alone/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpied.com/yahoo-api-search-with-javascript-alone/</link>
	<description>Stoyan&#039;s blog about &#60;a href=&#34;/category/xhtml&#34; class=&#34;tag-minor&#34;&#62;(x)html(5)&#60;/a&#62;, &#60;a href=&#34;/category/ajax&#34; class=&#34;tag-major&#34;&#62;ajax&#60;/a&#62;, &#60;a href=&#34;/category/bookmarklets&#34; class=&#34;tag-major&#34;&#62;bookmarklets&#60;/a&#62;, &#60;a href=&#34;/category/browsers&#34; class=&#34;tag-minor&#34;&#62;browsers&#60;/a&#62;, &#60;a href=&#34;/category/css&#34; class=&#34;tag-normal&#34;&#62;css&#60;/a&#62;, &#60;a href=&#34;/category/firebug&#34; class=&#34;tag-minor&#34;&#62;firebug&#60;/a&#62;, &#60;a href=&#34;/category/javascript&#34; class=&#34;tag-numero-uno&#34;&#62;javascript&#60;/a&#62;, &#60;a href=&#34;/category/json&#34; class=&#34;tag-normal&#34;&#62;json&#60;/a&#62;, &#60;a href=&#34;/category/mdb2&#34; class=&#34;tag-minor&#34;&#62;mdb2&#60;/a&#62;, &#60;a href=&#34;/category/mysql&#34; class=&#34;tag-normal&#34;&#62;mysql&#60;/a&#62;, &#60;a href=&#34;/category/pear&#34; class=&#34;tag-numero-uno&#34;&#62;pear&#60;/a&#62;, &#60;a href=&#34;/category/performance&#34; class=&#34;tag-major&#34;&#62;performance&#60;/a&#62;, &#60;a href=&#34;/category/php&#34; class=&#34;tag-numero-uno&#34;&#62;php&#60;/a&#62;, &#60;a href=&#34;/category/phpbb&#34; class=&#34;tag-major&#34;&#62;phpbb&#60;/a&#62;, &#60;a href=&#34;/category/tools&#34; class=&#34;tag-normal&#34;&#62;tools&#60;/a&#62;, &#60;a href=&#34;/category/yslow&#34; class=&#34;tag-minor&#34;&#62;yslow&#60;/a&#62;, &#60;a href=&#34;/category/yui&#34; class=&#34;tag-normal&#34;&#62;yui&#60;/a&#62;, &#60;a href=&#34;/category/writing&#34; class=&#34;tag-minor&#34;&#62;writing&#60;/a&#62;, &#60;a href=&#34;/category/music&#34; class=&#34;tag-major&#34;&#62;music&#60;/a&#62;,... &#60;a href=&#34;/category/life-and-everything&#34; class=&#34;tag-normal&#34;&#62;life and everything&#60;/a&#62;.</description>
	<lastBuildDate>Sat, 11 Feb 2012 14:07:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: Ashish</title>
		<link>http://www.phpied.com/yahoo-api-search-with-javascript-alone/#comment-77338</link>
		<dc:creator>Ashish</dc:creator>
		<pubDate>Sun, 10 Apr 2011 05:59:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/yahoo-api-search-with-javascript-alone/#comment-77338</guid>
		<description>please give me the complete code. I am finding trouble in compiling the code.</description>
		<content:encoded><![CDATA[<p>please give me the complete code. I am finding trouble in compiling the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jenny</title>
		<link>http://www.phpied.com/yahoo-api-search-with-javascript-alone/#comment-75511</link>
		<dc:creator>Jenny</dc:creator>
		<pubDate>Sat, 08 Jan 2011 06:58:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/yahoo-api-search-with-javascript-alone/#comment-75511</guid>
		<description>It is the most pertinent and up to date information I came across on this issue. Certainly thankful that I came to your page by accident. I¡¯ll be browsing your site so that I can acquire the newest news.  all the knowledge here.</description>
		<content:encoded><![CDATA[<p>It is the most pertinent and up to date information I came across on this issue. Certainly thankful that I came to your page by accident. I¡¯ll be browsing your site so that I can acquire the newest news.  all the knowledge here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: All in a days work&#8230;</title>
		<link>http://www.phpied.com/yahoo-api-search-with-javascript-alone/#comment-61674</link>
		<dc:creator>All in a days work&#8230;</dc:creator>
		<pubDate>Sat, 28 Jul 2007 04:39:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/yahoo-api-search-with-javascript-alone/#comment-61674</guid>
		<description>[...] Yahoo API search with JavaScript alone The cool think about Y! web services is that they provide you different options for the output format of the results they return. You can get XML, php serialized string or JSON. (No SOAP, thank you very much!). [...]</description>
		<content:encoded><![CDATA[<p>[...] Yahoo API search with JavaScript alone The cool think about Y! web services is that they provide you different options for the output format of the results they return. You can get XML, php serialized string or JSON. (No SOAP, thank you very much!). [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stoyan</title>
		<link>http://www.phpied.com/yahoo-api-search-with-javascript-alone/#comment-49226</link>
		<dc:creator>Stoyan</dc:creator>
		<pubDate>Thu, 08 Feb 2007 18:52:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/yahoo-api-search-with-javascript-alone/#comment-49226</guid>
		<description>Hi Craig,

You can use your Firebug (or view generated source) to see what happens.

Basically when you include the script, the result is something like:
&lt;script src=&quot;http://provider.com/service.php?param=foo&amp;callback=fn&quot; ...

and the service responds with:
fn(the_result)

where:
- fn is the name of your callback function
- the_result is some JSON encoded data that the service returns you

So at the end in your page you have:
&lt;script src=&quot;http://provider.com/service.php?param=foo&amp;callback=fn&quot;&gt;
fn({foo:bar,poo:whatever})
&lt;/script&gt;</description>
		<content:encoded><![CDATA[<p>Hi Craig,</p>
<p>You can use your Firebug (or view generated source) to see what happens.</p>
<p>Basically when you include the script, the result is something like:<br />
&lt;script src=&#8221;http://provider.com/service.php?param=foo&#038;callback=fn&#8221; &#8230;</p>
<p>and the service responds with:<br />
fn(the_result)</p>
<p>where:<br />
- fn is the name of your callback function<br />
- the_result is some JSON encoded data that the service returns you</p>
<p>So at the end in your page you have:<br />
&lt;script src=&#8221;http://provider.com/service.php?param=foo&#038;callback=fn&#8221;&gt;<br />
fn({foo:bar,poo:whatever})<br />
&lt;/script&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://www.phpied.com/yahoo-api-search-with-javascript-alone/#comment-49097</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Tue, 30 Jan 2007 05:34:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/yahoo-api-search-with-javascript-alone/#comment-49097</guid>
		<description>Possibly dumb question, but how does the Yahoo service call the javascript callback function? I am trying to implement a similar service on my site but my site needs to call the callback function so I was wonder how they would implement this.</description>
		<content:encoded><![CDATA[<p>Possibly dumb question, but how does the Yahoo service call the javascript callback function? I am trying to implement a similar service on my site but my site needs to call the callback function so I was wonder how they would implement this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stoyan</title>
		<link>http://www.phpied.com/yahoo-api-search-with-javascript-alone/#comment-19311</link>
		<dc:creator>Stoyan</dc:creator>
		<pubDate>Mon, 16 Oct 2006 13:21:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/yahoo-api-search-with-javascript-alone/#comment-19311</guid>
		<description>myf, good idea!</description>
		<content:encoded><![CDATA[<p>myf, good idea!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: myf</title>
		<link>http://www.phpied.com/yahoo-api-search-with-javascript-alone/#comment-19273</link>
		<dc:creator>myf</dc:creator>
		<pubDate>Mon, 16 Oct 2006 10:55:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/yahoo-api-search-with-javascript-alone/#comment-19273</guid>
		<description>It works fine in FF.
What about making your searches linkable and &#039;parametrize&#039; them in location.search (or more possibly in .hash) and then look for them in script?</description>
		<content:encoded><![CDATA[<p>It works fine in FF.<br />
What about making your searches linkable and &#8216;parametrize&#8217; them in location.search (or more possibly in .hash) and then look for them in script?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stoyan</title>
		<link>http://www.phpied.com/yahoo-api-search-with-javascript-alone/#comment-18734</link>
		<dc:creator>Stoyan</dc:creator>
		<pubDate>Fri, 13 Oct 2006 20:28:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/yahoo-api-search-with-javascript-alone/#comment-18734</guid>
		<description>Hey BillyG, weird that it didn&#039;t work for you in FF, FF is what I use for development.</description>
		<content:encoded><![CDATA[<p>Hey BillyG, weird that it didn&#8217;t work for you in FF, FF is what I use for development.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BillyG</title>
		<link>http://www.phpied.com/yahoo-api-search-with-javascript-alone/#comment-18689</link>
		<dc:creator>BillyG</dc:creator>
		<pubDate>Fri, 13 Oct 2006 16:19:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/yahoo-api-search-with-javascript-alone/#comment-18689</guid>
		<description>Nice job.

fyi: It worked for me in IE and Opera, but not FF.

I haven&#039;t had a chance to get into the YUI yet (just now getting brushed up on Flash), but it&#039;s good to know that there are lots of possibilities. 

Thx.</description>
		<content:encoded><![CDATA[<p>Nice job.</p>
<p>fyi: It worked for me in IE and Opera, but not FF.</p>
<p>I haven&#8217;t had a chance to get into the YUI yet (just now getting brushed up on Flash), but it&#8217;s good to know that there are lots of possibilities. </p>
<p>Thx.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sheer Indulgence - The Best That Money Can Buy - -- Centplus Tech</title>
		<link>http://www.phpied.com/yahoo-api-search-with-javascript-alone/#comment-18562</link>
		<dc:creator>Sheer Indulgence - The Best That Money Can Buy - -- Centplus Tech</dc:creator>
		<pubDate>Fri, 13 Oct 2006 07:59:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/yahoo-api-search-with-javascript-alone/#comment-18562</guid>
		<description>[...] Yahoo API search with JavaScript aloneurl of the web search service this.web_url = &#8220;http://api.search.yahoo. com/WebSearchService/V1/webSearch?&#8221;; // ID of element that will // display the result this.where = &#8216;&#8217;; // is this an image search? this.image_search = false; &#8230; [...]</description>
		<content:encoded><![CDATA[<p>[...] Yahoo API search with JavaScript aloneurl of the web search service this.web_url = &#8220;<a href="http://api.search.yahoo" rel="nofollow">http://api.search.yahoo</a>. com/WebSearchService/V1/webSearch?&#8221;; // ID of element that will // display the result this.where = &#8216;&#8217;; // is this an image search? this.image_search = false; &#8230; [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

