I'm using R to upload posts onto Wordpress using XML-RPC using the
newPost function from the RWordpress package.
The function call I'm using is:
newPost( content = list( description = postContent, title = ttl, categories = category_desc, mt_keywords = keywords ), publish = TRUE )
I've just created custom taxonomies for my posts but am unsure how to tag those within the function call. Can anyone please advise?
For example, I have a custom taxonomy named "Monkey Type". I want to be able to tag it under the term name "Chimpanzee". Understand that the
newPost() function uses
wp.newPost allows tagging of posts to custom taxonomies through the terms and terms names parameter but I'm unsure how to supply the relevant struct in R.