Created
February 9, 2010 17:13
-
-
Save pullmonkey/299419 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
$tumblr_user = Tumblr::User.new('[email protected]', 'ourtumblrpassword') | |
Tumblr.blog = 'ourtumblrcmsblog' | |
def tumblr_cms(tag) | |
post = Tumblr::Post.first(:tagged => tag) | |
return nil if post.nil? | |
return post["regular_body"] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment