4 use Friendica\Core\Renderer;
5 use Friendica\Core\System;
7 function opensearch_content(App $a) {
9 $tpl = Renderer::getMarkupTemplate('opensearch.tpl');
11 header("Content-type: application/opensearchdescription+xml");
13 $o = Renderer::replaceMacros($tpl, [
14 '$baseurl' => System::baseUrl(),
15 '$nodename' => $a->getHostName(),