Skip to content

Instantly share code, notes, and snippets.

@dheaney
Last active August 29, 2015 13:57
Show Gist options
  • Select an option

  • Save dheaney/9442996 to your computer and use it in GitHub Desktop.

Select an option

Save dheaney/9442996 to your computer and use it in GitHub Desktop.
$.getJSON( https://roon.io/api/v1/blogs/tux/posts, function( data ) {
var posts = []
$.each( data, function( key, val ) {
console.log(key);
console.log(val.url);
posts.push(val.content_html);
$("<p/>", { html: val.content_html }).appendTo('body');
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment