diff --git a/app/models/xmlrpc/moveable_type_api.rb b/app/models/xmlrpc/moveable_type_api.rb
index <HASH>..<HASH> 100644
--- a/app/models/xmlrpc/moveable_type_api.rb
+++ b/app/models/xmlrpc/moveable_type_api.rb
@@ -83,15 +83,13 @@ class MoveableTypeApi
     tb
   end
 
-  # I'm not sure if anything even needs to be done here 
-  # since we're not generating static html.
-  # Maybe we could empty the cache to regenerate the article?
   def publishPost(postid, username, password)
     raise "Invalid login" unless valid_login?(username, password)
-    true
+    article = Article.find(postid)
+    article.published = 1
+    article.save    
   end
 
-
   private
 
   def valid_login?(user,pass)
added support for publishPost MT api call. This will fix issues with w.blogar. closing #<I>. (Vince Hodges)

git-svn-id: <URL>