add the functions of parsing the emotions and links