Ejemplo n.º 1
0
    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()
Ejemplo n.º 2
0
    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()
Ejemplo n.º 3
0
    def fetchAll(self):
        print "fetching Updates..."
        fm.updateAll()

        print "Calculating priority Scores"
        self.parent.setNewItemScores()
Ejemplo n.º 4
0
    def fetchAll(self):
        print "fetching Updates..."
        fm.updateAll()

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