DOMDocument() is the more used form, it is also already used in some
other parts of the file.
- $dom = new DomDocument();
+ $dom = new DOMDocument();
$enc = $dom->createElement('enclosure');
$enc->setAttribute('url', $url_info['url']);
$enc->setAttribute('length', $url_info['download_content_length']);
$enc = $dom->createElement('enclosure');
$enc->setAttribute('url', $url_info['url']);
$enc->setAttribute('length', $url_info['download_content_length']);