mirror of
https://github.com/friendica/friendica
synced 2024-11-14 06:22:54 +00:00
20043914e6
- Add `use Friendica\App;` wherever needed
25 lines
No EOL
629 B
PHP
25 lines
No EOL
629 B
PHP
<?php
|
|
|
|
use Friendica\App;
|
|
|
|
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="'.App::get_baseurl().'/api/" blogID="">
|
|
<settings>
|
|
<docs>http://status.net/wiki/TwitterCompatibleAPI</docs>
|
|
<setting name="OAuth">false</setting>
|
|
</settings>
|
|
</api>
|
|
</apis>
|
|
</service>
|
|
</rsd>';
|
|
|
|
killme();
|
|
} |