<tumblr-feed>

Web Component for easily getting a Tumblr blog JSON feed. by @moebiusmania


How to use

Just add the custom tag in your page with a few settings:

<tumblr-feed
  blog="staff"
  posts="5">
</tumblr-feed>

then in your Jasvascript (internal or external) just define the callback function:

function tumblr(data){
  console.log(data);
  // everything you want to do with the data here...
}

and in your console you will have something like this (posts object removed intentionally):



    

More info on the README file...


Credits