Added sql join etc.. to set <link> and <dsq:thread_identifier> to bricolage_template instead of nid. Fix Latin-1 UTF-8 encoding issues in comment_body. An old export of content/databse/cms has Latin-1 encoded caracters, newer content is all UTF-8, they are mixed. add encoding: UTF-8 to files to stop errors of the gsub utf-8 substitution. clean up regex for bbcode removal/substitution