]> git.mxchange.org Git - friendica.git/blob - mod/rsd_xml.php
Bugfix: The user id wasn't fetched correctly.
[friendica.git] / mod / rsd_xml.php
1 <?php
2
3
4
5 function rsd_xml_content(&$a) {
6         header ("Content-Type: text/xml");
7         echo '<?xml version="1.0" encoding="UTF-8"?>
8  <rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd">
9    <service>
10      <engineName>Friendica</engineName>
11      <engineLink>http://friendica.com/</engineLink>
12      <apis>
13        <api name="Twitter" preferred="true" apiLink="'.$a->get_baseurl().'/api/" blogID="">
14          <settings>
15            <docs>http://status.net/wiki/TwitterCompatibleAPI</docs>
16            <setting name="OAuth">false</setting>
17          </settings>
18        </api>
19      </apis>
20    </service>
21  </rsd>
22         ';
23 die();
24 }