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

def lekhoneeblog::Wordpress::Wordpress::post (   self,
  content,
  publish 
)

Post the content

Definition at line 19 of file Wordpress.py.

00019                                     :
        """Post the content"""
        postid = self.server.metaWeblog.newPost(1, self.username, self.password, content, publish)
        if publish:
            res = "The blog is updated with postid " + str(postid)
        else:
            res = "New draft saved with postid " + str(postid)
        return res

    def edit(self, postid, content, publish):


Generated by  Doxygen 1.6.0   Back to index