Skip to content

Instantly share code, notes, and snippets.

@ananyo2012
Created July 3, 2016 06:52
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/db89665c71823bddee8f4e2fb07c8087 to your computer and use it in GitHub Desktop.
Save ananyo2012/db89665c71823bddee8f4e2fb07c8087 to your computer and use it in GitHub Desktop.
Code snippet for fetching content of rss feed
$('#maps table').append('<tr class="feed-item-' + i '"></tr>');
var itemEl = $('#maps table .feed-item-' + i);
itemEl.append('<tr class="title"></tr>');
itemEl.find('.title').html(title);
itemEl.append('<tr class="description"></tr>');
itemEl.find('.description').html(description);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment