| java.lang.Object org.apache.roller.webservices.xmlrpc.BaseAPIHandler org.apache.roller.webservices.xmlrpc.BloggerAPIHandler org.apache.roller.webservices.xmlrpc.MetaWeblogAPIHandler
MetaWeblogAPIHandler | public class MetaWeblogAPIHandler extends BloggerAPIHandler (Code) | | Roller XML-RPC Handler for the MetaWeblog API.
MetaWeblog API spec can be found at http://www.xmlrpc.com/metaWeblogApi
author: David M Johnson |
Method Summary | |
public boolean | editPost(String postid, String userid, String password, Hashtable struct, int publish) Edits a given post. | public boolean | editPost(String postid, String userid, String password, Hashtable struct, boolean publish) | public Object | getCategories(String blogid, String userid, String password) | public Object | getPost(String postid, String userid, String password) | public Object | getRecentPosts(String blogid, String userid, String password, int numposts) | public Object | newMediaObject(String blogid, String userid, String password, Hashtable struct) Allows user to post a binary object, a file, to Roller. | public String | newPost(String blogid, String userid, String password, Hashtable struct, int publish) Makes a new post to a designated blog. | public String | newPost(String blogid, String userid, String password, Hashtable struct, boolean publish) |
serialVersionUID | final static long serialVersionUID(Code) | | |
MetaWeblogAPIHandler | public MetaWeblogAPIHandler()(Code) | | |
editPost | public boolean editPost(String postid, String userid, String password, Hashtable struct, int publish) throws Exception(Code) | | Edits a given post. Optionally, will publish the blog after making the edit
Parameters: postid - Unique identifier of the post to be changed Parameters: userid - Login for a MetaWeblog user who has permission to post to the blog Parameters: password - Password for said username Parameters: struct - Contents of the post Parameters: publish - If true, the blog will be published immediately after the post is made throws: org.apache.xmlrpc.XmlRpcException - |
getCategories | public Object getCategories(String blogid, String userid, String password) throws Exception(Code) | | Authenticates a user and returns the categories available in the website
Parameters: blogid - Dummy Value for Roller Parameters: userid - Login for a MetaWeblog user who has permission to post to the blog Parameters: password - Password for said username throws: Exception - |
getRecentPosts | public Object getRecentPosts(String blogid, String userid, String password, int numposts) throws Exception(Code) | | Get a list of recent posts for a category
Parameters: blogid - Unique identifier of the blog the post will be added to Parameters: userid - Login for a Blogger user who has permission to post to the blog Parameters: password - Password for said username Parameters: numposts - Number of Posts to Retrieve throws: XmlRpcException - |
newMediaObject | public Object newMediaObject(String blogid, String userid, String password, Hashtable struct) throws Exception(Code) | | Allows user to post a binary object, a file, to Roller. If the file is
allowed by the RollerConfig file-upload settings, then the file will be
placed in the user's upload diretory.
|
newPost | public String newPost(String blogid, String userid, String password, Hashtable struct, int publish) throws Exception(Code) | | Makes a new post to a designated blog. Optionally, will publish the blog after making the post
Parameters: blogid - Unique identifier of the blog the post will be added to Parameters: userid - Login for a MetaWeblog user who has permission to post to the blog Parameters: password - Password for said username Parameters: struct - Contents of the post Parameters: publish - If true, the blog will be published immediately after the post is made throws: org.apache.xmlrpc.XmlRpcException - |
Fields inherited from org.apache.roller.webservices.xmlrpc.BloggerAPIHandler | final static long serialVersionUID(Code)(Java Doc)
|
Methods inherited from org.apache.roller.webservices.xmlrpc.BloggerAPIHandler | public boolean deletePost(String appkey, String postid, String userid, String password, boolean publish) throws Exception(Code)(Java Doc) public boolean editPost(String appkey, String postid, String userid, String password, String content, boolean publish) throws Exception(Code)(Java Doc) public Object getRecentPosts(String appkey, String blogid, String userid, String password, int numposts) throws Exception(Code)(Java Doc) public String getTemplate(String appkey, String blogid, String userid, String password, String templateType) throws Exception(Code)(Java Doc) public Object getUserInfo(String appkey, String userid, String password) throws Exception(Code)(Java Doc) public Object getUsersBlogs(String appkey, String userid, String password) throws Exception(Code)(Java Doc) public String newPost(String appkey, String blogid, String userid, String password, String content, boolean publish) throws Exception(Code)(Java Doc) public boolean setTemplate(String appkey, String blogid, String userid, String password, String templateData, String templateType) throws Exception(Code)(Java Doc)
|
|
|