#NEWLINE# def register_feed_config( self , name , url = '' ) : #NEWLINE# #INDENT# self . registryValue ( 'feeds' ) . add ( name ) #NEWLINE# group = self . registryValue ( 'feeds' , value = False ) #NEWLINE# conf . registerGlobalValue ( group , name , registry . String ( url , '' ) ) #NEWLINE# feed_group = conf . registerGroup ( group , url ) #NEWLINE# conf . registerChannelValue ( feed_group , 'format' , registry . String ( '' , _ ( 'Feed-specific format. Defaults to\n                supybot.plugins.RSS.format if empty.' ) ) ) #NEWLINE# conf . registerChannelValue ( feed_group , 'announceFormat' , registry . String ( '' , _ ( 'Feed-specific announce format.\n                Defaults to supybot.plugins.RSS.announceFormat if empty.' ) ) ) #NEWLINE# conf . registerGlobalValue ( feed_group , 'waitPeriod' , registry . NonNegativeInteger ( 0 , _ ( 'If set to a non-zero\n                value, overrides supybot.plugins.RSS.waitPeriod for this\n                particular feed.' ) ) )