Created
November 11, 2012 23:07
-
-
Save jarmo/4056659 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
new Tumblr.RecentPosts($("#recent-posts"), 20).render() | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="recent-posts"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type='text/javascript' src='https://raw.github.com/gist/4056588'></script> | |
<script type='text/javascript' | |
$(function() { | |
new Tumblr.RecentPosts($("#recent-posts")).render() | |
}) | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.