Skip to content

Instantly share code, notes, and snippets.

@ananyo2012
Created July 3, 2016 06:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ananyo2012/9f025c7de1e9591d365b2ec1568fb823 to your computer and use it in GitHub Desktop.
Save ananyo2012/9f025c7de1e9591d365b2ec1568fb823 to your computer and use it in GitHub Desktop.
Code snippet for parsing rss feed
$.each($(feed).find('channel item'), function (i, item) {
title = $(item).find('title').html(),
description = $(item).find('description').html();
// Rendering code goes here
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment