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

def textRouter::TextRouter::on_menuManilaSetHPFromOPML_select (   self,
  event 
)

Set's the current homepage content direct from an OPML file.

Definition at line 806 of file textRouter.py.

00806                                                       :
        """Set's the current homepage content direct from an OPML file."""
        if not self.checkManilaAccounts(3):
            return

        curManilaAccount = self.theManilaAccounts[self.theCurrentManilaAccount]

        if curManilaAccount.prefs["weblogOPML"] == "":
            self.status("You haven't defined an OPML file for this Manila account yet.")
            return

        self.showWaitMsg("Uploading OPML file to homepage...")


        #print self.manilaPrefs["autoRender"]
        curManilaAccount.manilaSetHPFromOutline(curManilaAccount.prefs["weblogOPML"])

        if curManilaAccount.anErrorOccured():
            self.status(curManilaAccount.getErrorMessage())
        else:
            self.status("Manila homepage '%s' successfully updated." % \
                        curManilaAccount.prefs["siteurl"])


    def on_menuManilaGetStoryList_select(self, event):


Generated by  Doxygen 1.6.0   Back to index