예제 #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()