Visual Basic example program using the Tortuga Movable Type ActiveX Component to remove an assigned category from an existing post.
The Tortuga Beta ActiveX can be downloaded from
Tortuga ActiveX
The download contains an ActiveX DLL that needs to be registered using regsvr32.exe. You may then import the "Tortuga ActiveX" into your VB project.
The DLL contains objects for RSS, Atom, Blogger 2.0, Blogger 1.0, MetaWeblog, Technorati, Yahoo! Site Explorer, and Web Search.
Tortuga Components Home
' Use the Blogger 1.0 API to get the Blog ID
Dim b1 As New Blogger1
b1.Login = "admin"
b1.Password = "****"
b1.ServiceUrl = "http://www.ablog.com/blog/xmlrpc.php"
b1.GetUsersBlogs
blogId = b1.GetBlogId(0)
Dim mt As New MovableType
mt.Login = "admin"
mt.Password = "****"
mt.ServiceUrl = "http://www.ablog.com/blog/xmlrpc.php"
' Get the categories assigned to a specific post.
postId = "4"
mt.GetPostCategories postId
' Assume the "movies" category is known to be assigned to this post.
' Unassign the category.
mt.RemovePostCatByName "movies"
' Now update the server with the new categories.
mt.UpdatePostCategories postId