mirror of
https://github.com/friendica/friendica
synced 2024-12-29 16:42:18 +00:00
26 lines
656 B
PHP
26 lines
656 B
PHP
<?php
|
|
|
|
use Friendica\App;
|
|
use Friendica\Core\System;
|
|
|
|
function rsd_xml_content(App $a)
|
|
{
|
|
header ("Content-Type: text/xml");
|
|
echo '<?xml version="1.0" encoding="UTF-8"?>
|
|
<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="'.System::baseUrl().'/api/" blogID="">
|
|
<settings>
|
|
<docs>http://status.net/wiki/TwitterCompatibleAPI</docs>
|
|
<setting name="OAuth">false</setting>
|
|
</settings>
|
|
</api>
|
|
</apis>
|
|
</service>
|
|
</rsd>';
|
|
|
|
killme();
|
|
}
|