<?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, JSON and JavaScript usage</title>
	<atom:link href="http://ditio.net/2008/07/17/php-json-and-javascript-usage/feed/" rel="self" type="application/rss+xml" />
	<link>http://ditio.net/2008/07/17/php-json-and-javascript-usage/</link>
	<description>Practical guide to WordPress development, blogging and programming</description>
	<lastBuildDate>Sun, 11 Dec 2011 21:19:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: John</title>
		<link>http://ditio.net/2008/07/17/php-json-and-javascript-usage/comment-page-1/#comment-199649</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 04 Oct 2011 13:44:32 +0000</pubDate>
		<guid isPermaLink="false">http://ditio.net/?p=36#comment-199649</guid>
		<description>This was a great tutorial and I really benefitted from it.
I am stuck on a problem of sending html inside json encoded string.

I have an array that contains html link markup.

for example,
$lnk = &#039;&lt;a href=&quot;http://abc.com&quot; rel=&quot;nofollow&quot;&gt;Link&lt;/a&gt;&#039;;
$a = array($lnk);

When I useo php json_encode it converts this string to the following format.

[&quot;&lt;a href=&quot;http:\/\/abbb.com&quot; rel=&quot;nofollow&quot;&gt;Link 1&lt;/a&gt; &quot;]

Now how can I get the original markup from this json encoded string?
I tried decodeURI and it does not work as intended in Chrome but works in FF.

Please let me know if you have any ideas about this issue.</description>
		<content:encoded><![CDATA[<p>This was a great tutorial and I really benefitted from it.<br />
I am stuck on a problem of sending html inside json encoded string.</p>
<p>I have an array that contains html link markup.</p>
<p>for example,<br />
$lnk = &#8216;<a href="http://abc.com" rel="nofollow">Link</a>&#8216;;<br />
$a = array($lnk);</p>
<p>When I useo php json_encode it converts this string to the following format.</p>
<p>["<a href="http:\/\/abbb.com" rel="nofollow">Link 1</a> "]</p>
<p>Now how can I get the original markup from this json encoded string?<br />
I tried decodeURI and it does not work as intended in Chrome but works in FF.</p>
<p>Please let me know if you have any ideas about this issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ManojKumar B</title>
		<link>http://ditio.net/2008/07/17/php-json-and-javascript-usage/comment-page-1/#comment-171493</link>
		<dc:creator>ManojKumar B</dc:creator>
		<pubDate>Thu, 18 Aug 2011 15:15:14 +0000</pubDate>
		<guid isPermaLink="false">http://ditio.net/?p=36#comment-171493</guid>
		<description>Thanks Greg Winiarski for this nice tutorial. This helped me relieve from the stuck of coding. And i learned a new thing.
Thanks again. Keep rocking...</description>
		<content:encoded><![CDATA[<p>Thanks Greg Winiarski for this nice tutorial. This helped me relieve from the stuck of coding. And i learned a new thing.<br />
Thanks again. Keep rocking&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rajwinder</title>
		<link>http://ditio.net/2008/07/17/php-json-and-javascript-usage/comment-page-1/#comment-159672</link>
		<dc:creator>rajwinder</dc:creator>
		<pubDate>Sun, 24 Jul 2011 08:23:27 +0000</pubDate>
		<guid isPermaLink="false">http://ditio.net/?p=36#comment-159672</guid>
		<description>I am completely new to json. so thanx for such a tutorial.hope i will use it efficiently.</description>
		<content:encoded><![CDATA[<p>I am completely new to json. so thanx for such a tutorial.hope i will use it efficiently.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bart</title>
		<link>http://ditio.net/2008/07/17/php-json-and-javascript-usage/comment-page-1/#comment-115897</link>
		<dc:creator>Bart</dc:creator>
		<pubDate>Wed, 20 Apr 2011 13:01:32 +0000</pubDate>
		<guid isPermaLink="false">http://ditio.net/?p=36#comment-115897</guid>
		<description>Jai - look at http://ditio.net/2007/07/14/your-very-first-ajax-web-application/

it is linked as intro to ajax. GettHTTPObject function is there. Copy and paste works.</description>
		<content:encoded><![CDATA[<p>Jai &#8211; look at <a href="http://ditio.net/2007/07/14/your-very-first-ajax-web-application/" rel="nofollow">http://ditio.net/2007/07/14/your-very-first-ajax-web-application/</a></p>
<p>it is linked as intro to ajax. GettHTTPObject function is there. Copy and paste works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RT</title>
		<link>http://ditio.net/2008/07/17/php-json-and-javascript-usage/comment-page-1/#comment-113554</link>
		<dc:creator>RT</dc:creator>
		<pubDate>Fri, 15 Apr 2011 07:48:26 +0000</pubDate>
		<guid isPermaLink="false">http://ditio.net/?p=36#comment-113554</guid>
		<description>Looks like  is down.  I got a copy off of github, but nowhere do I see the getHTTPObject function.  Help!</description>
		<content:encoded><![CDATA[<p>Looks like  is down.  I got a copy off of github, but nowhere do I see the getHTTPObject function.  Help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Code</title>
		<link>http://ditio.net/2008/07/17/php-json-and-javascript-usage/comment-page-1/#comment-109680</link>
		<dc:creator>Code</dc:creator>
		<pubDate>Wed, 06 Apr 2011 11:21:23 +0000</pubDate>
		<guid isPermaLink="false">http://ditio.net/?p=36#comment-109680</guid>
		<description>Hmm, is there a link somewhere to download the code?</description>
		<content:encoded><![CDATA[<p>Hmm, is there a link somewhere to download the code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Søren</title>
		<link>http://ditio.net/2008/07/17/php-json-and-javascript-usage/comment-page-1/#comment-107593</link>
		<dc:creator>Søren</dc:creator>
		<pubDate>Fri, 01 Apr 2011 09:24:23 +0000</pubDate>
		<guid isPermaLink="false">http://ditio.net/?p=36#comment-107593</guid>
		<description>JSON is NOT a subset of Java Script. A common mistake made by amatures.
However this was a pretty good guide but would like some more DECODING from Httprequest results. :-)</description>
		<content:encoded><![CDATA[<p>JSON is NOT a subset of Java Script. A common mistake made by amatures.<br />
However this was a pretty good guide but would like some more DECODING from Httprequest results. <img src='http://ditio.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tennek</title>
		<link>http://ditio.net/2008/07/17/php-json-and-javascript-usage/comment-page-1/#comment-100783</link>
		<dc:creator>Tennek</dc:creator>
		<pubDate>Thu, 10 Mar 2011 17:32:07 +0000</pubDate>
		<guid isPermaLink="false">http://ditio.net/?p=36#comment-100783</guid>
		<description>Where is the whole code attachment? Can&#039;t find it :s</description>
		<content:encoded><![CDATA[<p>Where is the whole code attachment? Can&#8217;t find it :s</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jai</title>
		<link>http://ditio.net/2008/07/17/php-json-and-javascript-usage/comment-page-1/#comment-100351</link>
		<dc:creator>jai</dc:creator>
		<pubDate>Wed, 09 Mar 2011 05:57:56 +0000</pubDate>
		<guid isPermaLink="false">http://ditio.net/?p=36#comment-100351</guid>
		<description>Hi guys
I got this error after execution. Can anybody help?
getHTTPObject is not defined</description>
		<content:encoded><![CDATA[<p>Hi guys<br />
I got this error after execution. Can anybody help?<br />
getHTTPObject is not defined</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jfbcb</title>
		<link>http://ditio.net/2008/07/17/php-json-and-javascript-usage/comment-page-1/#comment-97972</link>
		<dc:creator>jfbcb</dc:creator>
		<pubDate>Wed, 02 Mar 2011 02:43:59 +0000</pubDate>
		<guid isPermaLink="false">http://ditio.net/?p=36#comment-97972</guid>
		<description>very good! well,i also want to know if i use return data ,how can i use the data by use javascript.poor enligh,thank u so much.</description>
		<content:encoded><![CDATA[<p>very good! well,i also want to know if i use return data ,how can i use the data by use javascript.poor enligh,thank u so much.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

