How to implement the getCategories() method for Meta Weblog API.
The Meta Weblog API states that getCategories() must return a struct
which contains a sub-struct for each category. The following piece of
codes which I write doesn't seem to work with Live Writer, i.e. Live
Writer doesn't display any category.
public struct Category
public string Description;
public string HtmlUrl;
public string RssUrl;
public XmlRpcStruct GetCategories(string blogid, string username, string
Category cat = new Category();
cat.Description = "General";
cat.HtmlUrl = "http://localhost:8080/";
cat.RssUrl = "http://localhost:8080/rss.html
XmlRpcStruct res = new XmlRpcStruct();
Can anybody here show me what I did wrong with the above piece of codes?
[Non-text portions of this message have been removed]