post_wordpress: A function that reads posts a file to wordpress

Description Usage Arguments Details Value

Description

A function that reads posts a file to wordpress

Usage

1
2
  post_wordpress(file, title = format(Sys.time(), "%A"),
    publish = FALSE)

Arguments

file

the wordpress blog post

title

the title for the post

publish

should I post as a draft or publish immediately?

Details

Requires wordpress options be already configured, e.g. options(WordPressLogin = c(userid = "password"), WordPressURL = "http://www.yourdomain.com/xmlrpc.php")

Value

creates a wordpress post


cboettig/socialR documentation built on May 13, 2019, 2:11 p.m.