Description Usage Arguments Value
Import a post from an external source (e.g. GitHub repo, RPubs article, etc.).
1 2 3 4 5 | import_post(url, slug = "auto", date = Sys.Date(),
date_prefix = TRUE, check_license = TRUE, overwrite = FALSE,
view = interactive())
update_post(slug, view = interactive())
|
url |
URL for post to import |
slug |
Post slug (directory name). Automatically computed from title if not provided. |
date |
Post date (defaults to current date) |
date_prefix |
Data prefix for post slug (preserves chronological order for posts within the filesystem). |
check_license |
Verify that the imported posted has a creative commons license |
overwrite |
Overwrite existing post? (defaults to |
view |
View the post after importing it. |
Returns (invisibly) a logical indicating whether the operation completed (it may not complete if, for example, the user chose not to import an article that lacked a creative commons license).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.