DOMDocument module working to add links