title: Filtering .each with json
body: <pre><code>$.get('/shared/ajax/blog.asp', function(data){
  jsonArray = $.xml2json(data)
  $.each(jsonArray.channel.item, function(i, item) { 
  var title = item.title 
  </code></pre>
  
  <p>In this data I have a variety of different item.category options available. In my each function I would like to exclude items that have a category of UT or UK. At the end of the function I have a simple if statement that gets rid of it but it is still counting as an "i" in the function above. I need the newest 8 posts excluding UT and UK posts and how it is now I am only getting 6 results because a UK item.category is excluded.  </p>