Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 line
297B

  1. <?php
  2. function opensearch_content(App $a) {
  3. $tpl = get_markup_template('opensearch.tpl');
  4. header("Content-type: application/opensearchdescription+xml");
  5. $o = replace_macros($tpl, array(
  6. '$baseurl' => App::get_baseurl(),
  7. '$nodename' => $a->get_hostname(),
  8. ));
  9. echo $o;
  10. killme();
  11. }