function _oembedprovider_formats_xml in oEmbed 8
Same name and namespace in other branches
- 6.0 oembedprovider.inc \_oembedprovider_formats_xml()
- 7 modules/oembedprovider/oembedprovider.inc \_oembedprovider_formats_xml()
- 7.0 oembedprovider/oembedprovider.inc \_oembedprovider_formats_xml()
XML formatter
1 string reference to '_oembedprovider_formats_xml'
- oembedprovider_formats in modules/
oembedprovider/ oembedprovider.inc - Returns all the registered response formats
File
- modules/
oembedprovider/ oembedprovider.inc, line 152 - Functions for the oEmbed provider
Code
function _oembedprovider_formats_xml($page_callback_result) {
$output = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
$output .= "<oembed>\n";
$output .= format_xml_elements($page_callback_result);
$output .= "</oembed>";
return $output;
}