If permalink isn't define use link

Some RSS doesn't have permalink node ...
Use a custom DOMDocument class to avoid bad entity