#NEWLINE# @ events . on ( 'timer' , seconds = 60 ) #NEWLINE# def parse_feeds( self , message_channel = True ) : #NEWLINE# #INDENT# '\n        Iterates through each of the feed URLs, parses their items, and\n        sends any items to the channel that have not been previously\n        been parsed.\n        ' #NEWLINE# if parse : #NEWLINE# #INDENT# for feed_url in self . feeds : #NEWLINE# #INDENT# feed = parse ( feed_url ) #NEWLINE# for item in feed . entries : #NEWLINE# #INDENT# if ( item [ 'id' ] not in self . feed_items ) : #NEWLINE# #INDENT# self . feed_items . add ( item [ 'id' ] ) #NEWLINE# if message_channel : #NEWLINE# #INDENT# message = self . format_item_message ( feed , item ) #NEWLINE# self . message_channel ( message ) #NEWLINE# return