]> git.mxchange.org Git - friendica.git/blob - mod/opensearch.php
Merge branch 'develop' of github.com:friendica/friendica into rewrites/coding-convent...
[friendica.git] / mod / opensearch.php
1 <?php
2
3 use Friendica\App;
4
5 function opensearch_content(App $a) {
6
7         $tpl = get_markup_template('opensearch.tpl');
8
9         header("Content-type: application/opensearchdescription+xml");
10
11         $o = replace_macros($tpl, array(
12                 '$baseurl' => App::get_baseurl(),
13                 '$nodename' => $a->get_hostname(),
14         ));
15
16         echo $o;
17
18         killme();
19 }