recreate the content with the link ids instead of the page titles