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

def bloggeraccount::BloggerAccount::bloggerFetchPreviousPosts (   self,
  number = 10 
)

Fetchs a list of previous posts from the Blogger server.

Definition at line 138 of file bloggeraccount.py.

00138                                                     :
        """Fetchs a list of previous posts from the Blogger server."""
        boolTrue = xmlrpclib.Boolean(1)
        
        if (not self.checkSetupOK()):
            return 0

        try:
            self.blogs[self.prefs["activeBlog"]-1]["previousPosts"] = \
                   self.bloggerSite.blogger.getRecentPosts(self.settings["appkey"], \
                                                           self.blogs[self.prefs["activeBlog"]-1]["blogid"],\
                                                           self.prefs["username"], \
                                                           self.getPassword(), \
                                                           number)
            self.setErrorMessage("")
        except xmlrpclib.Fault, e:
            self.setErrorMessage("Error downloading previous posts: %s" % e.faultString)
            return 0

        return 1


    def bloggerGetTemplate(self, type = "main"):


Generated by  Doxygen 1.6.0   Back to index