Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
Add comment support to wordpress plugin. I have made initial code changes implementing this functionality without caching. I will submit a patch after I have implemented caching to this mechanism. The following code will work in the meanwhile for anyone who is interesting in leveraging comments.
def getCommentsForPost(String postId) {
def serverProxy = new XMLRPCServerProxy(url, true)
def struct = [postId: postId, status: 'approve']
def comments = serverProxy."wp.getComments"(blogId, username, password, struct)
}