How can RWordPress retrieve blog post content? How can RWordPress retrieve blog post content? wordpress wordpress

How can RWordPress retrieve blog post content?


Tell me if I am missing something, but for me the description identifier of posts seem to deliver the whole text.

RWordpress maps all the functions in XML-RPC wp

if (!require('RWordPress')) {  devtools::install_github(c("duncantl/XMLRPC", "duncantl/RWordPress"))}library(RWordPress)options(WordpressLogin = c(myusername = 'mypassword'),        WordpressURL = 'http://localhost/myblog/wordpress/xmlrpc.php')# library(knitr)# can refer this page# http://codex.wordpress.org/XML-RPC_wp#Rwordpress has a one to one mapping getCategories()#get a list of pagesgetPageList()# pick one id from above list id=27getPage(pageid = id)# description seems to have all the text of post, even though the # document is sparsegetPage(pageid = id)$description#similarly for postsgetPost(postid = 6)$description

I am of course using a locally installed blog, but I'd reckon this should work remotely.