def METHOD_NAME(self, config):
    super().METHOD_NAME(config)
    FeedgenExtension.activated = bool(
        config.get('feedgen_activate', False))
    FeedgenExtension.base_url = config.get('feedgen_base_url')