<?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: Looping Through JSON &amp; Wrapping Subsets with JQuery</title>
	<atom:link href="http://www.techtalkpoint.com/articles/looping-through-json-wrapping-subsets-with-jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techtalkpoint.com/articles/looping-through-json-wrapping-subsets-with-jquery/</link>
	<description>Tech-Related Bloggery</description>
	<lastBuildDate>Thu, 09 Sep 2010 10:18:25 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: David Ihnen</title>
		<link>http://www.techtalkpoint.com/articles/looping-through-json-wrapping-subsets-with-jquery/comment-page-1/#comment-1057</link>
		<dc:creator>David Ihnen</dc:creator>
		<pubDate>Thu, 12 Aug 2010 21:30:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.techtalkpoint.com/?p=100368#comment-1057</guid>
		<description>Seriously?  Come on guys, the most basic variable name check would show this couldn&#039;t possibly work.  it requires that you get the value from &#039;data[item]&#039;, what is &#039;list[item]&#039;???

And you forgot the prototype property wrapper.  The loop should be wrapped to skip inherited possibles and using the proper variable names...

for(item in data) {
  // skip inherited properties
  if (data.hasOwnProperty(item)) {
    //assign this object to a var
    var project = data[item];
  ...
  }
}

You should use the jquery shortcuts or at least DOM calls for creating elements instead of inserting html strings, its no wonder bad style pukes out of amateurs when their examples are this awful.</description>
		<content:encoded><![CDATA[<p>Seriously?  Come on guys, the most basic variable name check would show this couldn&#8217;t possibly work.  it requires that you get the value from &#8216;data[item]&#8216;, what is &#8216;list[item]&#8216;???</p>
<p>And you forgot the prototype property wrapper.  The loop should be wrapped to skip inherited possibles and using the proper variable names&#8230;</p>
<p>for(item in data) {<br />
  // skip inherited properties<br />
  if (data.hasOwnProperty(item)) {<br />
    //assign this object to a var<br />
    var project = data[item];<br />
  &#8230;<br />
  }<br />
}</p>
<p>You should use the jquery shortcuts or at least DOM calls for creating elements instead of inserting html strings, its no wonder bad style pukes out of amateurs when their examples are this awful.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
