コード例 #1
0
ファイル: ui.py プロジェクト: onenonlycasper/feedIO
    def fetchAll(self):
        self.status = "fetching Updates..."
        self.sendNotification()
        fm.updateAll()

        #assign the newly fetched articles to the topics
        newList = fm.listNew()
        classifier.assignItemsToTopics(newList)
        print "Assigned the new articles to topics"
        #calculate the priority scores of the new articles for each topic.
        self.setNewItemScores()

        self.status = "All feeds updated."
        print self.status
        self.sendNotification()
コード例 #2
0
ファイル: ui.py プロジェクト: vagner4work/feedIO
    def fetchAll(self):
        self.status = "fetching Updates..."
        self.sendNotification()
        fm.updateAll()

        #assign the newly fetched articles to the topics
        newList = fm.listNew()
        classifier.assignItemsToTopics(newList)
        print "Assigned the new articles to topics"
        #calculate the priority scores of the new articles for each topic.
        self.setNewItemScores()

        self.status = "All feeds updated."
        print self.status
        self.sendNotification()
コード例 #3
0
ファイル: ui.py プロジェクト: onenonlycasper/feedIO
    def fetchAll(self):
        print "fetching Updates..."
        fm.updateAll()

        print "Calculating priority Scores"
        self.parent.setNewItemScores()
コード例 #4
0
ファイル: ui.py プロジェクト: vagner4work/feedIO
    def fetchAll(self):
        print "fetching Updates..."
        fm.updateAll()

        print "Calculating priority Scores"
        self.parent.setNewItemScores()