Description Usage Arguments Value Examples
Get Tumblr posts from a given tumblog
1 2 3 4 |
url |
URL of the tumblog to read, without "http://" or trailing slash. If "dashboard", read from the dashboard. |
start |
offset to start from (defaults to 0). |
num |
number of posts to return (defaults to 20, maximum is 50). |
type |
type of posts to return ("text", "quote", "photo", "link", "chat", "video", "audio", defaults to NULL for all posts). |
id |
ID of a specific post to return, supercedes start, num, and type. |
filter |
"text" for plain text, "none" for no post-processing (defaults to NULL for HTML). |
tagged |
posts with this tag, newest first (defaults to NULL). |
chrono |
used with tagged, TRUE to get oldest posts first (defaults to FALSE). |
search |
query to search for in posts (defaults to NULL). |
user |
list with values email and password, to use with state (defaults to NULL). |
state |
"draft", "queue", "submission" posts, requires user to be set (defaults to NULL). |
verbose |
boolean for more verbosity, passed to RCurl |
list of posts matching the request.
1 2 3 4 5 6 7 8 9 | url <- "demo.tumblr.com"
tumblrRead(url)
tumblrRead(url, start = 2, num = 1)
tumblrRead(url, id = 459009076)
tumblrRead(url, tagged = "funny", filter = "none")
url2 <- "(YOU).tumblr.com"
user <- list(email = "XXXXXXXX", password = "XXXXXX")
tumblrRead(url2, user = user, state = "draft")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.