projects
/
tweeper.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Return a DOMElement instead of a string in Tweeper::generateEnclosure()
[tweeper.git]
/
tweeper.php
diff --git
a/tweeper.php
b/tweeper.php
index
d84094e
..
579aae1
100644
(file)
--- a/
tweeper.php
+++ b/
tweeper.php
@@
-156,9
+156,7
@@
class Tweeper {
$enc->setAttribute('length', $url_info['download_content_length']);
$enc->setAttribute('type', $url_info['content_type']);
$enc->setAttribute('length', $url_info['download_content_length']);
$enc->setAttribute('type', $url_info['content_type']);
- $dom->appendChild($enc);
-
- return $dom->saveXML($enc);
+ return $enc;
}
/**
}
/**