Skip to content

Instantly share code, notes, and snippets.

@jarmo
Created November 11, 2012 23:07
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 jarmo/4056659 to your computer and use it in GitHub Desktop.
Save jarmo/4056659 to your computer and use it in GitHub Desktop.
$(function() {
new Tumblr.RecentPosts($("#recent-posts"), 20).render()
})
<div id="recent-posts"></div>
<script type='text/javascript' src='https://raw.github.com/gist/4056588'></script>
<script type='text/javascript'
$(function() {
new Tumblr.RecentPosts($("#recent-posts")).render()
})
</script>
@ColeTownsend
Copy link

Jarmo, is there any way to pull the date from the RSS feed? I'm trying to add {TimeAgo}. Naturally the Tumblr code doesn't work with the javascript.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment