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