Download the latest release of JoeBlogs from Codeplex
(Click the Downloads tab, and select the latest download)
Unzip the contents of the downloaded zip file.
(I usually copy DLLs I am going to use into a “lib” folder at the root of my solution)
Add a reference to BOTH CookComputing.XmlRpcV2.dll AND JoeBlogs.dll
Include AlexJamesBrown.JoeBlogs in your class, with using / Imports:
Instantiate a new Wrapper object.
So far, the available wrappers are:
WordPressWrapper wrapper = new WordPressWrapper(Url, Username, Password);
Dim wrapper As New WordPressWrapper(Url, Username, Password)
Please note –
The above example has the Url, Username and Password strings omitted. Simply replace them with the relevant information.
You can now take full advantage of all the methods on your instantiated wrapper.
string Url = "www.alexjamesbrown.com";
string User = "MyUser"; //enter your username
string Password = "MyPassword"; //enter your password
var wp = new WordPressWrapper(Url, User, Password);
//a few test functions...
var userBlogs = wp.GetUserBlogs();
var tags = wp.GetTags();
var categories = wp.GetCategories();
var authors = wp.GetAuthors();