save the pathname and referenceId in href of headline