'Set appropriate tag names and regexes of tags to remove
from the HTML'

def __init__(self, config):

    self.config = config
    self.parser = self.config.get_parser()
    self.remove_nodes_re = '^side$|combx|retweet|mediaarticlerelated|menucontainer|navbar|storytopbar-bucket|utility-bar|inline-share-tools|comment|PopularQuestions|contact|foot|footer|Footer|footnote|cnn_strycaptiontxt|cnn_html_slideshow|cnn_strylftcntnt|links|meta$|shoutbox|sponsor|tags|socialnetworking|socialNetworking|cnnStryHghLght|cnn_stryspcvbx|^inset$|pagetools|post-attributes|welcome_form|contentTools2|the_answers|communitypromo|runaroundLeft|subscribe|vcard|articleheadings|date|^print$|popup|author-dropdown|tools|socialtools|byline|konafilter|KonaFilter|breadcrumbs|^fn$|wp-caption-text|legende|ajoutVideo|timestamp|js_replies'
    self.regexp_namespace = 'http://exslt.org/regular-expressions'
    self.nauthy_ids_re = ("//*[re:test(@id,    '%s',    'i')]" % self.remove_nodes_re)
    self.nauthy_classes_re = ("//*[re:test(@class,    '%s',    'i')]" % self.remove_nodes_re)
    self.nauthy_names_re = ("//*[re:test(@name,    '%s',    'i')]" % self.remove_nodes_re)
    self.div_to_p_re = '<(a|blockquote|dl|div|img|ol|p|pre|table|ul)'
    self.caption_re = '^caption$'
    self.google_re = '    google    '
    self.entries_re = '^[^entry-]more.*$'
    self.facebook_re = '[^-]facebook'
    self.facebook_braodcasting_re = 'facebook-broadcasting'
    self.twitter_re = '[^-]twitter'
    self.tablines_replacements = ReplaceSequence().create('\n', '\n\n').append(' DCTB ').append('^\\s+$')
