<?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: PHP: How to easily provide JSON and JSONP</title>
	<atom:link href="http://www.geekality.net/2010/06/27/php-how-to-easily-provide-json-and-jsonp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geekality.net/2010/06/27/php-how-to-easily-provide-json-and-jsonp/</link>
	<description>With a hint of Social Ineptitude</description>
	<lastBuildDate>Tue, 07 Feb 2012 09:05:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Torleif</title>
		<link>http://www.geekality.net/2010/06/27/php-how-to-easily-provide-json-and-jsonp/#comment-10660</link>
		<dc:creator>Torleif</dc:creator>
		<pubDate>Sun, 08 Jan 2012 13:34:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekality.net/?p=1021#comment-10660</guid>
		<description>Added a bit about this now. Again, thanks for the heads up!</description>
		<content:encoded><![CDATA[<p>Added a bit about this now. Again, thanks for the heads up!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Torleif</title>
		<link>http://www.geekality.net/2010/06/27/php-how-to-easily-provide-json-and-jsonp/#comment-10374</link>
		<dc:creator>Torleif</dc:creator>
		<pubDate>Thu, 01 Dec 2011 07:29:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekality.net/?p=1021#comment-10374</guid>
		<description>When visiting that page I got the JSON fine. Sure it supports JSONP? Don&#039;t know any Ext, so can&#039;t help you much there.</description>
		<content:encoded><![CDATA[<p>When visiting that page I got the JSON fine. Sure it supports JSONP? Don&#8217;t know any Ext, so can&#8217;t help you much there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bouheang</title>
		<link>http://www.geekality.net/2010/06/27/php-how-to-easily-provide-json-and-jsonp/#comment-10354</link>
		<dc:creator>Bouheang</dc:creator>
		<pubDate>Wed, 30 Nov 2011 03:42:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekality.net/?p=1021#comment-10354</guid>
		<description>Hi all Sencha Touch Dev,
i am a new Dev that i have one problem need someone to help something,I want to get Json Data Transfer from url:http://townhub.bmsolution.biz/mysql2json-2010-11-07/example.php but it error. SMS Error on Fire buge: invalid label
[Break On This Error] “data”: [
here is my code:

&lt;code lang=&quot;javascript&quot;&gt;
// JavaScript Document

Ext.application({
name: &#039;Sencha&#039;,
launch: function() {
Ext.create(&#039;Ext.DataView&#039;, {
fullscreen: true,
store: {
autoLoad: true,
//fields: [&#039;from_user&#039;, &#039;text&#039;, &#039;profile_image_url&#039;],
fields: [&quot;id&quot;,&quot;cust_firstname&quot;, &quot;cust_lastname&quot;,&quot;cust_email&quot;],

proxy: {
type: ‘jsonp’,
url: ‘http://townhub.bmsolution.biz/mysql2json-2010-11-07/example.php’,

reader: {
type: ‘json’,
root: ‘data’
}
}
},
/*
itemConfig: {
tpl: ‘{from_user}{text}’
}*/
});

}
});
&lt;/code&gt;

pls help me, and thank u for advance… for reply me i allway waitting .,</description>
		<content:encoded><![CDATA[<p>Hi all Sencha Touch Dev,<br />
i am a new Dev that i have one problem need someone to help something,I want to get Json Data Transfer from url:<a href="http://townhub.bmsolution.biz/mysql2json-2010-11-07/example.php" rel="nofollow">http://townhub.bmsolution.biz/mysql2json-2010-11-07/example.php</a> but it error. SMS Error on Fire buge: invalid label<br />
[Break On This Error] “data”: [<br />
here is my code:</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #006600; font-style: italic;">// JavaScript Document</span><br />
<br />
Ext.<span style="color: #660066;">application</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span><br />
<span style="color: #000066;">name</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">'Sencha'</span><span style="color: #339933;">,</span><br />
launch<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
Ext.<span style="color: #660066;">create</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'Ext.DataView'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span><br />
fullscreen<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">,</span><br />
store<span style="color: #339933;">:</span> <span style="color: #009900;">&#123;</span><br />
autoLoad<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">,</span><br />
<span style="color: #006600; font-style: italic;">//fields: ['from_user', 'text', 'profile_image_url'],</span><br />
fields<span style="color: #339933;">:</span> <span style="color: #009900;">&#91;</span><span style="color: #3366CC;">&quot;id&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;cust_firstname&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;cust_lastname&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;cust_email&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><br />
<br />
proxy<span style="color: #339933;">:</span> <span style="color: #009900;">&#123;</span><br />
type<span style="color: #339933;">:</span> ‘jsonp’<span style="color: #339933;">,</span><br />
url<span style="color: #339933;">:</span> ‘http<span style="color: #339933;">:</span><span style="color: #006600; font-style: italic;">//townhub.bmsolution.biz/mysql2json-2010-11-07/example.php’,</span><br />
<br />
reader<span style="color: #339933;">:</span> <span style="color: #009900;">&#123;</span><br />
type<span style="color: #339933;">:</span> ‘json’<span style="color: #339933;">,</span><br />
root<span style="color: #339933;">:</span> ‘data’<br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><br />
<span style="color: #006600; font-style: italic;">/*<br />
itemConfig: {<br />
tpl: ‘{from_user}{text}’<br />
}*/</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>pls help me, and thank u for advance… for reply me i allway waitting .,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Torleif</title>
		<link>http://www.geekality.net/2010/06/27/php-how-to-easily-provide-json-and-jsonp/#comment-10347</link>
		<dc:creator>Torleif</dc:creator>
		<pubDate>Tue, 29 Nov 2011 20:17:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekality.net/?p=1021#comment-10347</guid>
		<description>Make sure you&#039;re encoding what you want, and try to adjust the output of &lt;a href=&quot;http://php.net/manual/en/function.json-encode.php&quot; rel=&quot;nofollow&quot;&gt;json_encode&lt;/a&gt; by using one of the options. Think [ ] is for arrays. Are you encoding an array or an object? Maybe the JSON_FORCE_OBJECT option could help?</description>
		<content:encoded><![CDATA[<p>Make sure you&#8217;re encoding what you want, and try to adjust the output of <a href="http://php.net/manual/en/function.json-encode.php" rel="nofollow">json_encode</a> by using one of the options. Think [ ] is for arrays. Are you encoding an array or an object? Maybe the JSON_FORCE_OBJECT option could help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juan</title>
		<link>http://www.geekality.net/2010/06/27/php-how-to-easily-provide-json-and-jsonp/#comment-10346</link>
		<dc:creator>Juan</dc:creator>
		<pubDate>Tue, 29 Nov 2011 19:34:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekality.net/?p=1021#comment-10346</guid>
		<description>Hey, great post save me a lot of time searching the web....
i have a question...
i want the response of this jsonp call be surrounded by  
{

}
instead im gettin
[
  {
  }
]
can anyone tell me or helping me on this?

thanks</description>
		<content:encoded><![CDATA[<p>Hey, great post save me a lot of time searching the web&#8230;.<br />
i have a question&#8230;<br />
i want the response of this jsonp call be surrounded by<br />
{</p>
<p>}<br />
instead im gettin<br />
[<br />
  {<br />
  }<br />
]<br />
can anyone tell me or helping me on this?</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich Stokoe</title>
		<link>http://www.geekality.net/2010/06/27/php-how-to-easily-provide-json-and-jsonp/#comment-10225</link>
		<dc:creator>Rich Stokoe</dc:creator>
		<pubDate>Tue, 22 Nov 2011 19:41:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekality.net/?p=1021#comment-10225</guid>
		<description>Great post! Thanks for your hard work putting this together.</description>
		<content:encoded><![CDATA[<p>Great post! Thanks for your hard work putting this together.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony Volodkin</title>
		<link>http://www.geekality.net/2010/06/27/php-how-to-easily-provide-json-and-jsonp/#comment-10017</link>
		<dc:creator>Anthony Volodkin</dc:creator>
		<pubDate>Mon, 07 Nov 2011 18:11:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekality.net/?p=1021#comment-10017</guid>
		<description>Very handy and simply explained, thank you!</description>
		<content:encoded><![CDATA[<p>Very handy and simply explained, thank you!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

