]> git.mxchange.org Git - friendica.git/blob - mod/rsd_xml.php
Don't show the local community page on single user instances
[friendica.git] / mod / rsd_xml.php
1 <?php
2
3 use Friendica\App;
4 use Friendica\Core\System;
5
6 function rsd_xml_content(App $a)
7 {
8         header ("Content-Type: text/xml");
9         echo '<?xml version="1.0" encoding="UTF-8"?>
10 <rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd">
11   <service>
12     <engineName>Friendica</engineName>
13     <engineLink>http://friendica.com/</engineLink>
14     <apis>
15       <api name="Twitter" preferred="true" apiLink="'.System::baseUrl().'/api/" blogID="">
16         <settings>
17           <docs>http://status.net/wiki/TwitterCompatibleAPI</docs>
18           <setting name="OAuth">false</setting>
19         </settings>
20       </api>
21     </apis>
22   </service>
23 </rsd>';
24
25         killme();
26 }