2011-02-16 02:56:29 -05:00
|
|
|
<?php
|
|
|
|
|
2016-02-07 09:11:34 -05:00
|
|
|
|
2017-04-30 00:01:26 -04:00
|
|
|
function rsd_xml_content(App $a)
|
|
|
|
{
|
2011-02-16 02:56:29 -05:00
|
|
|
header ("Content-Type: text/xml");
|
|
|
|
echo '<?xml version="1.0" encoding="UTF-8"?>
|
2017-04-30 00:01:26 -04:00
|
|
|
<rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd">
|
|
|
|
<service>
|
|
|
|
<engineName>Friendica</engineName>
|
|
|
|
<engineLink>http://friendica.com/</engineLink>
|
|
|
|
<apis>
|
|
|
|
<api name="Twitter" preferred="true" apiLink="'.App::get_baseurl().'/api/" blogID="">
|
|
|
|
<settings>
|
|
|
|
<docs>http://status.net/wiki/TwitterCompatibleAPI</docs>
|
|
|
|
<setting name="OAuth">false</setting>
|
|
|
|
</settings>
|
|
|
|
</api>
|
|
|
|
</apis>
|
|
|
|
</service>
|
|
|
|
</rsd>';
|
|
|
|
|
|
|
|
killme();
|
2016-02-07 09:11:34 -05:00
|
|
|
}
|