Logo Search packages:      
Sourcecode: pythoncard version File versions  Download package

def bloggeraccount::BloggerAccount::bloggerUpdatePost (   self,
  content 
)

Updates a post with the content given.

Definition at line 247 of file bloggeraccount.py.

00247                                         :
        """Updates a post with the content given."""
        boolTrue = xmlrpclib.Boolean(1)

        if (not self.checkSetupOK()):
            return 0

        try:
            self.bloggerSite.blogger.editPost(self.settings["appkey"], \
                                              self.currentPostId, \
                                              self.prefs["username"], \
                                              self.getPassword(), \
                                              content, \
                                              boolTrue)
            self.setErrorMessage("")
        except xmlrpclib.Fault, e:
            self.setErrorMessage("Error updating post: %s" % e.faultString)
            return 0

        return 1
        

    def setPrefs(self, rpcserver="", username="", password="", weblogsPing=""):


Generated by  Doxygen 1.6.0   Back to index